Decided by exhaustion — page 14
A sort that never looks at the answers
Most sorting decides its next comparison from the last one. A sorting network decides them all in advance: a fixed sequence of swaps-if-out-of-order, wired up before any number arrives. Whether such a thing sorts everything can be settled by trying 2ⁿ strings of noughts and ones instead of n! orderings. Nineteen comparators sort eight numbers, and proving that nothing shorter sorts eleven took decades and a satisfiability solver. Over neighbours only, one single test, the reversed row, decides the whole question.
Functions that only go up
Of the 256 logical functions of three letters, only twenty never turn off when a letter is turned on. Dedekind asked in 1897 how many such monotone functions there are for n letters. Computing the count is hard enough that the answer has advanced one letter every twenty-five years or so, and the ninth arrived in 2023, from two groups in the same month, at forty-two digits. Almost everything about the number comes from a single layer of the cube.
Numbers that never make a prime
Multiply 78,557 by a power of two and add one. The result is never prime, for any power, though almost every other odd number gives a prime within a few doublings. The reason is that seven small primes take it in turn to divide the result, on a schedule repeating every 36 steps that leaves no step uncovered. Proving nothing smaller does this has taken sixty years of search, and five candidates are still running.
A board that cannot be drawn
Colour a rhombus of hexagons in two colours. One colour must join its two sides, and only one: in all 65,536 colourings of the four-by-four board, no exception. The proof is a walk along the colour boundary, the same walk that proves Sperner's lemma, and David Gale showed that the no-draw theorem of this board game is equivalent to Brouwer's fixed-point theorem. Nobody knows the winning strategy for a full-sized board, though a short argument proves one exists.
A game decided before it starts
Draw some crosses on paper. Players take turns joining two free arms with a curve and adding a new cross on it. However they play, a game on n crosses lasts exactly 5n − 2 moves, so the winner is known before the first move: Euler's formula has already decided it. Its close relative Sprouts differs by one rule, leaving a real game whose winner for each size is known only by huge search, and which seems to depend on the size modulo six for no known reason.
The market with the most stable matchings
Random preferences give a sixteen-a-side market about five stable matchings. Nesting a two-a-side market inside itself gives the same size 195,472, every one of them listed. That construction is forty years old and nothing has beaten it, while the ceiling above it has fallen from 2¹⁷ⁿ to 3.55ⁿ. The truth lies somewhere between 2.28ⁿ and that.
Alone on the track
Runners set off together at different constant speeds. Is each of them, at some moment, far from all the others? A pigeonhole on time gives half the conjectured distance in two lines, and sixty years of work have not closed the other half. The speeds 1, 2, …, k are exactly at the limit, and so, surprisingly, are 1, 3, 4, 7 and 1, 4, 5, 6, 7, 11, 13.
Out before the table says so
Detroit has 49 wins and 27 games left, so it can reach 76, and the leader has 75. On paper it is alive. It is not: the four teams ahead must play 27 games among themselves, and whoever wins them, those four finish with an average above 76. Finding that takes one maximum flow, and it is checked against every possible result of every game.
Eight points that refuse the cube
Place eight points on a sphere so that the closest pair is as far apart as possible. A cube manages 70.53°. Rotating one face by 45° and pushing the faces together gives 74.86°. A botanist counting pores on pollen grains asked this in 1930, and proofs still stop at fourteen points: one search in five hundred finds the best thirteen, whose failure to reach 60° is why kissing spheres stop at twelve.
The triangle a triple point buys
How many triangles can eight straight lines cut out? A count of line segments says at most 16, a parity argument takes off one, and the tables say 15. Yet every one of the 1,232,944 arrangements in which only two lines ever cross stops at 14. The fifteenth triangle exists only if three lines are made to meet at exactly one point, and moving a line by a hundredth loses it.
The order of the questions
Decide a Boolean function by asking about its variables one at a time, and share every state that behaves alike. For a₁b₁ + a₂b₂ + … the result has 2n + 2 nodes if partners are asked together and 2ⁿ⁺¹ if they are apart. All 40,320 orders of eight variables give anything from 10 to 32 nodes, while multiplication's middle bit grows fast in the best order of all.
A quarter turn quiets the echoes
Lay a sequence of signs on a shifted copy of itself and add up the squares of the overlaps. Random signs leave the total near n²/2, and the squares modulo a prime, started a quarter of the way along, cut it to a twelfth. Exhaustive search finds far quieter short sequences, and no infinite family is proved to do better than 6.342.
Multiply until every sign is positive
A form with a negative coefficient can still be positive wherever its variables are, and proving it usually takes an argument. Pólya found a certificate that needs none: multiply by a power of x + y and wait until every coefficient is positive. The power needed is finite exactly when the form never touches zero, and it grows like the reciprocal of how close it comes.
The debts the Mishna divided
A man dies owing his three wives 100, 200 and 300. The Mishna divides an estate of 100 equally, of 300 in proportion, and of 200 as 50, 75 and 75, and for nearly two thousand years nobody could say why. The table is the nucleolus of a cooperative game, and the only division in which every pair splits its share as two people split a contested garment.
Thirteen convex tangrams
The seven tangram pieces make thousands of figures, and only thirteen of them are convex. The proof turns a puzzle with sliding pieces into a finite list: every piece is made of the same small triangle, any convex figure puts them all on one grid, and that grid allows exactly twenty convex outlines of the right area. A search tries all twenty and finds that thirteen can be made.
Wrong guesses that arrive together
Seven players in red or blue hats each see every hat but their own, and must guess their own colour or pass. Every guess is a coin toss, yet with the Hamming code the team wins seven times in eight — not by making guesses better, but by making the wrong ones arrive together. The best chance for any number of players is fixed by the fewest losses that cover the cube.
How many ways a regular graph pairs off
Give every point of a bipartite graph the same number of edges and Hall's theorem promises a perfect matching. It promises far more: at least ((d − 1)^(d−1)/d^(d−2))ⁿ of them, by Schrijver's theorem, and at most (d!)^(n/d), by Brégman's. Listing all 297,200 cubic graphs on six and six finds only four different counts, and random graphs turn out to live near the bottom.
One colour more than the busiest point
Colour the edges of a graph so that edges meeting at a point differ. The busiest point forces as many colours as it has edges, and Vizing proved that one more is always enough. So every graph is in one of two classes, and deciding which is hard — yet almost every graph is in the first, and the ones in the second carry an odd piece that cannot be paired off.
Every tautology survives double negation
Intuitionistic logic refuses excluded middle, Peirce's law and every other classical principle that claims more than can be shown. Glivenko proved in 1929 that it refuses nothing outright: put ¬¬ in front of any classical tautology and the result is intuitionistically valid. Every Kripke model of up to four states confirms it for eight famous laws, a census of 11,451 formulas confirms it one by one, and a model with a growing domain shows where it stops.
One swap saves every prisoner
A hundred prisoners following the cycles of a shuffle all survive about 31% of the time. Let a helper look into the room first and swap the contents of two boxes, and they survive every time. With fewer boxes each, more swaps are needed — exactly one per cut a long cycle needs — and the number of swaps a random room demands has an exact distribution.
Numbers whose subset sums all differ
The powers of two 1, 2, 4, …, 64 have 128 subset sums and no two are equal. So do 20, 31, 37, 40, 42, 43 and 44, whose largest member is smaller, and an exhaustive search shows no seven numbers do it with less. A pigeonhole on the sums says the largest member must grow like 2ⁿ/n; a variance argument improves that to 2ⁿ/√n; the best known sets sit near 0.22 × 2ⁿ. Whether the truth is a constant times 2ⁿ is Erdős's five-hundred-dollar question, and the pigeonhole cannot reach it.
Fifty-four numbers funnel into 6174
Take four digits, not all the same, arrange them largest first and smallest first, and subtract. Repeat. Every one of the 9,990 starts reaches 6174, and none needs more than seven steps. The reason is that the first subtraction forgets almost everything: its result depends only on two differences of digits, so ten thousand starts collapse to fifty-four values, and a map on fifty-four points can be drawn whole. Change the number of digits or the base, and the same collapse ends in cycles instead.
The period the golden ratio sets
The Fibonacci numbers, taken modulo any whole number, eventually repeat — the last digits every sixty terms. At a prime the period is not arbitrary: it divides p − 1 when the prime ends in 1 or 9, and 2(p + 1) when it ends in 3 or 7. The reason is where the golden ratio lives. Modulo the first kind of prime it is an ordinary remainder; modulo the second it has to be adjoined, as √5 is adjoined to the rationals, and in that larger field the p-th power swaps φ with its conjugate.
The largest piece that still fits
Fill a unit with unit fractions, always taking the largest one that still fits: 1/2, 1/3, 1/7, 1/43, 1/1807. The denominators are Sylvester's sequence, each one more than the product of all before it, and after k of them what is left is exactly one over the next term minus one. Curtiss proved in 1922 that no k unit fractions get closer to 1 from below; an exact search confirms it to six terms. Applied to almost any other fraction, the same greedy rule is wasteful — 8/97 ends with a denominator of 150 digits.