A sequence that juggles its exponent
Worth reading first: The heuristic that cannot be a proof · How high an orbit climbs.
The Collatz map halves an even number and sends an odd one to , and the question nobody can answer is whether every start eventually reaches 1. Clifford Pickover proposed a relative in the 1990s that moves much more violently. If is even, replace it by , the whole part of its square root; if is odd, replace it by , the whole part of its square root cubed. An even number shrinks to roughly its square root; an odd number grows to roughly its own size times its square root. The sequences are called juggler sequences, because the values are tossed up and caught again.
Starting from 3 the sequence is 3, 5, 11, 36, 6, 2, 1. Starting from 37 it is 37, 225, 3,375, 196,069, 86,818,724, 9,317, 899,319, 852,846,071, 24,906,114,455,136, and then down: 4,990,602, 2,233, 105,519, 34,276,462, 5,854, 76, 8, 2, 1. Seventeen steps, and at one point a fourteen-digit number. Every start that has been tried reaches 1 eventually, and as with the Collatz map there is no proof that every start does.
What the juggler map offers that the Collatz map does not is a heuristic that is exceptionally clean, because the map acts on exponents. Raising to the power or multiplies the logarithm by a fixed factor, so the logarithm of the logarithm moves by a fixed amount, up or down, at each step. Two logarithms down the orbit is a random walk, and the walk has a downward drift. This essay computes the orbits exactly — integer square roots of integers with up to a million digits — and holds them against that picture.
Seventeen steps from 37
The figure draws the orbit of 37 by the number of digits of each term, with odd terms and even terms marked differently. The shape is the juggler’s signature. Each odd term multiplies the number of digits by about ; each even term halves it. The first four terms of the orbit, 37, 225, 3,375 and 196,069, are all odd, and four consecutive multiplications by take a two-digit number to nine digits. Then an even term halves it, an odd term multiplies again, and at step eight the orbit reaches its peak.
From the peak the descent is fast. 24,906,114,455,136 is even, so its square root, 4,990,602, follows; that is even too, and its square root is 2,233. A few more alternations, and the orbit is at 76, then 8, 2, 1. Seventeen steps in all, ten of them odd and seven even: more odd steps than even, and yet the orbit fell, because a halving of the number of digits outweighs a multiplication by one and a half.
That arithmetic is the heart of the matter. Two odd steps multiply the number of digits by ; three even steps divide it by 8. A typical orbit needs only a little more than one even step for every odd one to come down: an even step undoes about 1.7 odd steps, since .
Nearly a million digits
The start 48,443 is famous among juggler sequences, and the figure shows why. Its orbit is computed here exactly, every term an integer, every square root an integer square root by Newton’s method on numbers of up to three million bits. The number of digits climbs through runs of odd terms — the vertical scale is logarithmic in the number of digits, so each odd step is an equal rise and each even step an equal fall — and at step 60 it reaches a number of about 972,463 digits. Written out, that number would fill several hundred pages.
From there 97 more steps bring it to 1, for 157 in all. Of the 157 terms, 97 are odd — more than three in five. The descent is a long staircase: halving a million digits takes twenty halvings to reach the single digits, but odd terms keep interrupting, each one undoing more than half of the previous halving, so the orbit wanders down slowly rather than falling.
There is no prospect of computing the orbits of all large starts this way, and no guarantee that some start does not climb for ever. The figure shows that one orbit with a peak of a million digits nonetheless returns. The climbs of Collatz orbits are mild by comparison: by the analogous heuristic a Collatz orbit rises at most to around the square of its start, while a juggler orbit can rise to something like the start raised to a power that is itself exponential in the length of an odd run.
Two logarithms down
The juggler map is a statement about exponents, so it is natural to look at the orbit through two logarithms. If is large, and : each step multiplies the logarithm by or by . Take the logarithm again, and each step adds or to . The figure draws ten long orbits this way, and the check behind it confirms that every step between large terms moves by one of those two amounts to within a small error from the rounding.
If the parities of the terms behaved like fair coin tosses — odd or even with probability one half each, independently — then would perform a random walk with steps and , and its average step would be . A random walk with a negative drift goes down with probability one. So the heuristic predicts that every orbit reaches small values, and that it takes about steps to do so. The dashed line in the figure is that drift, drawn from the start of the longest climb.
This is the same kind of argument as the heuristic that cannot be a proof for the Collatz map, where the logarithm drifts down by per odd step after the halvings are averaged. The coincidence of the constant is not an accident: in both maps a “fair” pair of steps multiplies something by — the Collatz map multiplies the number by about and then by , the juggler map multiplies the logarithm by the same two factors. The juggler map is the Collatz map lifted one logarithm.
Steps for every start
The heuristic makes a quantitative prediction, and the figure tests it against every start from 3 to 20,000. Horizontally is ; vertically, the number of steps the orbit takes to reach 1. The dashed line is the prediction , which for starts near 20,000 is about 16 steps. The mean over all starts to 20,000 is 13.0, a little below the line, as it should be since the heuristic ignores the last few steps near 1 where the logarithms are small and the rounding dominates.
But the spread is the striking feature. Most orbits are short, a dozen steps or so, while a few run to more than a hundred: 13,325 takes 166 steps, 7,847 takes 131, 4,649 takes 107. A random walk with a small drift has exactly this kind of distribution. Its typical time to descend is set by the drift, but an early run of upward steps lifts it to a height from which the descent takes far longer, and since the walk is in , a modest lift there is an astronomical one in .
That is why the juggler orbits are so much wilder than the Collatz orbits even though both obey the same heuristic. For the Collatz map the walk is in , so a lift of ten units multiplies the number by about twenty thousand. For the juggler map it is in , and a lift of ten units raises the number to the power twenty thousand.
Are the parities fair?
The heuristic rests on one assumption, that the parity of a large term is as likely to be odd as even and does not depend on what came before. The figure tests it. It collects every term of every orbit from 2 to 20,000 — about a quarter of a million terms — sorts them by their number of digits, and reports the share that are odd. Among terms of one or two digits the share is far from one half, because the same few small numbers appear at the end of every orbit. From ten digits on it is close: 0.495, 0.508, 0.475, 0.504, 0.498 in successive ranges of size.
The runs of odd terms behave like a fair coin’s runs too. A run of exactly one odd term between even ones occurs 52 per cent of the time, a run of exactly two 26 per cent, near the halves and quarters a coin would give. There is a plausible reason. The parity of depends on the fractional part of to many digits — on bits far below the leading ones — and there is no evident mechanism linking those bits to the parity of itself. The same is true of .
But plausibility is all it is. The bits in question are completely determined by , and a proof that they behave randomly along every orbit would be a statement about the fine structure of powers and roots of integers far beyond anything known. That is the gap between the heuristic and a theorem, and it is the same gap that separates the Collatz heuristic from a proof, as the map that is a coin made precise for the 2-adic integers.
Records
The records summarise how wild the orbits can be for small starts. The height records below 20,000 — starts whose orbits climb higher than any smaller start’s — are 37 (14 digits), 113 (27), 173 (82), 193 (271), 2,183 (5,929), 11,229 (8,201), 15,065 (11,723) and 15,845 (23,889). Between 193 and 2,183 nothing beats a 271-digit peak; then a start in the two-thousands leaps to nearly six thousand digits. Records arrive in jumps because a height record requires a long run of odd terms early in the orbit, and such runs are rare events of a random walk.
The length records are a different list: 163 with 43 steps, 193 with 73, 1,155 with 80, 4,065 with 88, 4,229 with 96, 4,649 with 107, 7,847 with 131, 13,325 with 166. Only 193 appears in both lists. A high orbit climbs on a run of odd terms and then descends steadily; a long orbit has a balanced mixture of odd and even terms, never climbing very far but taking a long time to come down. The random-walk picture predicts exactly this separation, between the walk’s maximum and its time to absorption, which are correlated but far from the same.
The same distinction runs through Collatz records, and through the reverse-and-add orbits that grow until they happen to become palindromes: a map with no proof of termination is characterised as much by its record-setters as by its typical orbits, because the records are where a counterexample would have to hide.
Could there be a cycle?
An orbit that never reaches 1 would either climb for ever or fall into a cycle of some other numbers, and the second possibility can be examined directly. A cycle would have to return to its starting value, so the product of its multipliers on would have to be very nearly 1: with odd steps and even ones, , which means . Since is irrational, the product is never exactly 1, and the rounding in the floors would have to absorb the difference exactly at every step. For large numbers that rounding is far too small to do so, which is the juggler counterpart of the argument in how short a cycle could be bounding Collatz cycles by continued fractions of the same ratio.
So the only cycles possible are among small numbers, where the floors matter, and a direct check finds none except the fixed point 1: every start up to 20,000 reaches 1, ending . The real uncertainty is therefore the other possibility, an orbit that climbs without end, and that is exactly the event a random walk with negative drift has probability zero of producing, and exactly what a deterministic sequence can never be shown, by probability alone, to avoid.
The walk has a floor and no ceiling, the opposite arrangement from a fair game between two barriers, where a walk is certain to hit one of two absorbing walls. Here the floor is the number 1 and the drift points towards it; a walk with downward drift and an absorbing floor reaches it with probability one, and its time to do so has an exponential tail, which is the shape of the steps figure. The juggler map and the happy-number map are cousins of opposite temperament: the second can be settled completely because it shrinks large numbers, while the first cannot, because it does not.
Twenty thousand orbits and no proof
Every orbit drawn here reaches 1, and that is the extent of what is proved about them. The figures cannot show that the juggler map has no cycle other than the fixed point 1 among numbers too large to search, nor that no orbit climbs for ever. Unlike the Collatz map, the juggler map has not been verified to anything like the same range; orbits of quite small starts already involve numbers of millions of digits, so exhaustive checking reaches far less far than it does for the Collatz map.
The random-walk figure shows orbits wandering about a line of slope , and that is a picture of the heuristic, not evidence of a theorem. A walk in that drifts down will reach the bottom; but the actual sequence of parities is deterministic, and a single start whose parities are biased towards odd for long enough would escape. The parity figure shows no such bias in a quarter of a million terms, which is reassuring and proves nothing about the next quarter of a million. In this respect the juggler map is exactly as open as the Collatz problem, and arguably harder, since no partial results comparable to Terras’s or Tao’s — almost every number comes down — are known for it.
Still open: whether every orbit comes down
The central question is the obvious one: does every juggler sequence reach 1? The heuristic says yes with overwhelming probability for any single start, and computation says yes for every start that has been tried. A proof would need to control the parity of along orbits, which is a question about the binary digits of powers of integers — the same territory as the open question of whether the digits of are equidistributed, a famously intractable problem related to Waring’s problem.
There are sharper questions within reach of computation. How does the number of steps grow on average with the start, and does the ratio to tend to 1? The figure’s mean of 13.0 against a prediction of 16 near 20,000 suggests the correction from the final small steps is large at this scale, and it is not known how quickly it fades. And are there starts whose orbits climb to more than a million digits below 48,443, or is 48,443 the first? The records figure stops at 20,000, and the search between there and 48,443 is a computation of a few hours rather than a mathematical question — but it is the kind of computation that, for a map like this, can turn up a surprise.
A coin in the exponent
The juggler map sends an even to and an odd one to , and every start tried reaches 1: 37 in 17 steps through 24,906,114,455,136, and 48,443 in 157 through a number of about 972,463 digits. Each step multiplies by or , so takes steps of or , and with fair parities that is a random walk with drift — the Collatz heuristic lifted one logarithm. Starts to 20,000 take 13.0 steps on average and up to 166; terms of ten digits or more are odd almost exactly half the time, with odd runs behaving like a coin’s. Nothing proves that every orbit comes down; the coin is in the exponent, and nobody knows how to read it.
Shares its objects with
Essays that name at least two of the same things, and that neither author linked.
- The sum of the parts, taken again — both name conjecture, iteration, orbit
- A difference too small to draw — both name iteration, orbit
- A point that pulls, and a point that pushes — both name iteration, orbit
- A road where nobody overtakes — both name iteration, random walk
- Every point at the average of its neighbours — both name iteration, random walk
- Fifty-four numbers funnel into 6174 — both name iteration, orbit
Named objects
A dashed tag is an object no other essay names yet.
ConjectureDriftHeuristicInteger square rootIterationOrbitRandom walk