OFFSET
1,1
COMMENTS
a(n) mod 9 = A010712(n-1) for n > 1. - Reinhard Zumkeller, Sep 23 2007
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..250
FORMULA
a(n+1) = A057147(a(n)). - Reinhard Zumkeller, Mar 19 2014
MATHEMATICA
NestList[# Total[IntegerDigits[#]]&, 2, 20] (* Harvey P. Dale, Jul 18 2011 *)
PROG
(Haskell)
a047892 n = a047892_list !! (n-1)
a047892_list = iterate a057147 2 -- Reinhard Zumkeller, Mar 19 2014
CROSSREFS
KEYWORD
nonn,base,easy,nice
AUTHOR
Miklos SZABO (mike(AT)ludens.elte.hu)
EXTENSIONS
Offset changed by Reinhard Zumkeller, Mar 19 2014
STATUS
approved