login
A133548
a(n) = sum of cubes of first n odd primes.
2
27, 152, 495, 1826, 4023, 8936, 15795, 27962, 52351, 82142, 132795, 201716, 281223, 385046, 533923, 739302, 966283, 1267046, 1624957, 2013974, 2507013, 3078800, 3783769, 4696442, 5726743, 6819470, 8044513, 9339542, 10782439, 12830822, 15078913, 17650266
OFFSET
1,1
LINKS
FORMULA
a(n) = A098999(n+1) - 8.
EXAMPLE
a(3)=495 because 3^3+5^3+7^3=495.
MATHEMATICA
c = 3; a = {}; b = 0; Do[b = b + Prime[n]^c; AppendTo[a, b], {n, 2, 1000}]; a
Accumulate[Prime[Range[2, 40]]^3] (* Harvey P. Dale, Oct 31 2024 *)
PROG
(PARI) a(n) = sum(i=2, n+1, prime(i)^3); \\ Michel Marcus, Nov 05 2013
KEYWORD
nonn,easy,changed
AUTHOR
Artur Jasinski, Sep 16 2007, corrected Jun 08 2008
EXTENSIONS
More terms from Michel Marcus, Nov 05 2013
STATUS
approved