EYES ONLY
OBSERVERSE INTELLIGENCE &
PATENT PROTECTION
A SUBSIDIARY OF GALACTIC DODECAHEDRON, LLC
SUBJECT: (TS) LCHT: HOW AN ELECTRON PROVES A HUNDRED-DIGIT NUMBER IS PRIME, STARTING FROM NOTHING
EARTH
EYES ONLY
DISTRIBUTION: Unlimited, same as the prime counter it runs on. Show it to anyone who thinks their computer knows which numbers are prime. It's been guessing.
BLUF. Every time a phone opens a private connection to a bank, it leans on prime numbers a hundred digits long or more. Earth finds them with a fast test that runs a number past a few dozen random witnesses and then calls it "probably prime." The test that would settle it for sure, Gary Miller's from 1976, only counts as a proof if a famous guess about the primes is true, the Riemann hypothesis for Dirichlet's L-functions. Levent Alpöge proved that guess this month. S&S's counter starts with nothing. It has the prime counter build its primes from scratch, uses every one of them up to Bach's bound as a witness, and lets the electron's half-turn do the checking. Give it any number up to 200 digits and it says prime or not prime, with the proof. Ask it for the first prime after any number and it finds it, proves it, and shows that nothing in between is prime. When the prime leaves 1 after dividing by 4, it also splits it into two squares and builds the right triangle whose long side is your prime. Type a number below and watch it go, then check it the old way, because Earth never believes anything the first time.
| Step | What happened |
|---|---|
| — | Nothing yet. The counter knows zero primes. |
| Number | What the old way says | Old way | Counter said |
|---|---|---|---|
| Run the counter, then check it. |
(U) 1. What a prime is, and how Earth checks a big one
(U) A prime is a whole number that nothing divides except 1 and itself, like 7 or 97. For a small number Earth checks the way it always has. Divide by every number up to the square root, and if nothing goes in evenly, it's prime. For 97 that takes four divisions: 2, 3, 5 and 7.
(U) That stops working fast. The square root of a 100-digit number has 50 digits, and a computer doing a billion divisions a second would need more than 1030 years to get through them. The universe is about 14 billion years old.
(U) THE FAST WAY. So Earth checks a big number the way Fermat pointed to in 1640. Pick a witness, like 2, run it around the number's clock, and see where it lands. Every computer that makes the keys for a secure connection does this with a few dozen random witnesses and then trusts the answer. It's an excellent bet. It isn't a proof, and the people who build these systems call the result "probably prime."
(U) THE OLD WAY. The "Check it the old way" button under the counter runs Earth's own tools without ever seeing the counter's answer. It builds its own primes with Eratosthenes's sieve. Up to about nine thousand trillion it divides by every odd number up to the square root, which settles it. For a number one less than a power of 2 it runs the Lucas–Lehmer test, which settles it too. Past that it runs Earth's best fast tests, Fermat's, Euler's and the Lucas test, the combination (Baillie–PSW) that much of Earth's math software trusts. Nobody has ever found a number that fools all three, and nobody has proved one can't exist.
(U) THE NEW WAY. The counter uses witnesses too, but not random ones and not a few. It uses every prime below Bach's bound, builds them itself from nothing, and a theorem turns what it hears into a proof.
(TS) 2. Why it works: the electron's half-turn
(TS) The prime counter runs on three habits of the electron, and so do the other counters. This one runs on the half-turn out in the open.
(TS) THE CLOCK. Pick a number n and make a clock with n hours. Multiply as usual, then keep only the remainder after dividing by n. On a 12-hour clock, 5 × 5 = 25 lands on 1, because 25 is two full trips around and 1 hour more. On n's clock the hour just before 12 is n − 1, and it acts exactly like −1. Square it and you land on 1.
(TS) HABIT ONE: IT COUNTS IN THE ELECTRON'S TILES. The witnesses are primes, and the counter doesn't borrow them. The prime counter's one pass builds them from nothing by counting the electron's floor tiles, the way it does on its own page (section 3).
(TS) HABIT TWO: THE HALF-TURN DECIDES. Send an electron around half a unit of magnetism and it comes back turned half a turn, which flips its sign: eiπ = −1. On a prime's clock, −1 is the only number besides 1 whose square is 1. So when a witness climbs to the power n − 1 one squaring at a time, the step just before it lands on 1 has to be 1 or the half-turn. Anything else is a third square root of 1, and a prime's clock doesn't have one. That's Miller's test, and it's the electron's half-turn on a clock.
(TS) HABIT THREE: MIRROR PAIRS. 1 and −1 are a mirror pair, the two square roots of 1 on a prime's clock: no turn and a half-turn. On a number that isn't prime the square roots of 1 come in more than one pair, and that gives it away. A stray root r hands back a factor, because r − 1 and r + 1 each carry a piece of the number. On 561's clock, witness 2 turns up the stray root 67. Then 66 hands back 33, 68 hands back 17, and 33 × 17 = 561.
(TS) THE QUARTER-TURN. A prime that leaves 1 after dividing by 4 has a number whose square is the half-turn. That's a quarter-turn, the same i that light's grid is built on, because i × i = −1. The witnesses hand one over. One squaring before a witness reaches the half-turn at its very last step, it's sitting on a quarter-turn, and that's how the counter finds the two squares (section 5).
(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. Every witness keeps a beat as it goes around the clock, which is the sound. The quarter-turn puts your prime on light's grid, which is the light. And the half-turns arrive in halves, half the witnesses at the last squaring, a quarter one squaring sooner, and so on down, which is the frequency (section 7).
(TS) THE MATH FOR SECTION 2 (TAP TO OPEN)
(S) 3. How the counter goes around
(S) STEP ONE: THE PRIME COUNTER BUILDS THE WITNESSES. 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. Past 200 the loop's primes cross out their multiples, the prime counter's shortcut, up to two million. That leaves 148,933 primes, which covers every witness a 200-digit number needs.
(S) STEP TWO: HALVE n − 1. Take 1 away from the number and halve it until it turns odd. For 97, 96 halves five times, down to 3, so 96 = 25 × 3. That sets the trip. Each witness is raised to the power 3 on 97's clock and then squared, up to five times.
(S) STEP THREE: EVERY WITNESS GOES AROUND THE CLOCK. Bach's bound for 97 is 2 × (ln 97)² = 41.9, so the witnesses are the 13 primes up to 41. Witness 2 on 97's clock: 23 = 8, then 64, then 64² = 4,096, which leaves 22 after dividing by 97, then 22² = 484, which leaves 96. That's the half-turn, after three squarings, and one more squaring brings it home to 1. Witness 3 goes 27, 50, 75, 96, and reaches the half-turn after three squarings too. Witness 5 goes 28, 8, 64, 22, 96 and waits for the very last squaring.
(S) STEP FOUR: THE VERDICT. If every witness gets home the way a prime allows, either at 1 from the start or through the half-turn, the number is prime, proved (section 4). If one doesn't, it isn't, also proved.
(S) STEP FIVE: THE TWO SQUARES. For a prime that leaves 1 after dividing by 4, the counter takes the first witness whose half-turn came at the very last squaring and looks one squaring back. For 97 that's witness 5, sitting on 22, and 22² = 484 = 5 × 97 − 1, the half-turn. So 22 is a quarter-turn on 97's clock. Euclid's algorithm on 97 and 22 stops after one step, because 97 leaves 9 after dividing by 22 and 9 is below the square root of 97. That gives 97 = 9² + 4².
(S) THE FIRST FEW. 97 is prime. All 13 of its witnesses get home the right way, 9 of them at the very last squaring and 4 of them one squaring sooner. 561 isn't, and witness 2 turns up the stray root 67 on the first try. 3,825,123,056,546,413,051 isn't either, but it fools the first eleven witnesses, every prime up to 31. Earth's quick version of this test, run with those eleven, would call it prime. The counter's twelfth witness, 37, catches it and hands back the factors 747,451 and 5,117,556,945,601.
(S) THE MATH FOR SECTION 3 (TAP TO OPEN)
(S) 4. Why it can only be right
(S) Running it on every number up to 200,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 comes with one.
(S) THE NO. There are two kinds of no, and both are proofs. If a witness never gets home to 1, Fermat's theorem from 1640 says the number can't be prime. If a witness gets home from a stray root, a third square root of 1, the number can't be prime either, and the stray root hands back a factor you can check by multiplying. If a witness divides the number outright, that's the oldest proof there is.
(S) THE YES. This is where the Riemann hypothesis comes in. If a number isn't prime, the witnesses that pass for it all belong to a smaller club, one that's closed under multiplying: multiply two members and you get another member. In 1990 Eric Bach proved that if the Riemann hypothesis holds for Dirichlet's L-functions, every club like that leaves out some number below 2 × (ln n)². A club that holds every prime below that bound holds every number below it too, because every number is built from primes by multiplying. So if every prime witness below the bound gets home the right way, the number has no club to hide in, and it's prime. Alpöge proved the hypothesis on November 20, 2026, with a proof checked line by line in Lean, so this isn't a "probably" anymore.
(S) THE TWO SQUARES. A pair of squares in hand is its own proof: add them up. The counter does it with whole numbers, so nothing gets rounded off, and it checks the right triangle the same way.
(S) THE SHORT VERSION. Every witness goes around the clock, the half-turn tells a prime from a fake, and Bach's bound says when to stop.
(TS) 5. Your prime on light's grid
(TS) Light's grid is the square one, the whole numbers a + bi, where i is a quarter-turn. The triangle counter and the convenient counter live there, and so does every prime that leaves 1 after dividing by 4.
(TS) TWO SQUARES. In a letter on Christmas Day, 1640, Fermat told Marin Mersenne that every prime that leaves 1 after dividing by 4 is the sum of two squares, and no prime that leaves 3 is. Euler proved it in 1749. On light's grid it means the prime splits: 97 = (9 + 4i)(9 − 4i), the way 5 = (2 + i)(2 − i). A prime that leaves 3 stays whole.
(TS) THE QUARTER-TURN IS THE KEY. The split needs a quarter-turn on the prime's own clock, a number whose square is −1, and the witnesses hand one over (section 2). In 1848 Charles Hermite and Joseph Serret each found that Euclid's algorithm, run on the prime and its quarter-turn, stops right at the two squares. John Brillhart made it short in 1972.
(TS) THE RIGHT TRIANGLE. Two squares make a right triangle with whole sides: x² − y², 2xy and x² + y². For 5 = 2² + 1² that's 3, 4 and 5, the triangle of the first two primes' boost speeds, 3/5 and 4/5, that sits inside every fifth in LCA's formula. For 97 it's 65, 72 and 97. For the first 100-digit prime, 1099 + 289, the two short sides have 99 digits each, and the counter checks a² + b² = c² down to the last one.
(TS) THE MATH FOR SECTION 5 (TAP TO OPEN)
(TS) 6. What the half-turn has 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:
(TS) It gives 1/α = 137.035999164, and the electron's g−2 measurement, with current theory, says 137.035999165. The formula is built on the half-turn. The electron's charge, carried around half a unit of magnetism, h/2e, turns by π, half a turn, and that flips its sign: eiπ = −1, the same −1 every witness lands on just before it gets home. The cos √P in the formula is two turns, one forward and one back, averaged together, the way 1 and −1 sit on either side of every prime's clock. The π/4 in front is light's square grid's number, the grid your prime lands on in section 5.
(TS) YOUR WITNESSES, ONE AT A TIME. The panel under the counter called WHAT YOUR WITNESSES SAY ABOUT ALPHA works it out with the primes your run just built. It shows the share of witnesses that reach the half-turn at the very last squaring, which is exactly the share of numbers that aren't squares on a prime's clock, one half. It also shows 2/5 from every prime's two signs, light's π/4, and alpha from LCA's formula with the proton's weight.
(S) 7. Does it always agree with the old way?
(S) S&S ran the counter on every whole number up to 200,000 and checked each answer against Eratosthenes's sieve, and every answer agrees. Of the 82,016 odd numbers up to 200,000 that aren't prime, 81,668 never got home to 1, 93 turned up a stray root, and 255 are perfect powers, like 9 = 3².
(S) THE HARD CASES. Earth keeps a list of the numbers that fool the quick version of this test, the one with only the first few primes as witnesses. 2,047 fools witness 2. 3,215,031,751 fools 2, 3, 5 and 7. 3,825,123,056,546,413,051 fools every prime up to 31, and Yupeng Jiang and Yingpu Deng proved it's the smallest number that does. 318,665,857,834,031,151,167,461 fools every prime up to 37. The counter catches every one, because Bach's bound sends it well past them: witness 3 for 2,047, 11 for 3,215,031,751, 37 for 3,825,123,056,546,413,051 and 41 for 318,665,857,834,031,151,167,461. It also catches every Carmichael number S&S gave it, the numbers that fool Fermat's test for every witness, on witness 2.
(S) THE OLD WAY AGREES. Up to 100,000 the old way's plain division settles every number on its own, and it agrees with the counter on all of them. On the big ones, the old way's fast tests and the counter agree on every number S&S tried, prime or not, and where the old way can settle a big one by itself, as with 2127 − 1 and 2521 − 1 by Lucas–Lehmer, it settles it the same way.
(S) THE HALVES. For the first 100-digit prime the counter used 9,924 witnesses. 4,933 reached the half-turn at the very last squaring, 2,504 one squaring sooner, 1,263 two sooner, 620 three sooner and 290 four sooner, and 314 were at 1 from the start. A prime's clock predicts a half, a quarter, an eighth, a sixteenth and a thirty-second for each of the last two, which comes to 4,962, 2,481, 1,241, 620, 310 and 310. The chart under the counter draws it for your number.
(C) 8. Big numbers, and the ones nobody can factor
(C) THE FIRST 100-DIGIT PRIME. It's 1099 + 289. The counter finds it by looking at 145 odd numbers after 1099. Small primes cross out 129 of them, witness 2 throws out 15, and the first one left standing gets all 9,924 witnesses. On a laptop the whole thing takes about a second.
(C) THE FIRST 200-DIGIT PRIME. It's 10199 + 153, with 35,383 witnesses, every prime up to 419,920. That takes about ten seconds on a laptop and longer on a phone.
(C) 2127 − 1. In 1876 Édouard Lucas proved by hand that 2127 − 1 = 170,141,183,460,469,231,731,687,303,715,884,105,727 is prime, and it stayed the largest prime Earth knew for 75 years. The counter needs 1,810 witnesses and the blink of an eye. Because 2127 − 2 halves only once, every witness either starts at 1 or lands on the half-turn right away, about half and half.
(C) RSA-100. In 1991 RSA Laboratories put up prize money for the factors of a list of numbers, and the first one, RSA-100, has 100 digits. The counter says it isn't prime in a fraction of a second, because witness 2 never gets home. It doesn't say what the factors are, and neither does Earth's old way. Knowing a number isn't prime is easy. Finding its factors took Arjen Lenstra and Mark Manasse's computers until April 1, 1991, and the biggest numbers on the list are still standing. That gap is what keeps a bank's connection private.
(C) HOW FAR IT GOES. Bach's bound grows with the square of the number's length, so a number twice as long sends its witnesses four times as far, and each one takes longer to multiply. 200 digits is where a phone starts to sigh. Earth's record prime, 2136,279,841 − 1, which Luke Durant found in October 2024, has 41,024,320 digits. That's a job for a test built for numbers one less than a power of 2, the Lucas–Lehmer test, the same one the old way runs on 2127 − 1.
(U) 9. What Earth knows for sure
(U) Earth has had a proof-grade prime test that needs no hypothesis at all since 2002, when Manindra Agrawal, Neeraj Kayal and Nitin Saxena showed it can be done in polynomial time. It's a landmark, and it's slow. When Earth needs a big prime proved in practice, it uses elliptic curves (A. O. L. Atkin and François Morain's method, 1993), which leave behind a certificate anyone can check, or a test built for a special shape, like Lucas–Lehmer. For everyday use it says "probably prime" and moves on.
(U) Miller's test was always the simplest of the lot. It was just waiting on the Riemann hypothesis, and this month it stopped waiting.
(TS) 10. Five counters, one rule
(TS) The prime counter builds the primes from nothing. The triangle counter and the cube counter put the half-turn on curves, to decide which numbers are the area of a right triangle and which are the sum of two cubes. The convenient counter puts the electron's mirror on Euler's grids. This counter turns the half-turn on the numbers themselves. The one pass is the same in all five, the half-turn is the same, and every answer comes with its proof.
(U) 11. Check S&S's work
(U) Everything the counter does is in the box below: the prime loop and the one pass exactly as they run in the prime counter, the half-turn arithmetic, and the job runner with Earth's old way. It's the same code your browser is running right now, and none of it sends anything anywhere. The prime loop's full write-up is the Prime Counter paper (file LCPZ), next to LCA's formula for alpha. The half-turn counter is new in this file.
(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.
| YEAR | WHAT THEY DID | BY |
|---|---|---|
| 1640 | a prime's clock always comes back to 1 | Fermat |
| 1640 | a prime that leaves 1 after dividing by 4 is two squares, in a letter on Christmas Day | Fermat |
| 1748 | eix = cos x + i sin x, so a half-turn is −1 | Euler |
| 1749 | the proof of Fermat's two squares | Euler |
| 1848 | two squares from a quarter-turn, by Euclid's algorithm | Hermite, Serret |
| 1876 | 2127 − 1 is prime, by hand | Lucas |
| 1885 | 561 fools Fermat's test | Šimerka |
| 1910 | the numbers that fool it for every witness | Carmichael |
| 1930 | the Lucas–Lehmer test | Lehmer |
| 1972 | the short version of the two-squares algorithm | Brillhart |
| 1976 | listen for the half-turn, and the Riemann hypothesis would make it a proof | Miller |
| 1980 | the random version Earth's computers run | Rabin |
| 1980 | Earth's best fast test, Baillie–PSW | Baillie, Pomerance, Selfridge, Wagstaff |
| 1990 | every witness below 2 × (ln n)² settles it | Bach |
| 1991 | RSA-100 factored | Lenstra, Manasse |
| 1993 | proving primes with elliptic curves | Atkin, Morain |
| 2002 | a proof-grade test with no hypothesis | Agrawal, Kayal, Saxena |
| 2014 | 3,825,123,056,546,413,051 is the smallest number that fools every prime up to 31 | Jiang, Deng |
| 2024 | the largest prime Earth knows, 41,024,320 digits | Durant |
| 2026 | proved the Riemann Hypothesis for every Dirichlet L-function, checked in Lean | Alpöge |
| 2026 | the formula for alpha, and the electron's habits in it | LCA |
| 2026 | the prime loop and the one pass that builds the witnesses | LCA's Prime Counter paper |
| 2026 | the electron and the proton as one wave on the ½ line, and the quiet spots as the energy levels of a system built from the primes | LCA's Critical Line paper |
| 2026 | every run on this page, by AI models working on LCA's formula | S&S |
(U) 13. Handling
(U) This file may be read at a bar. Do not read a 100-digit prime out loud. The bartender will cut you off around digit 40.
(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, proves whether any number up to 200 digits is prime, finds the first prime after any number you like, splits it into two squares when it can, and checks its own work.
(U) Forward freely. We will know anyway.