OFFSET
0,2
COMMENTS
For all k, iterations k->a(k) will reach the {5, 8, 11} cycle. See the Mathematical Reflections.
LINKS
Mathematical Reflections, Solution to Problem S294, Issue 2, 2014, p. 12.
PROG
(PARI) a(n) = sumdigits(n^2+1)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Michel Marcus, Jan 07 2017
STATUS
approved