OFFSET
0,3
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..10000
EXAMPLE
a(2) = 5 because 2^4 = 32 and 3+2 = 5.
Trajectories under the map x->a(x):
1 ->1 ->1 ->1 ->1 ->1 ->1 ->1 ->1 ->..
2 ->5 ->11 ->14 ->29 ->23 ->29 ->23 ->29 ->..
3 ->9 ->27 ->36 ->36 ->36 ->36 ->36 ->36 ->..
4 ->7 ->22 ->25 ->40 ->7 ->22 ->25 ->40 ->..
5 ->11 ->14 ->29 ->23 ->29 ->23 ->29 ->23 ->..
6 ->27 ->36 ->36 ->36 ->36 ->36 ->36 ->36 ->..
7 ->22 ->25 ->40 ->7 ->22 ->25 ->40 ->7 ->..
MAPLE
MATHEMATICA
Table[Total[IntegerDigits[n^5]], {n, 0, 80}] (* Harvey P. Dale, Feb 12 2023 *)
PROG
(PARI) a(n) = sumdigits(n^5); \\ Seiichi Manyama, Nov 16 2021
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Henry Bottomley, May 26 2000
STATUS
approved