Concept

Heuristic

An argument that predicts an answer without establishing it, usually by replacing a determined object with a random one that resembles it. A good one gets the constants right and fails on exceptional cases, which is exactly what the proof would have to handle.

Named by 16 essays across 5 fields — each of them below, with the objects they name alongside it.

The Collatz orbit of 27. Halve an even number, triple an odd one and add one; the sequence plotted on a logarithmic scale.

The question nobody can answer

Halve it if it is even, triple it and add one if it is odd. Every number anyone has tried comes down to one. Nobody can prove they all do, and the reason is not that the problem is hard to state.

dynamics · Collatz
Downhill on average, and never on purpose. The logarithms of 4 Collatz orbits plotted against step number, each wandering upward and downward and each ending at one. A separate sample of four thousand starts gives an average fall of -0.15 per step.

The heuristic that cannot be a proof

There is a two-line argument that the Collatz conjecture is true, it is convincing, and everybody who works on the problem believes it. It also cannot be turned into a proof, and understanding exactly where it fails is more instructive than the argument itself.

dynamics · Collatz
Five families of primes, counted below 100,000. Five counting curves on logarithmic axes: every prime, the primes one more than a multiple of four, the twin pairs, the primes one more than a square, and the Mersenne primes. Two of the five families are known to be infinite and three are open questions.

Which infinitudes are proved

The primes never stop, and neither — apparently — do the twin pairs, the primes one more than a square, or the Mersenne primes. Three of those four statements are theorems and one is not, and counting the members of each family tells nobody which.

number · Infinitude of primes
The Fermat quotient of 2 at every prime up to 4000, and where it is 0. A scatter of the Fermat quotient of 2 modulo p, divided by p, against p for the primes up to 4000; the points spread evenly between zero and one and reach zero at the Wieferich primes.

Two primes where Fermat holds twice

Fermat's theorem says p divides 2^(p−1) − 1. Usually p² does not. It does at 1093 and at 3511 and at no other prime anyone has found, in searches reaching past 10^19. The leftover, (2^(p−1) − 1)/p taken mod p, behaves like a random number, so a prime has about a one-in-p chance of the extra divisibility — and a random count with that chance grows so slowly that two by now is unremarkable, while nobody can prove there are any more, or that there are infinitely many primes where it fails.

number · Fermats little theorem
A closed knight's tour of the 8 × 8 board. A 8 by 8 chequered board with a closed polygon joining the centres of all 64 squares in the order a knight visits them.

The boards a knight can tour

A knight can visit every square of a chessboard once and land a move from where it began. On a 5 × 5 board it cannot, on a 4 × 100 board it cannot, and on a 3 × 8 board it cannot, though on 3 × 10 it can in sixteen ways. Allen Schwenk found in 1991 the complete list of rectangles without a closed tour, and the reasons on it are of two kinds — a colouring that counts squares, and a second colouring that a tour would have to make agree with the first.

discrete · Hamiltonian cycles
Every cubic x³ + bx + c up to 30, sorted by its Galois group. A 61 by 61 grid of cubics x³ + bx + c: 309 reducible, lying on lines c = −r³ − rb; 20 cyclic with square discriminant; 3392 with group S3.

Twenty-seven million cubics, sorted by their symmetry

Write down every cubic x³ + ax² + bx + c with coefficients up to 150 and sort each by its Galois group. 98.7% have all six symmetries of three roots. The rest are reducible at a rate of fifteen in every H², or cyclic at five in every H to the three-halves — and the cyclic ones turn up four times as often as chance would allow, because discriminants are not random numbers.

algebra · Galois correspondence
The sum of all factorials in base 5: digits that stop changing. Partial sums of n! for N = 0 to 21, last 14 base-5 digits; the 5-adic limit ends …13010230042224.

A sum of factorials that converges at every prime

1 + 1 + 2 + 6 + 24 + 120 + … grows faster than any geometric series and has no sum in the real numbers. Measure size by divisibility instead and the same series converges at every prime at once, to a different number each time. Whether any of those numbers ends in zero is a question Đuro Kurepa asked in 1971, and a search through every prime below 100,000 says no while a coin-toss model says it should have said yes about twice.

analysis · Geometric series
The primes p for which Euclid's number p# ± 1 is itself prime. p up to 1100: p# + 1 prime for 2, 3, 5, 7, 11, 31, 379, 1019, 1021; p# − 1 prime for 3, 5, 11, 13, 41, 89, 317, 337, 991.

When Euclid's number is itself prime

Multiply the primes up to p and add one. Euclid needed only that the result has a prime factor beyond p; it is itself prime for p = 2, 3, 5, 7 and 11, and then not again until 31, and then not until 379. Up to 1,100 there are nine such primes of each sign, against thirteen that a careful estimate expects. The estimate predicts infinitely many and grows by about 1.8 every time x is multiplied by e; nobody can prove there is even one more.

number · Infinitude of primes
The first ten Carmichael numbers and the divisions that make them. 561 = 3·11·17; 1105 = 5·13·17; 1729 = 7·13·19; 2465 = 5·17·29; 2821 = 7·13·31; 6601 = 7·23·41; 8911 = 7·19·67; 10585 = 5·29·73; 15841 = 7·31·73; 29341 = 13·37·61.

The numbers that fool every base

561 = 3 · 11 · 17 passes Fermat's test for every base it shares no factor with, and so do 1,105, 1,729 and 102 more numbers below ten million. They were proved infinite only in 1994. Counted to 10²¹ there are about twenty million, growing like x to a power that has crept from 0.21 to 0.35 — just past the bound the proofs guarantee and nowhere near the power of one that Erdős's argument predicts.

number · Fermats little theorem
Three cycles of forms for the prime 229. Reduced forms of discriminant 229 in 3 cycles of lengths 6, 6, 2; checked: h(5) = h(13) = 1, h(229) = h(257) = 3, h(401) = 5, h(577) = 7, h(1129) = 9.

Real fields that factorise uniquely

Among the fields Q(√−d) only nine have unique factorisation, and Gauss guessed as much. Among the real fields Q(√p) he guessed the opposite — infinitely many — and the guess is still unproved. Counting cycles of reduced quadratic forms for the 16,900 primes p ≡ 1 mod 4 below 400,000 finds 79 per cent with class number one, drifting slowly down towards the 75.45 per cent that Cohen and Lenstra's heuristic predicts — and finds the reason the real fields behave so differently: their units are enormous.

number · Pell
The numbers below a hundred as sums of three cubes. Smallest solution size per n < 100: 1:9 2:1 3:1 6:2 7:2 8:16 9:2 10:2 11:3 12:11 15:2 16:2 17:2 18:3 19:3 20:3 21:16 24:2 25:3 26:3 27:6 28:3 29:3 30:10d 33:16d 34:3 35:3 36:3 37:4 38:4 39:6d 42:17d 43:3 44:8 45:4 46:3 47:8 48:4 51:796 52:11d 53:3 54:3 55:3 56:4 57:4 60:5 61:5 62:3 63:4 64:6 65:4 66:4 69:5 70:21 71:4 72:4 73:4 74:15d 75:9d 78:55 79:35 80:4 81:3 82:14 83:4 84:8d 87:4271 88:5 89:7 90:4 91:4 92:4 93:7 96:22 97:5 98:5 99:4.

Thirty-three as three cubes

Which numbers are a sum of three cubes, allowing negatives? Nothing like the rule for two squares is known — only that numbers leaving 4 or 5 on division by 9 are impossible. Every other number below a hundred has a sum with cubes under 5,000, except eight; 33 needed sixteen-digit cubes and was found in 2019.

number · Sums of two squares
Where each count of cubes stops being needed. last needing 9..6: 239, 454, 8042, 1290740; counts 114, 5721, 154467, 941641, 393997, 3922, 121, 15, 2 up to 1500000.

Nine cubes for two numbers

Every whole number is a sum of at most nine positive cubes, and only two numbers, 23 and 239, need all nine. Fifteen need eight, the last of them 454; 121 need seven, the last 8,042; six are needed for the last time at 1,290,740. The count every number needs is nine, fixed by two small accidents. The count every large number needs is somewhere between four and seven, and the computation says four — a question about how the cubes spread out, not about the cubes themselves.

number · Sums of two squares
How high an orbit climbs. 1:1 2:2 3:16 7:52 15:160 27:9232 255:13120 447:39364 639:41524 703:250504 1819:1276936 4255:6810136 4591:8153620 9663:27114424 20895:50143264 26623:106358020 31911:121012864 60975:593279152 77671:1570824736 113383:2482111348 138367:2798323360 159487:17202377752 270271:24648077896 665215:52483285312 704511:56991483520 1042431:90239155648 1212415:139646736808 1441407:151629574372 1875711:155904349696 1988859:156914378224 2643183:190459818484 2684647:352617812944 3041127:622717901620 3873535:858555169576 4637979:1318802294932 5656191:2412493616608 6416623:4799996945368 6631675:60342610919632

How high an orbit climbs

The Collatz orbit of 27 climbs to 9,232 before it falls, and below ten million the champion, 6,631,675, climbs to sixty trillion — almost exactly the square of where it started. That is not a coincidence of the two numbers but a law of the whole family: an orbit climbs to x times its start with a chance of about one in x, and the exponent is one because half of three-halves plus half of a half is exactly one. Among N starts the luckiest climbs about N-fold, and so the records grow like the square of the start.

dynamics · Collatz
Twenty-two in binary never becomes a palindrome. 10110 100011 1010100 1101001 10110100 11100001 101101000 110010101 1011101000 1101000101 10111010000 11000101101 101111010000 110010001101 1011110100000 1100001011101 10111110100000 11000100011101 101111101000000 110000010111101 1011111101000000 1100001000111101 10111111010000000 11000000101111101 101111111010000000

Reverse, add, and wait for a palindrome

Take a number, add it to its own reversal, and repeat until the result reads the same both ways. 89 needs 24 steps; every start below 10,000 arrives within 24 steps, except 249 that have never been seen to arrive at all, beginning with 196. Nobody can prove that 196 never does. In base 2 the question has been settled for 22, written 10110: its orbit falls into four shapes of digit string that turn into one another, each a little longer every cycle, and no shape can read the same backwards.

dynamics · Collatz
The juggler orbit of 48,443. start 48443: 157 steps, peak 972462 digits at step 60; odd 97

A sequence that juggles its exponent

Take a number; if it is even, replace it by the whole part of its square root, and if it is odd, by the whole part of its square root cubed. Starting from 37 the sequence climbs to 24,906,114,455,136 and then falls to 1 in seventeen steps. Starting from 48,443 it climbs to a number of nearly a million digits and takes 157 steps to come down. Every start anyone has tried reaches 1, nobody can prove that every start does, and the reason to believe it lies two logarithms deep, where the orbit becomes a random walk with a gentle downward drift.

dynamics · Collatz
Which primes divide which repunits. primes 3–103 vs R(1..48); p | R(n) iff period | n

The primes hidden in a row of ones

Write 1, 11, 111, 1111, and keep going. Which primes divide these numbers is decided by one fact about each prime: how long the repeating block of its reciprocal is. Seven divides every sixth row of ones because 1/7 repeats every six digits. Every new row brings a prime never seen before, always one more than a multiple of the row's length — and a row of ones is itself prime only rarely: among the prime lengths to eleven hundred, at 2, 19, 23, 317 and 1,031.

number · Fermats little theorem

Named alongside it

The objects these essays reach for when they reach for this one.

Exhaustive searchOpen problemCollatzConjectureIterationModular arithmeticDriftOrbitPrimesRandom walkExpectationFactorial

All concepts