← All projects / The Pinwheel and the Walls
In The Prime Projections a square is green when its product is already in a smaller times table and orange when it is new. One small shape keeps turning up in it: a 5 by 5 green pinwheel with a clean orange border all round. It comes in two mirror-image hands, it appears hundreds of times, and it never once crosses the line two-thirds of the way along the ring. This page shows where it lives, proves why it can't cross, and shows that dozens of other shapes hit walls the same way.
The pinwheel turns into itself after a quarter turn, so flipping it left to right gives a genuinely different shape: the arms sweep the other way. Call them one way and mirrored. Below, each pattern with its border, and a real perfect copy of each, worked out square by square in your browser.
| Copies found | One way | Mirrored |
|---|
Fold the times table into a pyramid: the apex is ring 0, and each copy is drawn at its real ring and square, mirrored on both sides. Then the slope of any line from the apex is its angle, and the fan lines (m − 1)/m of the way along the ring become rays at arctan(m/(m − 1)) from the horizontal: 1/2 at 63.43°, 2/3 at 56.31°, 3/4 at 53.13°, and on down towards the 45° sides. Gold dots are perfect pinwheels. Orange dots are copies with one shape square wrong and a perfect border.
Past the 2/3 line the orange copies carry on happily, right out to the half-way edge at 63.4°. The gold ones stop. Is that the shape, or the border? A second search on the processor counted every copy with the exact pinwheel shape and any border, rings 1 to …:
| Border squares right | Exact-shape copies | Past the 2/3 line | Furthest angle |
|---|
With 19 or more of the 24 border squares right, not one copy is past the line. With 18 or fewer, thousands are. The cut is exact, and it is forced.
proof
The proof uses nothing special about the pinwheel, so a program can run it for any shape. Past the fan line (m − 1)/m, every pair a, c with c/a at least (m − 1)/m is a sure rule: a ring divisible by a is green on every square divisible by c. The program tries every way the multiples of each a and c up to 10 can fall across the shape and its border, and asks whether any way leaves the shape intact with a clean border. If none does, no perfect copy can lie past that line. It did this for all 100 painted glyphs at 5 by 5 and 7 by 7, in both colour ways, and for the pinwheel. Then every proven wall was checked against the copies the search actually found.
| Shape | Proven wall: no perfect copy past | Perfect copies found | Furthest found |
|---|
Pick any glyph colouring that has a perfect copy. The map is the right half of the pyramid: the shaded wedge is past its proven wall, where no perfect copy can ever be, and the gold dots are where its perfect copies really are (up to 120 shown).
The hands come in about equal numbers and sit at the same angles. Nothing about the order they come in, or their nearest neighbours, tells them apart. One thing does lean: where a ring and a square divisible by 7 cross the pinwheel. Each map counts the exact-shape copies (perfect or one border square off) by which row the 7-ring takes and which column the 7-square takes.
counting
Shape plus border is 7 rings tall and 7 squares wide, so exactly one ring and one square in it are divisible by 7. Those lines are green-rich at these angles, so they almost never fit on a clean orange border: Kept off the border, the 7s have to cross inside. This one is a strong tendency, not a proof.
open
When the 7-ring takes a sparse row, the 7-square tends to take an outer column that crosses that row at an orange gap, and which column that is flips with the hand. Squares divisible by 7 both ways are greener than average, so a crossing at a gap is the opposite of what you would guess. Take the ring minus twice the square and divide by 7; the remainder shifts the odds of a mirrored copy:
| Remainder | Exact shape: mirrored | Shape 1 off: mirrored |
|---|
not true
The first perfect pinwheel sits at 51.80°, and by ring 1,000,000, 7 of the 17 perfect ones were within 0.7° of it. With more copies the bunching faded: the perfect ones spread fairly evenly from 48° to 56°, like the exact-shape copies with one border square off. The early cluster was a small sample.
not true
Perfect copies are no more likely than chance to sit near a ray from the apex at a simple fraction. Their structure is a repeating lattice, fixed remainders of ring and square, and the one-sided walls.