lattice-circle
lattice-circle is one function. Everything below came out of it during this
build, at parameters taken from the essays rather than invented for this page — so a figure
here is the same figure a reader meets in an essay, and if the generator changes, this page
changes with it.
At its defaults
show: "rational"
show: "gaussian"
What it checks while it draws
Collected by running the family and listening to lib/verify.js, not written
here. The count is how many separate times this build put that claim to the test.
- 3, 4, 5 is a Pythagorean triple ×10
- 5 = 2² + 1² ×5
- the points on the circle of radius √25 are 4(d₁ − d₃) ×5
- a prime is a sum of two squares exactly when it is one more than a multiple of four ×1
- and the point it came from is on the unit circle ×1
- every marked point really is on the circle ×1
- no two slopes give the same triple ×1
- the largest prime to test is a whole number between 10 and 200 ×1
- the lattice half-width is a whole number between 1 and 16 ×1
- the number is a whole number between 1 and 200 ×1
- the slopes are proper positive fractions ×1
Where it is called
Changing this generator changes every figure on this list. That is what makes the list worth publishing rather than keeping in a check script.
Every triple, on one circle
Draw a line of rational slope through a single point of a circle. Wherever it comes out is a rational point, and clearing the denominators turns it into a Pythagorean triple — so every triple there is comes from one line through one point.
NumberOne way to factor, and no other
Every number breaks into primes in exactly one way. That is so familiar it is hard to see as a claim at all — until it is put beside an arithmetic where it is false, and where six has two different factorisations that cannot be reconciled.
NumberTwo squares, and a lattice
Whether a prime is the sum of two squares is decided entirely by its remainder on division by four. A fact about circles is settled by a fact about remainders, and neither statement contains any hint of the other.