Let and and for , let be the least Integer which can be expressed as the Sum of two or more consecutive terms. The resulting sequence is 1, 2, 3, 5, 6, 8, 10, 11, 14, 16, ... (Sloane's A005243). Let and , form all possible expressions of the form for , and append them. The resulting sequence is 2, 3, 5, 9, 14, 17, 26, 27, ... (Sloane's A005244).
See also Hofstadter-Conway $10,000 Sequence, Hofstadter's Q-Sequence
References
Guy, R. K. ``Three Sequences of Hofstadter.'' §E31 in
Unsolved Problems in Number Theory, 2nd ed. New York: Springer-Verlag, pp. 231-232, 1994.
Sloane, N. J. A. Sequences
A005243/M0623
and A00524/M0705
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.