TOPICS
Search

Hofstadter-Conway $10,000 Sequence


The Hofstadter-Conway $10,000 sequence is the recursive sequence defined by the recurrence relation

 a(n)=a(a(n-1))+a(n-a(n-1))
(1)

with a(1)=a(2)=1. The first few values are 1, 1, 2, 2, 3, 4, 4, 4, 5, 6, ... (OEIS A004001; Wolfram 2002, pp. 129-130, sequence (c)). Conway (1988) showed that lim_(n->infty)a(n)/n=1/2 and offered $100 for any threshold beyond which |a(i)/i-1/2|<1/20, and $10,000 for the least such threshold. With the convention that the inequality must hold for every i>n, Mallows (1991) found n=1489.

HofstadterConwaySequence

The plots above show a(n)/n (left plot) and a(n)-n/2 (right plot). Amazingly, a(n)-n/2 reveals itself to consist of a series of increasingly larger versions of the batrachion blancmange function.

a(n)/n takes a value of 1/2 for n of the form 2^k with k=1, 2, .... More generally,

 a(2^k)=2^(k-1)
(2)

and

 a(2n)<=2a(n).
(3)

Pickover (1995) gives a table of analogous values of n corresponding to different values of |a(n)/n-1/2|<e.

HofstadterConway2

A related chaotic sequence is given by the recurrence equation

 b(n)=b(b(n-1))+b(n-b(n-2)-1)
(4)

with b(1)=b(2)=1, which gives the sequence 1, 1, 2, 2, 2, 3, 4, 4, 4, 4, 5, 6, 7, 8, 8, 8, 8, 8, 8, ... (OEIS A055748; Pinn 2000; Wolfram 2002, pp. 129-130, sequence (g)).

Cloitre (2026) studied the alternating perturbation

 C(n)=C(C(n-1))+C(n-C(n-1))+(-1)^n
(5)

with C(1)=C(2)=1 and n>=3. Its first terms are 1, 1, 1, 3, 1, 3, 3, 3, 3, 5, 3, 5, 3, 5, 5, 5, ... (OEIS A399773). Cloitre (2026) proved that it is well defined and that

 C(n)=n/(psi^3)+O(n/(sqrt(lnn))),
(6)

where psi>1 is the real root of psi^3=psi^2+1 and O denotes big-O notation.


See also

Blancmange Function, Hofstadter's Q-Sequence, Mallows' Sequence

Explore with Wolfram|Alpha

References

Bloom, D. M. "Newman-Conway Sequence." Solution to Problem 1459. Math. Mag. 68, 400-401, 1995.Cloitre, B. "Perturbing the Conway Sequence." 21 Oct 2026. https://arxiv.org/abs/2610.29631.Conolly, B. W. "Meta-Fibonacci Sequences." In Fibonacci and Lucas Numbers, and the Golden Section (Ed. S. Vajda). New York: Halstead Press, pp. 127-138, 1989.Conway, J. "Some Crazy Sequences." Lecture at AT&T Bell Labs, July 15, 1988.Guy, R. K. "Three Sequences of Hofstadter." §E31 in Unsolved Problems in Number Theory, 2nd ed. New York: Springer-Verlag, pp. 231-232, 1994.Kubo, T. and Vakil, R. "On Conway's Recursive Sequence." Disc. Math. 152, 225-252, 1996.Mallows, C. L. "Conway's Challenge Sequence." Amer. Math. Monthly 98, 5-20, 1991.Pickover, C. A. "The Drums of Ulupu." In Mazes for the Mind: Computers and the Unexpected. New York: St. Martin's Press, 1993.Pickover, C. A. "The Crying of Fractal Batrachion 1489." Ch. 25 in Keys to Infinity. New York: W. H. Freeman, pp. 183-191, 1995.Pickover, C. A. "The Crying of Fractal Batrachion 1489." Comput. & Graphics 19, 611-615, 1995. Reprinted in Chaos and Fractals, A Computer Graphical Journey: Ten Year Compilation of Advanced Research (Ed. C. A. Pickover). Amsterdam, Netherlands: Elsevier, pp. 127-131, 1998.Pinn, K. "A Chaotic Cousin of Conway's Recursive Sequence." Exp. Math. 9, 55-66, 2000.Schroeder, M. "John Horton Conway's 'Death Bet.' " Fractals, Chaos, Power Laws. New York: W. H. Freeman, pp. 57-59, 1991.Sloane, N. J. A. Sequences A004001/M0276, A055748, and A399773 in "The On-Line Encyclopedia of Integer Sequences."Wolfram, S. A New Kind of Science. Champaign, IL: Wolfram Media, pp. 129-130, 2002.

Referenced on Wolfram|Alpha

Hofstadter-Conway $10,000 Sequence

Cite this as:

Weisstein, Eric W. "Hofstadter-Conway $10,000 Sequence." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/Hofstadter-Conway10000-DollarSequence.html

Subject classifications