A133548 a(n) = sum of cubes of first n odd primes.
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
Examples
a(3)=495 because 3^3+5^3+7^3=495.
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
Programs
-
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 *)
-
PARI
a(n) = sum(i=2, n+1, prime(i)^3); \\ Michel Marcus, Nov 05 2013
Formula
a(n) = A098999(n+1) - 8.
Extensions
More terms from Michel Marcus, Nov 05 2013