OFFSET
0,1
LINKS
Reinhard Zumkeller and Michael Lee, Table of n, a(n) for n = 0..2318 (terms 0 through 250 provided by Reinhard Zumkeller)
EXAMPLE
a(1) = 1997 + 7991 = 9988.
MATHEMATICA
NestList[ #+FromDigits[ Reverse[ IntegerDigits[ # ] ] ]&, 1997, 25 ]
PROG
(ARIBAS): m := 1997; stop := 25; c := 0; rev := int_reverse(m); while m <> rev and c < stop do inc(c); write(m, " "); m := m + rev; rev := int_reverse(m); end;
(Haskell)
a063054 n = a063054_list !! n
a063054_list = iterate a056964 1997 -- Reinhard Zumkeller, Sep 22 2011
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Klaus Brockhaus, Jul 07 2001
STATUS
approved