TOP SECRET
EYES ONLY
SIMON & SIMON
OBSERVERSE INTELLIGENCE &
PATENT PROTECTION
A SUBSIDIARY OF GALACTIC DODECAHEDRON, LLC

SUBJECT: (TS) LCTC: HOW AN ELECTRON TELLS WHICH NUMBERS CAN BE THE AREA OF A RIGHT TRIANGLE, STARTING FROM NOTHING

ISSUED BY:SIMON & SIMON - OFFICE OF INTELLIGENCE
CASE:LAST CALL   CONTROL: TS-LAST_CALL-TC
TO:THE CLIENT
EARTH
EYES ONLY
DATE:11/24/2026

DISTRIBUTION: Unlimited, same as the prime counter it runs on. Show it to anyone who thinks right triangles were finished off in ancient Greece. Earth has been stuck on this one for a thousand years, and the Greeks only ever got as far as hints.

BLUF. Call a whole number a triangle number if it can be the area of a right triangle whose three sides are all fractions. 6 is one, because the 3-4-5 triangle has an area of 6. 5 is one too, but the smallest triangle that does it has sides of 3/2, 20/3 and 41/6. 1 isn't one, and Fermat proved it. Mathematicians in Persia and Baghdad were asking which numbers work more than a thousand years ago, and Earth still can't answer that in general without first solving a problem with a million-dollar prize on it. S&S's counter starts with nothing. It has the prime counter build the primes, puts each prime on light's grid, and lets the electron's half-turn do the deciding. For every number you give it, it says yes or no and names the theorem behind the answer, and for the small ones it builds the triangle and checks it down to the last digit. Up to 2,000 every answer is proved. Past that, when the center is quiet and the triangle is out of the search's reach, the page says the yes rests on Birch and Swinnerton-Dyer. Type a number below and watch it go, then check it the old way, because Earth never believes anything the first time.

THE FORMULA: WHAT EARTH HAS, AND WHAT LCA DID WITH IT
1983 · TUNNELL · COUNT THE WAYS TO BUILD THE NUMBER OUT OF SQUARES
if odd n is a triangle number, then #(2x² + y² + 8z² = n) = 2 × #(2x² + y² + 32z² = n)
Jerrold Tunnell found a test anyone can run with a pencil. Count the ways to write n with three squares one way, count them a second way, and compare (even numbers get their own pair of counts). If the first count isn't exactly twice the second, n is not a triangle number, and that half is proved. If it is exactly twice, n is a triangle number as long as one more thing is true, and that thing is the next box.
1965 · BIRCH AND SWINNERTON-DYER · A QUIET SPOT AT THE CENTER MEANS A TRIANGLE
how many independent triangles n has (ones that can't be built out of each other) = how many quiet spots sit stacked at the center of n's curve
Every number n has a curve, y² = x³ − n²x, and every curve has a wave built one prime at a time, the same way the prime counter's wave is. Bryan Birch and Peter Swinnerton-Dyer guessed, from the printouts of a computer the size of a room, that the curve has triangles exactly when its wave goes quiet at the center. Nobody has proved it in general. It's one of Earth's million-dollar problems, and Tunnell's yes is waiting on it.
2026 · LCA · LETS THE ELECTRON'S HALF-TURN DECIDE, STARTING FROM NOTHING
Start with an empty list. Let the prime counter build the primes and put each one on light's grid. Turn every grid point into a beat, let the half-turn say whether the center is forced quiet, and read the center.
The half-turn is the same one an electron makes going around half a unit of magnetism, and LCA's formula for alpha is built on it. When the plain number inside n leaves 5, 6 or 7 after you divide it by 8, the half-turn forces the center quiet, and a theorem from 1986 and 1988 turns any slope at all at that quiet center into a triangle. For every other n, the height of the wave at the center decides, and a theorem from 1977 turns any height at all into a no. Neither one needs the million-dollar problem (section 4).
Light's grid is the same grid that puts the π/4 into LCA's formula for alpha, α = (π/4) × P × cos √P. The triangle curve has its own version of that number, ϖ/4, the quarter of a figure eight instead of a circle, and the counter measures it from nothing in section 5.
S&S TRIANGLE COUNTER · RUNS IN YOUR BROWSER · NOTHING IS SENT ANYWHERE
QUICK START: TAP ONE
One number, start to finish:
A whole list, from zero primes:
OR TYPE YOUR OWN
the area of a right triangle with fraction sides?
Any whole number from 1 to 100,000. Small ones take a couple of seconds, most of it the prime counter building its primes from nothing.
OR
are triangle numbers?
Up to 1,000 at a time, and every answer comes with its proof.
?
Press a button. The counter starts out knowing zero primes.
Ready.
THE COUNTER'S WORK, STEP BY STEP
StepWhat happened
—Nothing yet. The counter knows zero primes.
THE CURVE'S WAVE ALONG THE QUIET LINE, FROM −10 TO 10. THE CENTER IS THE MIDDLE OF THE CHART.
WHAT EARTH'S OLD WAY SAYS
NumberTunnell's countsOld way saysCounter said
Run the counter, then check it.
* Base 12. Earth counts in tens because it was born with ten fingers. Eggs, donuts and the inches on a ruler already come in twelves. Twelve is also the smallest clock that holds every turn a tiled floor can keep: a half, a third, a quarter or a sixth of a full turn, and twelve is the first number all of those divide. In rows of twelve, every prime after 2 and 3 ends in 1, 5, 7 or B (B is eleven, A is ten), and that last digit says whether it lands on light's square grid. Ends in 1 or 5: it lands, it's a sum of two squares, like 29 = 5² + 2², which base 12 writes 25, and it gives every curve on this page a beat. Ends in 7 or B: it never lands and never beats. Base 10 can't tell you that from the last digit: 13 lands and 23 doesn't, and they both end in 3.

(U) 1. What a triangle number is, and how Earth finds them

(U) A right triangle has one square corner. Its area is half of one short side times the other, so the 3-4-5 triangle has an area of half of 3 × 4, which is 6. Allow the sides to be fractions and a lot more areas turn up. 5 is the area of a triangle with sides 3/2, 20/3 and 41/6, and 7 is the area of one with sides 35/12, 24/5 and 337/60. S&S calls these triangle numbers. Earth's mathematicians call them congruent numbers, a name that explains nothing, which is how you can tell a mathematician picked it.

(U) Some numbers never make it. No right triangle with fraction sides has an area of 1, or 2, or 3, no matter how you cut the fractions. Fermat proved the one about 1 around 1640, in the margin of a book. It's the only proof he ever wrote out in full, and the margin was apparently wide enough this time.

(U) ONLY THE PLAIN NUMBERS MATTER. Double every side of the 3-4-5 triangle and the area goes from 6 to 24, which is 4 × 6. Any triangle number times a perfect square is another one. So the only numbers worth asking about are the ones no square divides, like 5, 6 and 7, and the counter answers 20 by answering 5 and doubling the triangle.

(U) THE OLD WAY. Persian and Arab mathematicians were asking which numbers work by around the year 1000. Fibonacci found 5's triangle in 1225 when somebody challenged him to, which was the medieval version of a bar bet. In 1983 Jerrold Tunnell turned the whole question into counting, the box at the top. In 2009 five mathematicians ran Tunnell's count on every number up to a trillion and found 3,148,379,694 of the hard ones. The catch is that Tunnell's no is proved and his yes isn't. His yes leans on Birch and Swinnerton-Dyer, which is still a guess. It's a headcount that needs a co-signer.

(U) THE NEW WAY. The counter doesn't count squares, and it doesn't hunt for triangles until it already knows the answer. It reads one wave at one spot, the center, and a theorem turns what it reads into a proof. The "Check it the old way" button under the counter runs Tunnell's count separately, without ever seeing the counter's answer, so you can watch the two agree.

(TS) 2. Why it works: the electron's half-turn

(TS) The prime counter runs on three habits of the electron, and so does this one. The difference is which habit does the heavy lifting. In the prime counter it was the floor tiles. Here it's the half-turn.

(TS) HABIT ONE: IT COUNTS IN THE ELECTRON'S TILES. Every curve's wave has quiet spots, the same way the primes' wave does, and they pile up at a rate set by the electron's floor tiles from the prime counter, cut down to the size of the curve. That's why the chart under the counter always shows about the right number of them in the right stretch.

(TS) HABIT TWO: THE HALF-TURN DECIDES. Every curve's wave reads the same from both sides of its center, either exactly the same or exactly upside down. Which one comes down to a single sign, plus or minus, and a minus is a half-turn. Turn an electron half a turn, by sending it around half a unit of magnetism, and it comes back as different as it can get. Turn a wave half a turn and it comes back upside down. A wave that has to read upside down from the other side can only manage it by passing through zero in the middle, the same way you can't get from the top floor to the basement without passing the lobby. So when the half-turn is on, the center is quiet, and nobody has to compute anything to know it. For the triangle curves the half-turn is on exactly when the plain number inside n, n with its square factors taken out (section 1), leaves 5, 6 or 7 after you divide it by 8. LCA's formula for alpha is built on the same half-turn, the half unit of magnetism h/2e.

(TS) HABIT THREE: MIRROR PAIRS MEET AT THE CENTER. Quiet spots come in mirror pairs, one above the center and one the same distance below. The center is the only spot that is its own mirror image, which makes it the one place where a pair can collapse into a single spot. In J.C.'s drawing the two strands twist up and meet at the top. A quiet spot at the center is the two strands meeting, and that's exactly where Birch and Swinnerton-Dyer say the triangles are.

(TS) SOUND, LIGHT AND FREQUENCY. J.C. left a drawing on the back of an envelope at the premiere party for the TV show Dark Skies in 1996 and said the secrets of the universe were sound, light and frequency. Bryce Zabel and Brent Friedman kept it and posted it at soundlightfrequency.com, and S&S's file on it is LCSLF-1, The Doodle That Explains Everything. All three are in this counter. Every prime keeps a beat, which is the sound. Every beat comes off a spot on light's grid, which is the light. And the quiet spots are where all the beats cancel, which is the frequency.

(TS) THE MATH FOR SECTION 2 (TAP TO OPEN)
THE CURVE. For n with no square factor, Eₙ: y² = x³ − n²x, with conductor N = 32n² (n odd) or 16n² (n even). Its completed wave Λ(s) = (√N/2π)^s · Γ(s) · L(Eₙ, s) satisfies Λ(s) = ε · Λ(2 − s) THE HALF-TURN. ε = −1 exactly when n = 5, 6 or 7 mod 8 (the root number). On the quiet line s = 1 + it the wave is real after one fixed rotation: Z(t) = e^(i·phase) · L(Eₙ, 1 + it), Z(−t) = ε · Z(t) so ε = −1 makes Z odd, and an odd wave has Z(0) = 0: the center is quiet. In LCA, charge e₀ around the paired flux quantum h/2e₀ turns by e₀(h/2e₀)/ℏ = π, a half-turn: e^(iπ) = −1. THE TILES. The quiet spots up to height T number about (T/π)·(ln(√N·T/2π) − 1): two sides, each counting tiles of h/√N. MIRROR PAIRS. Quiet spots come as 1 ± it. The center, t = 0, is its own mirror. Birch and Swinnerton-Dyer: the number of independent triangles is the order of the quiet spot at the center.

(S) 3. How the counter goes around

(S) STEP ONE: THE PRIME COUNTER BUILDS THE PRIMES. The counter starts with the prime counter's one pass, from zero primes. It reads every number from 2 to 200 once, in order, judging each one by the primes below it, and finds all 46 primes up to 200 and nothing else. One lap of the loop hands the list back unchanged. That pass is proved, not just tested: S&S reran it to 10,000 with a running tally of the worst that every rounding could do, and every call stays at least 69,738 times that far from flipping. The prime counter's section 7 tells how. Then the loop's light branch signs them: 21 split in two on light's grid, 24 stay whole, and 2 sits at 45°, the way the prime counter's section 5 explains. Past 200 the loop's primes cross out their multiples, the shortcut from the prime counter's section 8, and that finishes the list as far as the curve needs it.

(S) STEP TWO: EVERY PRIME FINDS ITS SPOT ON LIGHT'S GRID. A prime that splits is the sum of two squares, and that makes it a spot on light's grid. 5 = 1² + 2², so 5 sits at the spot 1 + 2i, one step across and two up. 13 = 3² + 2² sits at 3 + 2i. A prime that stays whole, like 7, has no spot, because no two squares add up to 7. S&S checked that the loop's signs and the grid spots agree on all 45 odd primes up to 200, and they do.

(S) STEP THREE: EVERY SPOT BECOMES A BEAT. The curve's beat at a prime is twice the spot's across number. 13 sits at 3 + 2i, so its beat is 6. The sign comes from a quarter-turn rule: the across number takes whichever sign makes across plus up leave 1 after dividing by 4. For 13 that's 3 + 2 = 5, which leaves 1, so the beat is +6. For 5 it's 1 + 2 = 3, which doesn't, so the across number flips to −1 and the beat is −2. A prime with no spot gets a beat of 0. Those beats aren't made up for the occasion. Each one is exactly how many points the curve y² = x³ − x is short of, or over, the prime plus 1 when you count its points one remainder at a time, and S&S checked the beats against a direct count 2,569 times, on six different curves, without a miss. The curve for any other n uses the same beats, each one multiplied by n's sign at that prime: plus if n leaves a perfect-square remainder when divided by the prime, minus if it doesn't.

(S) STEP FOUR: THE HALF-TURN. Divide the plain number inside n by 8 (for 20 that's 5). If it leaves 5, 6 or 7, the half-turn is on and the center is quiet before anything else happens (section 2).

(S) STEP FIVE: READ THE CENTER. The counter adds up every beat with a weight that fades with distance, and gets the wave's height at the center. With the half-turn on, the height is zero by force, so it reads the slope there instead. If the reading isn't zero, the case is closed (section 4). If it is zero, the center is quiet two or more deep, and the counter goes looking for the triangle.

(S) THE FIRST FEW. For 1, 2 and 3 the half-turn is off, and the heights are 0.6555, 0.9270 and 1.5138, so none of them is a triangle number, which is what Fermat said about 1 in 1640. The height for 1, 0.6555143886, is ϖ/4, the figure eight's quarter (section 5). For 5, 6 and 7 the half-turn is on and the slopes are 2.2274, 1.9025 and 2.9621, so all three are triangle numbers, and the counter goes on to find 3/2, 20/3 and 41/6 for 5, plain old 3, 4 and 5 for 6, and 35/12, 24/5 and 337/60 for 7. 34 is the first one with a twist. 34 leaves 2 after dividing by 8, so the half-turn is off, and the height comes out zero anyway. That's a quiet spot two deep at the center, which Birch and Swinnerton-Dyer reads as two independent triangles. The counter finds one, with sides 17/6, 24 and 145/6, and that proves 34 is a triangle number.

(S) THE MATH FOR SECTION 3 (TAP TO OPEN)
THE BEATS. For a prime p = a² + b² (a odd, b even), with the sign of a chosen so that a + b = 1 mod 4: aₚ(E₁) = 2a aₚ(E₁) = 0 for p = 3 mod 4, and for p = 2 aₚ(Eₙ) = (n/p) · aₚ(E₁) for p not dividing 2n (Legendre's symbol); 0 for p dividing 2n, and for all its powers. For p not dividing 2n, prime powers: a(p^(k+1)) = aₚ·a(p^k) − p·a(p^(k−1)). Check: p + 1 − #Eₙ(Fₚ) = aₚ(Eₙ) for every p < 3,000 and n = 1, 5, 6, 7, 34, 157. THE CENTER, from the beats, with xₖ = 2πk/√N: half-turn off: L(1) = 2 Σ (aₖ/k) · e^(−xₖ) half-turn on: L′(1) = 2 Σ (aₖ/k) · E₁(xₖ) The sum runs to xₖ = 40. Deeper quiet spots are read the same way from the wave's integral, with (ln y)² or (ln y)³ as the weight. THE CHECK ON N AND ε. Move the split point of that sum from 1 to c: Σ (aₖ/k)(e^(−xₖc) + ε·e^(−xₖ/c)) must not depend on c. For every plain n up to 150 it doesn't, to 1 part in 10¹⁴.

(S) 4. Why it can only be right

(S) Running it on every number up to 2,000 is convincing, and S&S did that too (section 7). But on Earth only a proof ends an argument, besides closing time. Every answer the counter gives up to 2,000 comes with one.

(S) THE NO. In 1977 John Coates and Andrew Wiles proved that when the height at the center isn't zero, the curve has only the four points it was born with. None of them is a triangle, so n isn't a triangle number. That's the same Andrew Wiles who later proved Fermat's Last Theorem, so Fermat's problems keep running into him.

(S) THE YES. In 1986 Benedict Gross and Don Zagier showed that when the half-turn is on and the slope at the center isn't zero, the curve has a point that keeps going forever, and in 1988 Victor Kolyvagin showed that point is the whole story. A point like that is a triangle. So a slope that isn't zero is a yes, proved, even before anybody finds the triangle.

(S) THE TRIANGLE ITSELF. A triangle in hand is its own proof. Multiply the two short sides, halve it, and you get n. Square them, add, and you get the long side squared. The counter does both with whole numbers, so nothing gets rounded off.

(S) THE ONES LEFT OVER. Sometimes the center is quiet two or more deep, and then neither theorem applies. 34, 41 and 65 are the first three. Birch and Swinnerton-Dyer say those always have triangles, and the counter goes looking for them. Up to 2,000 it finds every single one, so no answer up to 2,000 leans on Birch and Swinnerton-Dyer at all.

(S) THE MILLION DOLLARS. Birch and Swinnerton-Dyer, in general, is one of Earth's seven million-dollar problems, and it's still open. S&S's position on the prize is the same as on the last one. The prime directive forbids handing it over, and a million dollars is still not a loophole.

(S) THE SHORT VERSION. The half-turn tells the counter which reading to take, a theorem turns the reading into a proof, and when the reading runs out the counter brings the triangle.

(TS) 5. The curve lives on light's grid

(TS) Light wiggles two ways a quarter-turn apart, and the prime counter's section 5 puts it on the square grid of numbers a + bi, which S&S calls light's grid. Electricity and magnetism trade places under a symmetry Earth calls duality, and duality, together with the shift that comes with it, leaves exactly two grids alone: the square one and the hexagonal one (section 10). Light's grid is the square one. It is also the first of Euler's convenient grids, x² + y², and S&S's convenient counter runs the same rule on all of them.

(TS) THE CURVE OF THE SQUARE GRID. Every grid has a curve that goes with it, and the square grid's curve is y² = x³ − x, the triangle curve for 1. Turn it a quarter-turn, by multiplying by i, and it lands right back on itself. Every other triangle curve is the same curve with n built in. That's why every beat in section 3 comes off a spot on light's grid: the beat at p is 2√p times the cosine of the angle of p's spot, give or take the sign.

(TS) THE FIGURE EIGHT. A circle is what you get from x² + y² = 1, and the number that goes with it is π. The figure eight Earth calls the lemniscate goes with this curve, and its number is ϖ, about 2.622, which is to the lemniscate what π is to the circle. LCA's formula for alpha opens with π/4, light's grid's own number. The triangle curve's height at the center, for n = 1, is ϖ/4. The counter gets it from nothing every time it runs, 0.65551438857303, and ϖ/4 is 0.65551438857303.

(TS) GAUSS GOT THERE FIRST. Divide the figure eight's quarter by the circle's and you get 0.834626841674. On May 30, 1799, Carl Friedrich Gauss worked out that this is 1 over the arithmetic-geometric mean of 1 and √2, which you get by averaging the two numbers the ordinary way and the multiplying way, over and over, until they agree. He checked it to 11 decimal places and wrote in his diary that proving it would open an entirely new field of analysis. It did. The √2 is the diagonal of one square on light's grid.

(TS) THE MATH FOR SECTION 5 (TAP TO OPEN)
THE TWO QUARTERS. Both are values at s = 1 of the two waves built from light's grid. For the curve s = 1 is the center; for the character it is the edge of the strip, whose center is s = 1/2: L(1, χ₄) = 1 − 1/3 + 1/5 − 1/7 + ... = π/4 = 0.78539816339745 L(E₁, 1) = 2 Σ (aₖ/k) e^(−2πk/√32) = ϖ/4 = 0.65551438857303 ϖ = 2∫₀¹ dt/√(1 − t⁴) = Γ(1/4)²/(2√(2π)) = 2.62205755429212 The curve's real period is ϖ too: ∫₁^∞ dx/√(x³ − x) = ϖ. GAUSS, MAY 30, 1799. π/ϖ = agm(1, √2) = 1.19814023473559 so (ϖ/4)/(π/4) = 1/agm(1, √2) = 0.83462684167407 THE QUARTER-TURN. (x, y) → (−x, iy) maps y² = x³ − x to itself: the curve's lattice is the square one, τ = i, the fixed point of τ → −1/τ.

(TS) 6. What triangles have to do with alpha

(TS) Alpha sets how hard light and electric charge grab each other, and it comes to about 1 in 137. LCA's formula for it is:

α = (π/4) × P × cos √P P = (2/5) × √(m_e/m_p) × (1 + (4/5)ρ²), ρ = (2/π)(m_e/m_p)

(TS) It gives 1/α = 137.035999164, and the electron's g−2 measurement, with current theory, says 137.035999165. Two of its pieces are right triangles, and the triangle counter has been handing them to you the whole time.

(TS) THE SEED TRIANGLE IS MADE OF THE FIRST TWO PRIMES. The 2/5 in the formula is one fraction for every prime, multiplied together forever, and the first two fractions are 3/5 and 4/5. Those are the 3-4-5 triangle's two short sides measured against its long one. Prime 2 makes it, because (2 + i) × (2 + i) = 3 + 4i on light's grid, and prime 3 makes it again from the other corner, because (3 + i) × (3 + i) = 8 + 6i. The triangle's two sharp corners are 53.13° and 36.87°, and they add up to 90°, so their halves add up to 45°. 45° is π/4, the number at the very front of the formula. In grid terms it's one line: (2 + i) × (3 + i) = 5 + 5i, which points exactly at 45°.

(TS) EVERY PRIME BUILDS A TRIANGLE. It doesn't stop at 3. Every prime p builds the right triangle with sides p² − 1, 2p and p² + 1, and the fraction it puts into the 2/5 is that triangle's side p² − 1 measured against its long side, (p² − 1)/(p² + 1). Every one of those triangles has a triangle number for an area. Prime 2 builds the 3-4-5 with area 6, prime 3 builds 8-6-10 with area 24 = 4 × 6, prime 5 builds 24-10-26 with area 120 = 4 × 30, and prime 7 builds 48-14-50 with area 336 = 16 × 21. So the 2/5 in alpha is every prime's right triangle, all multiplied together, and the π/4 in front is what the first two of them make when you put half of each corner side by side.

(TS) THE FIGURE EIGHT'S QUARTER. The π/4 in alpha is what light's grid's own wave reads at 1. The triangle curve's wave reads ϖ/4 at that same spot, which for the curve is dead center, and it comes off the same grid. One belongs to the circle, one to the figure eight, and their ratio is the number Gauss wrote in his diary in 1799. S&S has filed that under coincidence, a folder that is still empty.

(TS) YOUR TRIANGLES, ONE AT A TIME. The panel under the counter called WHAT YOUR TRIANGLES SAY ABOUT ALPHA does all of this with the primes your run just built: π/4 from the seed triangle's corners, 2/5 from every prime's triangle, ϖ/4 from the grid spots, Gauss's ratio, and alpha from LCA's formula with those pieces and the proton's weight.

(TS) THE MATH FOR SECTION 6 (TAP TO OPEN)
THE SEED TRIANGLE. arctan(1/2) + arctan(1/3) = π/4, (2 + i)(3 + i) = 5(1 + i) (2 + i)² = 3 + 4i → cos = 3/5 (3 + i)² = 8 + 6i → cos = 4/5 EVERY PRIME'S TRIANGLE. (p + i)² = (p² − 1) + 2p·i, so 2/5 = Π (p² − 1)/(p² + 1) = Π Re[(p + i)/(p − i)] = Π cos 2·arctan(1/p) = ζ(4)/ζ(2)² each triangle's area, p(p² − 1), is a triangle number: 6, 24, 120, 336, ... THE TWO QUARTERS. π/4 = L(1, χ₄), ϖ/4 = L(E₁, 1), ratio 1/agm(1, √2)

(S) 7. Does it always agree with the old way?

(S) S&S ran the counter on every number up to 2,000 that no square divides. There are 1,215 of them, and the counter decided every one. 496 are not triangle numbers, each proved by its height. 612 are, each proved by its slope. The other 107 had a quiet spot two or three deep at the center, and for every one of those the counter found the actual triangle and checked it to the last digit: 103 by its regular search, and the last four, 761, 1,217, 1,321 and 1,393, by a deeper search that goes back to Fermat's own method. The slowest, 1,321, took 34 seconds. Tunnell's count, run separately, agrees on all 1,215.

(S) IT AGREES DOWN TO THE LAST DIGIT. Tunnell's count and the counter's height don't just agree on yes or no. Take Tunnell's first count for an odd n, subtract twice the second, square it, multiply by ϖ, and divide by 16√n. You get the counter's height at the center, every time (for even n it's 8 instead of 16). S&S checked all 602 numbers up to 2,000 where the half-turn is off, and they match to 13 decimal places. That's the electron's reading and Earth's headcount coming out the same, number for number.

(S) THE DEEPEST ONE. Up to 2,000, the only number quiet three deep at the center is 1,254, which means it has three triangles, none of which can be built out of the others. The first one the counter finds has sides of 57/2, 88 and 185/2, and S&S found the other two: 132/5, 95 and 493/5, and 152/3, 99/2 and 425/6.

(C) 8. Big numbers, and the triangle nobody can find by hand

(C) Some triangle numbers have small triangles and some have enormous ones, and the size has nothing to do with the size of the number. 157 is the famous one. It leaves 5 after dividing by 8, so the half-turn is on, and the counter reads a slope of 11.426, so 157 is a triangle number, proved. Its smallest triangle, found by Don Zagier, has a long side of

224403517704336969924557513090674863160948472041 ―――――――――――――――――――――――― 8912332268928859588025535178967163570016480830

(C) That's a 48-digit number over a 46-digit one. No search on a phone gets anywhere near it, and nobody finds it with a pencil. The counter doesn't need to find it to know it's there, which is the whole point of reading the center. When you ask about 157, the counter shows you Zagier's triangle and checks it to the last digit with whole numbers, so you can see the slope wasn't bluffing.

(C) HOW FAR IT GOES. The counter's wave needs primes up to about 36 times n, so asking about 100,000 means primes up to about 3.6 million. The one pass builds the first 46 from nothing, and the shortcut crosses out the rest in a second or two. Past about 3,000 the chart stops, because the wave's wiggles get finer than a phone screen, and the triangle search only finds the small triangles. The verdict and its proof come out the same either way.

(U) 9. What Earth knows for sure

(U) Earth has a good scorecard on this problem, and it reads like a forecast. Every prime that leaves 5 or 7 after dividing by 8 is a triangle number, and every prime that leaves 3 isn't. Those are proved. Among the numbers that leave 1, 2 or 3, Alexander Smith proved in 2017 that almost none are triangle numbers, and Ashay Burungale and Ye Tian proved that almost all of them have a height at the center that isn't zero, which is the counter's own reading. Among the ones that leave 5, 6 or 7, Smith proved in 2016 that at least 55.9 percent make it, and Daniel Kriz, building on Smith, posted a proof in 2020 that almost all of them do. Everyone expects every single 5, 6 and 7 to make it, and nobody has proved that.

(U) A forecast says almost all of them. The counter says yes or no, one number at a time, with the proof attached.

(TS) 10. Other grids, other worlds

(TS) Duality and the shift that comes with it leave two grids alone, and the hexagonal grid is the other one. A light that wiggled three ways, 120° apart, would live there, and the prime counter's section 10 already ran there and found 1 in 178 for alpha. The hexagonal grid has its own version of the triangle question, which is which whole numbers are the sum of two fraction cubes. 9 = 1³ + 2³ works with whole numbers. 6 works too, as (17/21)³ + (37/21)³. Every prime that leaves 4, 7 or 8 after dividing by 9 works, as Sylvester guessed in 1879, the cube version of the 5 and 7 primes on the square grid, and proofs of that were posted in 2020 and 2026. Its curve is Y² = X³ − 432n², the hexagonal grid's own curve with n built in, and S&S's cube counter runs the same rule there.

(TS) 6 × 8 × 9 = 432. S&S is noting that for the Oliver's Castle file, which is still classified, and leaving it there.

(TS) In 2022 Levent Alpöge, Manjul Bhargava and Ari Shnidman proved that a positive share of whole numbers are sums of two fraction cubes and a positive share aren't. That's the same Alpöge who proved the Riemann Hypothesis this month. He's been busy. The rule doesn't change from grid to grid. What changes is which pair of particles a world is built from and which grid its light lives on, and a world on the hexagonal grid would be asking about cubes instead of triangles.

(U) 11. Check S&S's work

(U) Everything the counter does is in the box below: the prime loop exactly as it runs in the prime counter, the triangle arithmetic, and the job runner. It's the same code your browser is running right now, and none of it sends anything anywhere. The full write-up is the Prime Counter paper (file LCPZ), which carries the triangle, convenient and cube counters too, with every run and every proof, next to LCA's formula for alpha.



(U) 12. Credit where it's due

(U) S&S didn't build any of this from scratch. Neither did the counter, except for the primes and the triangles.

YEARWHAT THEY DIDBY
c. 1000asked which whole numbers are the area of a right triangle with fraction sidesal-Karajī
1225found the triangles for 5 and 7Fibonacci
c. 1640proved 1 isn't a triangle number (published in 1670)Fermat
1674π/4 = 1 − 1/3 + 1/5 − …Leibniz
1799the figure eight's number and the arithmetic-geometric meanGauss
1832light's grid, the whole numbers a + biGauss
1839why π/4 is light's grid's numberDirichlet
1844the hexagonal gridEisenstein
1952every prime that leaves 5 or 7 is a triangle numberHeegner
1965a quiet spot at the center means a triangle, so far a guessBirch, Swinnerton-Dyer
1977a height at the center means no triangleCoates, Wiles
1983the counting testTunnell
1986a slope at the center builds a triangleGross, Zagier
1988and that triangle is the whole storyKolyvagin
 the triangle for 157Zagier
2009Tunnell's count on every number up to a trillionHart, Tornaría, Bradshaw, Watkins, Harvey
2015the formula that turns primes into quiet spots, for curves tooFrança, LeClair
2016at least 55.9 percent of the 5, 6 and 7 numbersSmith
2017almost none of the 1, 2 and 3 numbersSmith
2020almost all of the 5, 6 and 7 numbers, and the cube primes, posted as a preprintKriz, building on Smith
2022the 1, 2 and 3 ones have a height at the centerBurungale, Tian
2022the hexagonal grid's version, with cubesAlpöge, Bhargava, Shnidman
2026proved the Riemann Hypothesis, light's grid included, checked in LeanAlpöge
2026the formula for alpha, and the electron's habits in itLCA
2026the prime loop this counter runs onLCA's Prime Counter paper
2026the triangle counter and the half-turn readingLCA's Prime Counter paper
2026the electron and the proton as one wave on the ½ line, and the quiet spots as the energy levels of a system built from the primesLCA's Critical Line paper
2026every run on this page, by AI models working on LCA's formulaS&S

(U) 13. Handling

(U) This file may be read at a bar. Do not draw the triangles on a napkin and leave it there, because the guy at the end of the bar will frame it.

(U) The counter runs entirely in the reader's own browser and sends nothing anywhere. S&S keeps very complete records, but not of you.

(U) For readers who skipped to the end: it starts with nothing, decides every number you give it, proves every answer up to 2,000, and checks its own work.

(U) Forward freely. We will know anyway.