OFFSET
1,2
REFERENCES
C. A. Pickover, "Wonders of Numbers", Oxford University Press, 2001, chapter 122 '3 Weird Problems with 3 - Growth', pp. 272-274, 378.
LINKS
Harry J. Smith, Table of n, a(n) for n=1..13
C. A. Pickover, "Wonders of Numbers, Adventures in Mathematics, Mind and Meaning," Zentralblatt review
MATHEMATICA
nxt[{a_, b_, c_}]:={b, c, FromDigits[Flatten[IntegerDigits/@{a, b, c}]]}; Transpose[ NestList[nxt, {1, 2, 3}, 10]][[1]] (* Harvey P. Dale, Nov 08 2013 *)
PROG
(PARI) a(n)={my(a3=[1], a2=[2], a1=[3]); for(n=4, n, my(a=concat(concat(a3, a2), a1)); a3=a2; a2=a1; a1=a); fromdigits(if(n<3, [a3, a2][n], a1))} \\ Harry J. Smith, Nov 01 2009
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Patrick De Geest, Nov 27 2001
EXTENSIONS
Offset changed from 0 to 1 by Harry J. Smith, Nov 01 2009
Edited by Charles R Greathouse IV, Apr 27 2010
STATUS
approved