Discrete — page 5
A number that is its own square
Square 625 and the answer, 390625, ends in 625. Square 9376 and it ends in 9376. Keep extending them and two endless strings of digits appear, running leftward, each equal to its own square — and their product is nought, though neither is. Base ten does this because ten is two times five: a number in base ten is secretly a pair of numbers, one in base two and one in base five, and these two strings are the pair (one, nought) and (nought, one). In a prime base no such thing can happen.
A search for room that never ends
The textbook way to find the most that a network can carry is to find any route that still has room, push as much along it as it will take, and repeat until no route has room left. With whole-number capacities that must stop. Give one road a capacity of 0.618…, the golden ratio's reciprocal, and choose the routes badly, and it never stops: every push is positive, the flow converges, and it converges to 4.236 when the network can carry 5. The same choice made carelessly in floating point does stop — because of rounding, at the wrong answer, convinced it has finished.
Two numbers approximated at once
Thirty-seven points in thirty-six boxes force a multiple of √2 and a multiple of √3 to land near whole numbers together, and the same count in more boxes makes q times the two distances less than one infinitely often. Littlewood guessed that the product can be made as small as anyone likes. Each number alone has a floor; the product finds a new record eight times below twenty million, and nobody can prove it will keep going.
The tour arrives with the last second neighbour
Add the edges between n points one at a time in a random order. A tour through every point cannot exist while some point has fewer than two neighbours, and in a large random graph that is the only thing stopping it: the tour appears at the very edge that gives the last point its second neighbour. Watched in thousands of small graphs, the coincidence is already the rule, and the exceptions are tiny traps around the points of lowest degree.
The longest climb in a cube
Among n random points in a square, the longest chain rising to the right has about 2√n points, a fact with a famous proof. Put the points in a cube and ask for a chain rising in all three directions, and its length is about c·n^(1/3) for a constant nobody knows. Béla Bollobás and Peter Winkler proved that the constants for every dimension stay below e and creep up to it. The upper bound is a single count of chains, and simulation shows how far below it the real chains fall.
Three arrows in and three out
Put an arrow on every edge of the cubic grid so that every point has three arrows in and three out. On the square grid the same question — two in, two out — has an exact answer, found by Elliott Lieb in 1967: about 1.5396 arrangements per point. On the cubic grid nobody knows the answer. Pauling's guess of 2.5 is a proven lower bound, and exact counts on prisms of the grid come down towards it from above — 2.794, 2.682, 2.587 as the cross-section widens — without reaching it.
The last place in the circle
Forty-one people stand in a circle and every third is removed. Which place is safe? Counting round by hand is not necessary: the survivor is a running sum on a dial that grows by one each step. With every second person it is n's binary digits rotated by one place, which is a tidier fact than anybody asked for. With every third the rule depends on repeatedly multiplying by three halves and rounding up, and the constant it reaches, 1.62227…, has no known closed form.
Every two edges must meet
A planar drawing has edges that avoid each other. Turn the rule round and insist that every two edges meet exactly once, at a shared end or a single crossing, and the drawing is what John Conway called a thrackle. In the 1960s he conjectured that a thrackle can never have more edges than points, and put up a prize. With straight edges a short argument settles it, and the argument also bounds the longest distances in a set of points. With curved edges it is still open.
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.
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.
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.
One tour through every position of the Tower of Hanoi
Draw every position of the Tower of Hanoi as a point and every legal move as a line, and the picture is a Sierpiński triangle. The famous shortest solution runs straight down one side of it, spelling the binary Gray code as it goes. The slowest honest solution threads through every position once and spells the ternary one. And unlike the cube the binary Gray code walks, which has 1,344 closed tours at four dimensions, the triangle has exactly one at every size.
Eight perfect shuffles bring the deck home
Cut a deck of 52 cards exactly in half and interleave the halves perfectly, keeping the top card on top. Do it eight times and the deck is back in its original order. The reason is that the shuffle sends the card in position i to position 2i modulo 51, and 2 multiplied by itself eight times is 256, one more than five times 51. Keep the top card second instead and it takes fifty-two shuffles; twenty-six of them turn the deck upside down; and a magician can send the top card to any position by reading the position in binary.
Every row of prime differences starts with one
Write down the primes, then the gaps between neighbours, then the gaps between those gaps, and so on, ignoring signs. Every row after the first begins with 1 — for the first 148,933 primes it holds in all 148,932 rows, and it has been checked far beyond. Nobody can prove it. What can be seen is why it keeps holding: parity forces the leading entry to be odd and the others even, the evens soon shrink to 0s and 2s, and a row of 0s and 2s behind a 1 can only produce another. The pattern needs small gaps to come before large ones, and it has almost nothing to do with being prime.
A sequence that reads itself aloud
Start with 1 and describe it: one 1, so 11. Describe that: two 1s, so 21. Then 1211, 111221, 312211, and on. The terms grow by a factor that settles on 1.3035772690…, and John Conway found the reason: every late term is a string of 92 fixed pieces, each of which turns into the same pieces every time, so the lengths obey a 92-by-92 matrix and have a rational generating function. Its denominator factors as x¹⁸ (x − 1)² (x + 1) times a polynomial of degree 71, and the growth factor is that polynomial's largest root.
Three cops for any flat map
A robber and some cops move along the roads of a map, one road at a time, each side seeing everything. How many cops does it take to be sure of a capture? On a cycle one is never enough and two always are. On the dodecahedron, solved exactly, two lose and three win. And on any map that can be drawn flat, three always suffice — because one cop can guard a shortest road, and three guarded roads can fence the robber into a shrinking room.
Mountain ranges counted by their peaks
There are fourteen mountain ranges of four up-steps and four down-steps. Sorted by how many peaks they have, they split 1, 6, 6, 1, and the split reads the same backwards. Ranges with two peaks are not reflections of ranges with three, so the symmetry is not visible in the ranges. It becomes visible when the ranges are redrawn as partitions of points on a circle, where a second set of points between the first turns k blocks into n + 1 − k.