login
A280637
Sum of the digits of n^2+1.
0
1, 2, 5, 1, 8, 8, 10, 5, 11, 10, 2, 5, 10, 8, 17, 10, 14, 11, 10, 11, 5, 10, 17, 8, 19, 14, 20, 10, 20, 14, 10, 17, 8, 10, 14, 11, 19, 11, 14, 10, 8, 17, 19, 14, 20, 10, 11, 5, 10, 8, 8, 10, 14, 11, 19, 11, 14, 10, 17, 17, 10, 14, 20, 19, 20, 14, 19, 17, 17, 19, 14
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.
FORMULA
a(n) = A007953(A002522(n)).
PROG
(PARI) a(n) = sumdigits(n^2+1)
CROSSREFS
Sequence in context: A259449 A174815 A021401 * A271872 A286677 A199868
KEYWORD
nonn,base
AUTHOR
Michel Marcus, Jan 07 2017
STATUS
approved