Ok so now looking back on this, it seems that you would need to have pokemon with 1x31 along the lines of this:
1 select nature,
5 hp
10 atk
10 def
5 sp atk
1 sp def
natured 5x31
1 hp
5 atk
10 def
10 sp atk
5 sp def
1 speed
6x31
making the 63 pokemon with 1x31 you had said before, plus the required nature pokemon with 0x31, so 64 pokemon total. also needing 58 braces total costing 870k, before accounting for gender selection.
Is this right? I needed a list of what's needed before the steps lol I want to line them all up pretty before even starting :)
I'm sure the specific stats are interchangable, ex 10 sp def 1 atk instead, but for convenience's sake I matched your examples. Hope I followed it correctly tho~