OFFSET
1,2
COMMENTS
Is a(n) ever -1? If so then n > 10000.
The cycle has length 207 for S <= 1015, but for S = 1016 it has length 36 (see A118879).
LINKS
N. J. A. Sloane and others, Sequences of RADD type, OEIS wiki.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, May 26 2006
STATUS
approved