OFFSET
1,1
COMMENTS
After 1 step enters a cycle of length 9.
LINKS
N. J. A. Sloane and others, Sequences of RADD type, OEIS wiki.
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,0,1).
EXAMPLE
After a(9) = 10 we get a(10) = (reversed digits of a(9)) + 1 = 01 + 1 = 2. - David A. Corneth, Jan 08 2024
MATHEMATICA
PadRight[{20}, 100, Range[2, 10]] (* Paolo Xausa, Jan 08 2024 *)
PROG
(PARI) a(n) = if(n == 1, return(20)); return(((n-1)%9) + 2) \\ David A. Corneth, Jan 08 2024
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
Luc Stevens (lms022(AT)yahoo.com), May 14 2006
STATUS
approved