

A004164


Sum of digits of n^3.


17



0, 1, 8, 9, 10, 8, 9, 10, 8, 18, 1, 8, 18, 19, 17, 18, 19, 17, 18, 28, 8, 18, 19, 17, 18, 19, 26, 27, 19, 26, 9, 28, 26, 27, 19, 26, 27, 19, 26, 27, 10, 26, 27, 28, 26, 18, 28, 17, 18, 28, 8, 18, 19, 35, 27, 28, 26, 27, 19, 26, 9, 28, 26, 18, 19, 26, 36, 19
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,3


COMMENTS

For the digital root of n^3 see A073636.


LINKS

Nathaniel Johnston, Table of n, a(n) for n = 0..10000
Michael Drmota, Christian Mauduit, Joël Rivat, The sumofdigits function of polynomial sequences, J. Lond. Math. Soc. (2) 84(2011), no. 1, 81102. MR2819691 (2012f:11193).


MAPLE

A004164 := proc(n) return add(d, d=convert(n^3, base, 10)): end: seq(A004164(n), n=0..100); # Nathaniel Johnston, May 05 2011


PROG

(PARI) a(n) = sumdigits(n^3); \\ Michel Marcus, Jul 07 2019


CROSSREFS

Cf. A004159, A007953.
Sequence in context: A256923 A320304 A217292 * A004449 A168098 A020722
Adjacent sequences: A004161 A004162 A004163 * A004165 A004166 A004167


KEYWORD

nonn,easy,base


AUTHOR

N. J. A. Sloane


STATUS

approved



