OFFSET
0,1
COMMENTS
The cycle is simply the first 36 terms, which then repeat.
For S < 1016, T(S,5) reaches a cycle of length 207 (cf. A117800).
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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1).
MATHEMATICA
NestList[IntegerReverse[#]+5&, 1016, 40] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Mar 05 2020 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, May 26 2006
STATUS
approved