The ratio belongs to the family, not the game
Assumes: The records land on powers of two · Growing is not climbing
The records land on powers of two followed three octal games whose values grow — ·6, ·564 and ·007 — to 262,144 heaps, and found one thing that is a theorem and a great deal that is not. The theorem: each time the largest value first reaches a power of two, it lands on it exactly. Every option of a heap is a value already present or an exclusive-or of two values already present, and while every value is below so is every exclusive-or of them, so the mex cannot jump past ; the first value at or above it is itself. What is not a theorem is when that happens. ·564 reached 512, 1,024 and 2,048 at heaps 1,185, 2,780 and 6,460, factors of 2.35 and 2.32; ·007 reached the same three at 9,168, 35,662 and 109,362, factors of 3.89 and 3.07.
A fixed factor between crossings would be a law of a kind the records themselves do not have. If ·564 crossed every power at 2.3 times the heap of the last, the next crossing could be predicted without computing the heaps between, and the growth would have a shape: a value that reaches at heap grows like the heap to the power . The earlier essay ended by asking for the census that would say whether such factors settle — the crossing heaps of every growing code, for every power it reaches.
Here it is. The factors do settle, in a sense, and not in the one that was asked for. Across the codes, the factor at each power has a stable distribution. For any one code, it does not.
One hundred and seventy-eight codes, sixty-six sequences
A repetition is a guess read every octal code of one, two and three digits and set aside 178 whose largest value was still rising at 2,400 heaps. Each of them is taken here to = 32,768 heaps by the mex rule with the full split, and every crossing is recorded.
Many of the 178 are the same game in the range that matters, which three bits of rule would predict: of the three bits in each digit, the splitting bit decides most of what a code does, and the other two often decide nothing. A digit that only permits a move from a heap of exactly one counter, or a split that never produces a value the other options did not already provide, can be switched on or off without changing a single value, and codes that differ only in such a digit compute identical sequences. The sixteen codes ·64 to ·673 are one sequence. Eight-code families are common: ·6, ·601, ·61 and five more; ·604 and seven more; ·404 to ·427. Merged, the 178 codes are 66 distinct sequences, and everything below counts sequences rather than codes, so that a family of sixteen does not vote sixteen times.
All 1,482 crossings the 178 codes make in 32,768 heaps land exactly on their power of two. That was guaranteed, and checking it on every one is only a check that the computation is the mex rule. How far the codes get is the first real number. Four reach 2,048 — the family ·764 to ·767, at heap 14,967, the fastest-growing sequence in the census with a largest value of 3,508. Most reach 256 or 512. Three stop at 32.
Every sequence climbs more steeply than the heap
On these axes a value that grows in proportion to the heap — an arithmetic climb, adding a fixed amount every period — crosses each power at twice the heap of the last, a line of slope one. A value growing like the square root of the heap would cross at four times, slope two. The 66 sequences fill the fan between those two lines, and almost none of them is straight. At small powers they bunch tightly: every sequence reaches 4 within the first fifteen heaps and 16 within the first hundred, mostly. By 256 they have spread over a factor of thirty in heap.
What the fan shows at a glance is the earlier essays’ central finding, from a new direction. Growing is not climbing found that none of the 220 uncertified codes holds a constant climb for more than six periods, and that their maxima grow more slowly than any constant climb allows. A constant climb would make a sequence run parallel to the doubling line. Past the first few powers, not one does: over its last four crossings, every one of the 51 sequences that reaches 256 climbs more steeply.
The ratio at each power
The heap where a power is first reached, divided by the heap where the previous one was, is the crossing ratio. If a code had a law, it would be a constant ratio. Read across the codes, power by power:
The first few powers are noisy for a reason: the heaps involved are single digits, and the ratio of 5 to 3 is a ratio of small integers. By 16 the ratios have grown — median 3.73, as the sequences pass through the early stretch where many octal games spend a few dozen heaps on small values before the splits start producing large ones — and from 32 on they settle. At 64, 128, 256 and 512 the median ratio is 2.61, 2.59, 2.72 and 2.72, and the middle half of the sequences sits between about 2.2 and 3.4 at every one of those powers. Only six sequences reach 1,024, and their median is 2.51.
So there is a law, of a kind. A randomly chosen growing sequence at a randomly chosen power from 64 on crosses the next power at about 2.7 times the heap. A ratio of 2.7 per power of two means the largest value grows roughly like the heap to the power 0.7. And the ratio is almost never below two: two sequences at 32, four at 64 and one at 128 dip just under it, and none at all from 256 on. A ratio below two means the largest value more than doubled while the heap less than doubled, which is growth faster than the heap’s own. The census finds that this happens briefly and early, and then stops happening.
Why two is a floor on average and not at each power
The near-absence of ratios below two has a reason, and it is worth separating what the reason proves from what it does not.
A heap’s Grundy value is the least value missing from its options, so it can never exceed the number of options it has. For an octal game of up to three digits, a heap of n counters has at most three moves that leave a single heap — remove one, two or three — and for each removal at most about n/2 ways to split what is left into two heaps, since a split into a and b is the same as one into b and a. So a heap of n has at most about options, and its value is at most that. A sequence whose largest value is at heap therefore has : no code of up to three digits can reach a power of two before about two thirds of that power in heaps. The family ·764 to ·767 reached 2,048 at heap 14,967, where the bound allows anything from 1,364; the bound is loose by a factor of eleven there, and for the slower codes by far more.
That bound is on where the crossings are, not on the ratios between them. It says the crossing heaps cannot fall much below a line of slope one on the fan, so over many powers the ratios must average at least two — a long run of ratios below two would carry a sequence below the line. It says nothing about any single ratio. A sequence well above the line, as every sequence here is, has room to cross several powers at ratios below two before the bound bites, and the seven ratios below two that the census found at 32, 64 and 128 are exactly that: sequences catching up from a slow stretch, not sequences outrunning the heap. The floor at two is a theorem on average and an observation at each power, and the observation is that from 256 on, nothing in the census comes near using the room the theorem leaves.
A code does not keep its ratio
A distribution across codes is not a law for a code. The question that matters for prediction is whether each code has its own ratio — ·564 always near 2.3, ·007 always near 3 — with the distribution in the figure above being the spread of those individual constants. If so, a code’s ratio at one power would predict its ratio at the next.
It barely does. The 141 pairs of consecutive ratios from 32 on scatter widely about the diagonal, with a correlation of 0.34 — 0.39 measured on the logarithms, which keep the few very large ratios from dominating. A code whose last crossing came at 2.2 times the heap is about as likely to cross next at 3 as at 2.2. Within one sequence, the ratios from 32 on typically range over three quarters of a unit; ·564’s pair of 2.35 and 2.32 is the exception that made the question look answerable, and ·007’s 3.89 then 3.07 was the rule.
The ratio belongs to the family, not to the game. That is the opposite of what a period or a climb would give. A periodic sequence has its own period and an arithmetically periodic one its own increment, and both are constants of the game: computing far enough reveals them, and once revealed they predict everything. The crossings have a constant of the family and none of the game. Knowing a code’s history does not tell where it will next reach a power of two much better than knowing the census median does.
That has a practical edge. The question whether ·6 ever reaches 512 — it reached 256 at heap 10,344 and had not reached 512 by 262,144, twenty-five times further — cannot be answered by extrapolating ·6’s own earlier ratios, because its earlier ratios carry little information about its later ones. A family median of 2.7 would put the next crossing near 28,000; ·6 is already ten times past that, which says only that ·6 is in the tail of a distribution whose tail is long.
The growth the crossings imply
Each sequence’s recent crossings can still be turned into a growth rate, as a description rather than a prediction.
Over each sequence’s last three ratios, the implied exponent runs from 0.45 to 0.92, with a median of 0.68. Not one reaches one. That is the same fact as the fan’s — every sequence above the doubling line — read as a number, and it is the cleanest statement the census makes about growth: the largest Grundy values of the growing octal games of up to three digits grow, over the range computed, like a power of the heap between about a half and nine tenths, and never as fast as the heap itself.
It is worth being careful about what the exponent is. It is a reading over three ratios that the previous figure showed are only weakly related, so it describes the recent past of each sequence and not a property it will keep. A sequence with exponent 0.9 over its last four crossings may have exponent 0.6 over its next four. The spread of exponents is real; the assignment of an exponent to a code is not stable.
The overdue codes
The longest waits in the census are worth reading on their own, because they are where the question of whether a growing code stops growing would be decided.
·167 reached 32 at heap 796, its largest value in 32,768 heaps is 52, and it has not reached 64 in forty-one times as many heaps. ·336 has waited thirty-five times its last crossing; ·374 and the ·444 family thirty. If the census median of 2.7 were a law for each code, these would be impossibly late.
But the census contains its own warning. The four codes ·56 to ·563 reached 32 at heap 256 and 64 at heap 22,778 — a ratio of 89. ·14 went from 16 to 32 with a ratio of 36. The ·404 family took 9.45 to reach 256. Long waits end. That is what the sequence nobody has settled says about the octal games in general — and what the period is small and the proof does not say so says about the periodic ones, whose certificates can arrive thousands of heaps after the last change — and what the burst of ·007 to 1,024 after a long pause showed in particular: a pause in a sequence that has no law is not evidence about its future. Whether ·167 is a code whose values are bounded — which would make it, after all, a candidate for a period — or a code with a ratio of a hundred waiting to happen, no finite census of this kind decides.
How the census was made
The codes are the 178 octal codes of one to three digits that a repetition is a guess counted as growing: no period certified within 2,400 heaps and a largest value over heaps 1,600 to 2,400 greater than over heaps 800 to 1,600. Each is computed to 32,768 heaps by the mex over every legal removal and split, under normal play — the last player to move wins — which is the convention under which Grundy values add by exclusive-or and the crossing theorem holds.
A crossing is the first heap whose value is at least ; the census confirms that its value is exactly every time. Sequences are merged when the whole value sequence to 32,768 heaps is identical. A crossing ratio is the heap of one crossing divided by the heap of the crossing before; the spread figure takes, at each power, one ratio from each sequence that reaches it. The persistence pairs each sequence’s ratio at one power with its ratio at the next, from the crossing of 32 onward. The exponent is over a sequence’s last four crossings to , for the sequences with at least eight.
What 32,768 heaps cannot settle
Whether the distribution is stationary. The median ratio sits near 2.7 from 64 to 512, but only 24 sequences reach 512 and six reach 1,024, and they are the fast growers — the ones that got there within the range. A census to a million heaps would include the slow sequences’ later crossings, and the median at 512 and 1,024 could move up as those arrive.
Whether any code has a ratio after all. A correlation of 0.34 over the range is weak, not zero. A code could have a ratio that it settles into only after a long transient, as periods often begin only after a long pre-period, and 32,768 heaps would show the transient and nothing else.
And whether the overdue codes stop. A bounded sequence would eventually become periodic and be certified by the window test; nothing in this census says whether ·167 or ·336 will.
Still open: what decides a crossing
The crossing at happens at the first heap whose options cover every value below , and that is a statement about which exclusive-ors of earlier values a heap can reach — a covering question rather than a growth question. The census shows that the heaps where coverage first completes are spread, power by power, in a stable distribution across the codes, and that a code’s own history predicts its next crossing weakly. The measurement that would explain the distribution is the coverage itself: for each sequence and each power, the fraction of values below that the options of the heaps just before the crossing already reach, and how that fraction grows with the heap. If coverage climbs along a curve whose shape is shared across codes — fast, then slow as the last few values below the power are found — then the family ratio is the ratio of two points on that curve, and the long waits are codes that got stuck one or two values short of full coverage for a long stretch. That would replace a statistical regularity with a mechanism, and it would say which values a code like ·167 is still missing below 64.
Part 7 of 8
One argument about Periodicity. The parts either side of it:
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 valueMexNim-sumOctal gamePeriodicityUnsolved game
- A period with a constant added exhaustive search, grundy value, mex, nim-sum, octal game, periodicity, unsolved game
- A code that climbs by three exhaustive search, grundy value, nim-sum, octal game, periodicity, unsolved game
- A move that must be answered exhaustive search, grundy value, mex, nim-sum, octal game, unsolved game
- One changed value, and a growing code repeats exhaustive search, grundy value, mex, octal game, periodicity, unsolved game
- Splitting is a move exhaustive search, grundy value, mex, nim-sum, octal game, periodicity
- The values that keep arriving exhaustive search, grundy value, mex, octal game, periodicity, unsolved game