← All projects / The Tilt From Outside
On The Seesaw every number gets a tilt, and the picture of all the tilts looks like slanted bands. The bands are a flat view of something with two directions. A number's tilt is its right half against its left half. Put one across and the other up, and every number is a point in a square.
Type any whole number, or pick one. The four steps below are the whole machine.
exact
exact
Reading a string of 1s and 0s in base 3 keeps the order: a bigger binary number always gives a bigger reading. So to know which way a number tips, compare the two halves from step 2 as ordinary numbers. The bigger one goes down.
Now do it for every number of a given size at once. Across is the left half. Up is the right half, turned round. Each little square is one number. Move over it to read a number off, or click to send it to the steps above.
tips righttips leftbalanced: the dark diagonal
exact
On the diagonal the left half and the turned-round right half are the same. That's a string that reads the same forwards and backwards, and those are exactly the numbers that balance.
exact
Above the line the right half is the bigger of the two, so the right side goes down. The whole picture is one straight cut.
counted
try it
Untick "turn the right half round". The one clean diagonal breaks into a comb of bars of different lengths. Every row still has its own cut, but the cuts are shuffled, because the last bit of a number carries the most weight on the seesaw and the least in ordinary counting. Turning the half round puts the heavy bit where a big number has it.
The same numbers the way the seesaw page draws them: across is the number, up is its tilt. The marked number is the one from the steps above.
exact
Count upwards and the left half creeps up slowly, one step for every full run of the right half. A bigger left half pulls the tilt down, so the blocks step downhill from left to right.
exact
The last bit of a number sits furthest out on the right arm, where the place is biggest. An odd number has that bit on, which lifts it a whole band above the even number next to it.
exact
In the square, the left half and the right half each get their own direction. Drawn flat, both are squashed onto one line, and the right half's fast jumps show up as the speckle inside each block.
exact
A prime past 2 is odd, so its last bit is on. Turned round, that bit leads the right half, which puts every prime in the top half of the square. Tick "show the primes" to see it.
exact
counted
try it
Untick the turn, then tick the multiples of 3, 5 and 7 with the primes showing. The tilt colours step aside so the lines stand out. Each one is a set of slanted lines at its own angle. The primes sit only in the gaps that all the lines leave. That's the old sieve, drawn in two directions. It shows where primes can't be, and it doesn't say which gaps they take.