cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A235398 Sum of digits of the cubes of prime numbers.

Original entry on oeis.org

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

Views

Author

Keywords

Crossrefs

Programs

  • Maple
    read("transforms") :
    A235398 := proc(n)
        digsum(ithprime(n)^3) ;
    end proc:
    seq(A235398(n),n=1..40) ; # R. J. Mathar, Jul 19 2024
  • PARI
    a(n) = sumdigits(prime(n)^3); \\ Michel Marcus, Jan 09 2014

Formula

a(n) = A007953(A030078(n)). - R. J. Mathar, Jul 19 2024