info prev up next book cdrom email home

Hofstadter G-Sequence

The sequence defined by $G(0)=0$ and

\begin{displaymath}
G(n)=n-G(G(n-1)).
\end{displaymath}

The first few terms are 1, 1, 2, 3, 3, 4, 4, 5, 6, 6, 7, 8, 8, 9, 9, ... (Sloane's A005206).


References

Hofstadter, D. R. Gödel, Escher, Bach: An Eternal Golden Braid. New York: Vintage Books, p. 137, 1989.

Sloane, N. J. A. Sequence A005206/M0436 in ``An On-Line Version of the Encyclopedia of Integer Sequences.'' http://www.research.att.com/~njas/sequences/eisonline.html and Sloane, N. J. A. and Plouffe, S. The Encyclopedia of Integer Sequences. San Diego: Academic Press, 1995.




© 1996-9 Eric W. Weisstein
1999-05-25