The records land on powers of two
Assumes: Growing is not climbing · The values that keep arriving
Growing is not climbing took the octal games whose Grundy values keep growing and asked how they grow. Not by a constant climb: a game whose values repeated with a fixed amount added each period would have a largest value rising in proportion to the heap, and no octal code of up to three digits did. Measured over two fourfold stretches, to 9,600 heaps, the growth exponent of the maximum fell for most of them, which is the signature of something slower than any power. The essay could not say what. A logarithm would do it; so would a square root of a logarithm; so would records whose spacing itself keeps widening. Three points on a curve do not choose between them.
It named the measurement that would. Take the running maximum of two of the fastest-growing codes, ·6 and ·564, far enough to see a law, and look at where the records fall. If successive records arrive at heaps in a fixed ratio, the maximum grows like a logarithm, and the octal codes that grow have a law of their own. If the spacing keeps changing, they do not have even that.
Taken to 262,144 heaps — 2 to the 18th, twenty-seven times the earlier range — with ·007 alongside, the answer is the second, and it comes with something the question did not ask about. The records are not arbitrary. Every time the maximum first reaches a power of two, it lands on it exactly, and the shape of the growth changes at those landings.
A staircase with its steps at powers of two
The picture that settles the main question is the running maximum drawn on axes where both the heap and the value are on scales of powers of two.
On these axes growth in proportion to the heap is a line at forty-five degrees, and a logarithm — a fixed number of new values for each doubling of the heap — is a curve that flattens steadily to the right. The three codes do neither. For the first ten or twelve doublings each runs not far below the forty-five-degree line: ·564 from 20 at heap 64 to 1,080 at heap 8,192, ·6 from 8 to 214 over the same heaps. Then each turns almost flat, and it turns sharply. ·6 is at 266 by heap 16,384 and at 291 by heap 262,144, sixteen times further. ·564 is at 1,240 and then 1,321. ·007 is the slowest starter and the latest to turn: it climbs steadily to 722 at heap 65,536, reaches 1,024 a little past heap 109,000, and is at 1,064 when the range ends.
A logarithm would bend gradually; these break. And the three breaks share a feature: each sits just above a power of two. ·6 turns flat once it has passed 256, ·564 and ·007 once they have passed 1,024.
Why a power of two is reached exactly
Before asking why the maxima stall above powers of two, it is worth seeing that the powers of two are not arbitrary landmarks. The sequences cannot help landing on them.
The reason is a single line about exclusive-or. In an octal game every option of a heap is either a smaller heap or a pair of smaller heaps, and the value of the pair is the exclusive-or of their values. If every value so far is below some power of two , then every option’s value is below , because exclusive-or never sets a bit that neither argument has. The mex of a set of numbers all below is at most . So the first value at or above is exactly — a sequence can only cross a power of two by landing on it, and it lands on it the moment some heap’s options cover every number below it.
The table shows the consequence in every code at every power. ·6 reaches 32 from 31, 64 from 61, 128 from 126, and 256 from 252. ·007 reaches 512 from 497 and 1,024 from 966: the record before 1,024 was 58 short of it, and the next record is not 967 or 1,000 but 1,024 itself. The jump looks like a discontinuity and is the most constrained event in the sequence.
·6’s crossing of 256 happens between two neighbouring heaps. The game allows one move — take one counter and leave one heap, or two — so a heap of n has as options the heap of n − 1 and every split of n − 1 into two parts, about five thousand options at this size. At heap 10,343 those options reach every number below 256 except one, 252, and the heap is worth 252. At heap 10,344 they reach every number below 256 and none above, and the heap is worth 256. A single missing value was the whole difference between a record of 252 and a record of 256, and once 256 is in the sequence, options above 255 become possible for the first time.
A doubling at a time
Above the crossing the rules change, and the plainest way to see how is to read the maximum off at every doubling of the heap.
The first rows are the regime the earlier essay measured. ·564 goes 204, 390, 643, 1,080 as the heap goes from 1,024 to 8,192 — nearly doubling each time — and sets 19, 29, 39 and 40 records along the way. ·6 goes 33, 64, 126, 214 with 8, 14, 28 and 27 records. That is close to proportional growth with a records count rising as it goes, which is what the forty-five-degree stretch of the staircase showed.
Then ·6 sets 13 records in the doubling to 16,384, 3 in the next, none in the next, and one each in the last two; its maximum goes 266, 284, 284, 285, 291. ·564 sets 14, 3, 0, 0 and 2, and its maximum goes 1,240, 1,276, 1,276, 1,276, 1,321. A logarithm would add the same amount at every doubling and set records at a steady rate; neither code does anything steady at all. Their growth in the second half of the range is a handful of records separated by whole doublings with none.
·007 is different, and its difference is part of the answer. It never had a regime of near doubling — 49, 89, 140, 231, 355, 459, growing by a factor between 1.3 and 1.8 — and it never stalls completely. Its records per doubling run 30, 12, 30, 12 and 10, which is as close to a steady rate as anything here, but the values those records add shrink: 722 to 1,024 in one doubling, 1,024 to 1,064 in the next.
Where the records fall
The question as it was put was about the spacing of records, and that can be drawn directly.
On a scale of powers of two, records in a fixed ratio would be evenly spaced ticks. What the picture shows is clustering. ·6 and ·564 set dozens of records between 4,096 and 20,000 heaps and then, for ·6, nothing from heap 18,855 to heap 89,634, and for ·564 nothing from heap 19,917 to heap 132,683 — a gap longer than everything that came before it. Each code then sets one or two more and goes quiet again. ·007 has its records in bursts too, and its longest gap, 55,096 heaps, is in the last stretch of the range.
The ratios between successive record heaps make the same point in numbers. For ·6 past heap 10,000 they run from 1.0001 — two records at neighbouring heaps, 10,343 and 10,344 — to 4.75, from 18,855 to 89,634. There is no ratio. And the same recursion carried past the figures’ range to 1,048,576 heaps for ·6 adds records at 398,955, 666,950 and 671,288, worth 292, 296 and 302: after a gap of 266,000 heaps, two records four thousand heaps apart. For ·564, to 400,000 heaps, one more: 1,343 at heap 333,419.
So the octal codes that grow do not have the law the question offered them. Their records do not come at a fixed ratio of heaps or at a steady count per doubling, and the maximum of ·6, which reached 256 in its first 10,344 heaps, gained 46 more in the next million.
It is not that the large values run out
The obvious explanation for a stall above is the converse of the crossing argument. An option worth or more needs at least one part already worth or more, since exclusive-or of two smaller numbers cannot reach it. So the supply of large options depends on the supply of heaps with large values, and if those were becoming rare the stall would follow. That is the picture behind every sparse-space argument: a class of values that thins out while the rest of the sequence goes on.
The supply does not thin. In every block of 16,384 heaps after the first, about 1,250 to 1,500 heaps of ·6 are worth 256 or more — roughly one in twelve — and the count does not fall across the range. ·564 has between 2,766 and 2,999 heaps worth 1,024 or more in every block, about one in six. ·007 has none at all until heap 109,362, as it must, and from then on its count climbs into the thousands. The heaps whose values could feed a new record keep arriving at a constant rate, while the records themselves stop.
That connects this measurement to one already made. Values of 256 or more are exactly the values with the ninth bit set, so the class counted here for ·6 is a parity class of one bit — the kind of class a rare class exclusive-or respects searched for thinning over every bit and found none in ·6 within its range. The table is that search for one bit, taken thirteen times further, and it agrees: the high class is common and stays common. Whatever stops the maximum, it is not a shortage of high values.
What the supply does not guarantee is coverage. A new record above 256 at heap n needs the options of n to reach every number from 256 up to it, and each option above 256 is one high heap combined with one low one. A steady stream of high heaps can keep producing high options without ever producing all of them in one heap’s option set.
Common, but only nineteen of them
Counting the high values by kind rather than by number shows where the stream is narrow. In the first 262,144 heaps of ·6, the heaps worth 256 or more number more than twenty thousand, and they carry nineteen distinct values between them, all from 256 to 291. Every one of those twenty thousand heaps repeats one of nineteen numbers.
That limits what a split can reach. An option of value v above 256 is a high heap of value h beside a low heap of value , so the options above 256 at any heap are the nineteen values h, each shifted by the low values that happen to sit at the complementary sizes. With nineteen starting points and plenty of low values to pair them with, a heap’s options do reach a good deal of the range from 256 to 511 — at heap 65,536 they reach 184 of its 256 numbers, at heap 262,144 they reach 169 — but they reach it unevenly, and the record needs all of it, from 256 upwards without a gap, in one heap. Below 256, by contrast, those heaps miss almost nothing: one value at heap 65,536, which is therefore worth 99, three at heap 262,144, worth 155, and none at heap 131,072, which covers everything below 256 and is worth 263 — a high value, and one of the nineteen, but not a record. The low range is filled; the high range is where the gaps are.
So the stall is a statement about variety. ·6 makes high values often and makes very few different ones, and a mex needs different ones. This is also why the crossing can be so abrupt and the stall so long: reaching needs complete coverage of a range filled by every pair of smaller values, while passing it needs complete coverage of a range filled only by pairs that include one of a handful of high values. Whether the handful grows — whether a twentieth high value appears, and with it a chance at 292 and beyond — is the same question as whether the maximum moves, asked in a form that can be counted. The million-heap run says it does, slowly: 292, 296 and 302 are all new high values, and each arrived after the nineteen had been repeated tens of thousands of times.
A pause can end in a burst
The stall of ·6 and ·564 invites a guess: that their maxima have stopped for good, and that a growing octal code eventually becomes a bounded one. ·007 is evidence against reading the stall that way.
Between heaps 69,459 and about 103,000, ·007’s maximum moves from 800 to 807. Read as a stall, that stretch looks like the ones in ·6 and ·564. Then, in about six thousand heaps, the maximum goes to 937, to 966, and to 1,024 exactly — the crossing argument at work again, since every value until then was below 1,024. The pause ended in a burst of 217 values, and the burst ended on a power of two.
That is why the stalls of ·6 and ·564 cannot be read as bounds. A code that looked stalled at heap 100,000 was growing again by heap 110,000, and the eight codes that stood still in the earlier census included four that moved again after eight thousand heaps of standing still. On this evidence a growing octal code is one whose maximum moves in bursts, with pauses between of a length no one has measured a law for, and the pauses can be longer than the whole history before them.
The method, and the one statement that is proved
The sequences. Values are by the mex rule with the full split, as in octal games, for ·6 (take one counter, leave one heap or two), ·564 (take one counter leaving none or two heaps; take two leaving one heap or two; take three leaving two) and ·007 (take three counters, leaving none, one or two heaps), computed for every heap to 262,144 with a typed-array mex of the kind the odd values keep coming used, whose cost grows as the square of the range — the same arithmetic what the arithmetic cost in 1956 priced by hand. A record is a heap whose value exceeds every value at a smaller heap. The figures draw from this computation alone; the values past 262,144 quoted above come from the same recursion carried to 1,048,576 heaps for ·6 and 400,000 for ·564, and are quoted, not drawn.
What is proved. That the first value at or above a power of two equals that power, in every octal game, by the exclusive-or argument above. The figures confirm it at every crossing of every code, which is a check on the computation rather than evidence for the statement.
What is measured. Everything else. The doubling regime, the stalls, the gaps between records, the steady supply of high values and ·007’s burst are facts about three sequences in a finite range, and the subject’s history — the sequence nobody has settled is mostly a list of sequences that behaved one way for a long time and then another — is a reason to say so plainly.
What the staircase cannot show
Whether ·6 or ·564 will burst again. The longest gaps measured here are as long as the range before them, and ·007 shows that a long pause can end. A maximum that stays at 302 for the next ten million heaps and one that doubles at heap two million are both consistent with everything drawn.
Why the stalls sit above powers of two. The crossing is forced; what happens after it is not. ·564 crossed 512 without slowing and stalled above 1,024; ·007 crossed 512 without slowing and paused at 800, below the next power. Three codes are not enough to say whether the power of two is where the stall begins or only where it is easiest to see.
And whether other growing codes do the same. ·6, ·564 and ·007 are three of the 178 codes the earlier census counted as growing, chosen because they grow fastest or are famous. The crossing argument holds for all of them; the staircase shape is shown for these three.
A law the question did not expect
The question offered two outcomes: a logarithm, which would be a law, or a changing spacing, which would mean no law. The answer is the second, but it is not lawless in the way the question feared. The growth has fixed points it cannot miss — every power of two is hit exactly, at a heap that can be found — and between them it moves in bursts. That is a description in terms of exclusive-or rather than in terms of size, and it is the kind of description the subject has always found for octal games when it found one at all: a period is a proof is a statement about xor-ing shifted windows, and Bouton’s theorem is a statement about binary columns. Size, measured with a logarithm or an exponent, was the wrong ruler to hold against these sequences, and the powers of two are where the right one shows.
Still open: the heap at which a power of two is reached
The crossing heaps are specific numbers — ·6 reaches 256 at heap 10,344, ·007 reaches 1,024 at heap 109,362 — and each is the first heap whose options cover everything below a power of two. If those heaps follow a pattern across the codes and the powers, then the next crossing of each code could be predicted without computing every heap before it, and the question whether ·6 ever reaches 512 would become a question about where its first heap with complete coverage below 512 lies. The measurement is the crossing heaps of all 178 growing codes for every power they reach, set against the power: a fixed ratio between successive crossings would be the law the records themselves do not have. ·564’s crossings at 1,185, 2,780 and 6,460 grow by factors of 2.35 and 2.32, and ·007’s at 9,168, 35,662 and 109,362 by 3.89 and 3.07. Whether those factors settle, or ·6’s next crossing is simply never reached, is what the larger census would say.
Part 6 of 8
One argument about Periodicity. The parts either side of it:
What links here
Essays that reach for this one mid-argument — the half of a link its own author cannot write down.
What this makes readable
Essays that declare this one a prerequisite.
The objects named here
The third axis, after the field and the series: the games, values and theorems themselves, and every essay that touches each one.
Exhaustive searchGrundy valueMexOctal gamePeriodicityUnsolved game
- A period with a constant added exhaustive search, grundy value, mex, octal game, periodicity, unsolved game
- One changed value, and a growing code repeats exhaustive search, grundy value, mex, octal game, periodicity, unsolved game
- A chess problem that turned out to be an octal game exhaustive search, grundy value, mex, octal game, periodicity
- A code that climbs by three exhaustive search, grundy value, octal game, periodicity, unsolved game
- A move that must be answered exhaustive search, grundy value, mex, octal game, unsolved game
- A split matters at four heaps or at all of them exhaustive search, grundy value, mex, octal game, periodicity