The King That Doesn't Spiral
Glue a chessboard's edges into a Klein bottle and a queen's diagonal changes direction across the twisted seam. Its path closes, and the companion study counts queens exactly for this gluing. A king reaches only one square in each direction, so his attacks follow directly from the gluing. Place some below. Then meet two counting sequences the encyclopedia never held, and the surprise that on 4×4 boards, the torus and the Klein bottle have equal placement counts for zero to three kings, then differ at four.
Klein bottle 4×4 — tap a square to place a king.
Faded copies around the board are the same board, re-glued. A Klein seam flips the top/bottom copies left-to-right. Select a king and its attacked squares light up — watch them re-enter through the seam.
One square, no convention
Numbering rows 0…n−1 top to bottom and columns 0…n−1 left to right, the four boards differ only in what is glued to what:
- Flat — nothing glued. The ordinary board; a king near an edge simply has fewer neighbours.
- Torus — left↔right and top↔bottom glued straight. Every king has all eight neighbours; the board is edgeless.
- Möbius — only left↔right glued, with a half-twist: the square just right of (i, n−1) is (n−1−i, 0). Top and bottom stay open edges.
- Klein bottle — left↔right glued straight, top↔bottom glued with a horizontal flip: the square just below (n−1, j) is (0, n−1−j). The non-orientable sibling of the torus.
The companion study counts queens on the same four glued boards. On its 8×8 Klein board, the southeast diagonal from (0, 0) returns after 16 steps, visiting 16 of 64 squares including its start; the corresponding torus diagonal returns after 8 steps. A queen's reach depends on its square: at (0, 3) on the 7×7 Klein board it attacks 24 of the 48 other squares.
Harris (2019, §2.5) defines Klein-bottle bishop diagonals, supplying the diagonal part of a queen's moves. His straight and reversed edge pairs are exchanged relative to this page; rotating the square board relates the two gluings. The companion's queen counts are exact for its stated gluing.
This page quoted the earlier kings proposal as “the clean way to extend the family to the Klein bottle is with kings.” The explanation accompanying that proposal was corrected on the companion page on 2026-10-14. Kings extend the family with one-square moves whose attacks follow directly from the gluing.
A family the catalogue only half holds
A “non-attacking king placement” is just a set of squares with no two of them king-adjacent — an independent set in the board's king graph. Counting those on grids is careful, classical work, and the On-Line Encyclopedia of Integer Sequences holds the two orientable boards of this family. It does not hold the two twisted ones:
| total king placements | Flat | Torus | Möbius | Klein |
|---|---|---|---|---|
| in OEIS? | A063443 | A067958 | — new — | — new — |
Every cell was recomputed live in the panel above as you changed the board. The two “new” cells returned no results on OEIS (searched 2026‑07‑12, two term-windows each). The offline verifier checks the counter against both catalogued siblings, flat kings (A063443) and toroidal kings (A067958), as calibration for the non-orientable sequences.
Calibration siblings, reproduced not claimed: flat = A063443 (2, 5, 35, 314, 6427, 202841, …), torus = A067958 (1, 5, 10, 133, 1411, 42938, …); this page uses 2 for n=1 because a king does not attack itself.
The twin the torus hides
Set the board to Klein bottle and read the non-attacking pairs number. Now switch to Torus at the same n. It doesn't change. That is not a coincidence: both boards make the king graph 8-regular — every square has all eight neighbours — so both have exactly 4n² attacking pairs, and therefore the same number of non-attacking pairs. Two different surfaces, the same count.
So look at the total placements instead. For n = 1, 2, 3 the torus and the Klein bottle agree there too — 2, 5, 10, identical. The first board on which they finally disagree is n = 4: the torus admits 133 placements, the Klein bottle only 129. And the gap is not spread out — the two surfaces admit exactly the same number of placements of 0, 1, 2, and 3 kings. They differ in one place only: the densest packing, four kings, where the torus fits 12 arrangements and the Klein bottle just 8. The twist erases exactly four of the tightest packings. Here they are — every 4-king packing of the 4×4 torus, with the four the Klein bottle destroys outlined in red:
The 4×4 densest packings — torus vs Klein bottle
Each board holds 4 non-attacking kings (the maximum). Boards outlined in red are valid on the torus but become attacking once the top/bottom seam is given the Klein flip.
Push n higher and the two counts keep parting ways — but which surface wins alternates. On every even board the torus admits more placements; on every odd board the Klein bottle does (checked exactly through n = 13). The natural suspect is the flip itself: the Klein seam sends column c to column n−1−c, a map that has a fixed centre column exactly when n is odd. We state the alternation as an observed, exactly-computed pattern, not a theorem — the honest status of a fact found by counting rather than proof.
The check
The numerical gate compares two independent exact counters: a ray-tracing enumerator that DFS-walks every independent set, and a transfer matrix that sweeps the board one line at a time with a bit-reversal at each flip seam. They agree on every term for n = 1…7 on all four boards. The offline verifier checks the transfer matrix against flat A063443 (n = 1…13) and toroidal A067958 (n = 2…13), and checks recorded Möbius and Klein sequence values. The browser uses a port of the transfer matrix; for a selected flat or torus board it compares its live total with embedded terms for n = 3…9, and on a torus board it also compares the two boards' pair counts. Full gate: research/nonorientable-queens/verify-kings.mjs, 23 / 23, including that the torus king graph is 8-regular and that the n = 4 torus/Klein gap lives entirely in the 4-king packings (12 vs 8).