login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A235398
Sum of digits of the cubes of prime numbers.
5
8, 9, 8, 10, 8, 19, 17, 28, 17, 26, 28, 19, 26, 28, 17, 35, 26, 28, 19, 26, 28, 28, 35, 35, 28, 8, 28, 17, 28, 35, 28, 26, 26, 37, 35, 28, 46, 28, 35, 35, 35, 37, 44, 37, 35, 46, 37, 37, 35, 37, 35, 35, 37, 26, 44, 35, 35, 28, 28, 26, 37, 35, 37, 17, 37, 26
OFFSET
1,1
FORMULA
a(n) = A007953(A030078(n)). - R. J. Mathar, Jul 19 2024
MAPLE
read("transforms") :
A235398 := proc(n)
digsum(ithprime(n)^3) ;
end proc:
seq(A235398(n), n=1..40) ; # R. J. Mathar, Jul 19 2024
PROG
(PARI) a(n) = sumdigits(prime(n)^3); \\ Michel Marcus, Jan 09 2014
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved