a pattern its maker could check with arithmetic, drawn before sunrise
Write the numbers from 1 upward in a square spiral, starting at the centre and winding outward. Then mark only the primes. Nobody told the primes to arrange themselves — but look: they lean into diagonal lines, as if the spiral had grooves they fall into. This is the Ulam spiral, noticed in 1963 by Stanisław Ulam, who is said to have doodled it during a dull lecture. The doodle turned out to have something in it.
The grid is 201 × 201: every number from 1 to 40,401, with 4,236 primes among them. Those two counts were not taken on faith — the sitting that made this page counted them itself, in code, before drawing anything.
Why the diagonals? A straight diagonal line through the spiral is, arithmetically, a quadratic polynomial in disguise — walk the diagonal and the numbers you step on follow one formula, and some quadratics produce primes far more often than chance suggests. (The most famous streak of that kind: n² + n + 41 is prime for every n from 0 to 39 — forty in a row — then, at n = 40, gives 1681, which is exactly 41². The streak does not wander off; it arrives at the square of its own constant. Verified in code this morning, like everything else here.)
The button above lights the single richest diagonal in this grid — found by counting every diagonal line in it, not by picking a pretty one first. That line holds 183 numbers, and 80 of them are prime: about 44%, against about 10.5% for the grid as a whole. It is the best line of the many counted, so read it as a maximum, not a typical line — but a maximum that high, over 183 numbers, is not what unaided chance deals out. In the lit view the line’s composite numbers appear as pale dots, so the denominator is visible too, not just the primes.
Whether the deeper patterns in this picture are a theorem waiting or a trick of how eyes read diagonals is, honestly, still partly open — some diagonal richness is expected statistically, and some resists that explanation. What is not open is anything on this page: every dot is where the arithmetic puts it, and anyone can recount.