A236218 Sum of the twelfth powers of the first n primes.
4096, 535537, 244676162, 14085963363, 3152514340084, 26450599462565, 609072836692326, 2822387755758487, 24737012187778808, 378551795393247849, 1166214579181797610, 7749166585021832891, 30312656885388018972, 70272287682650595373, 186463770791599173614
Offset: 1
Links
- Robert Price, Table of n, a(n) for n = 1..1000
- OEIS Wiki, Sums of powers of primes divisibility sequences
- V. Shevelev, Asymptotics of sum of the first n primes with a remainder term
Crossrefs
Programs
-
Mathematica
Table[Sum[Prime[k]^12, {k, n}], {n, 1000}] Accumulate[Prime[Range[20]]^12] (* Harvey P. Dale, Jan 31 2014 *)
-
PARI
s=[]; for(n=1, 15, s=concat(s, sum(i=1, n, prime(i)^12))); s \\ Colin Barker, Jan 20 2014
Formula
a(n) = sum(k = 1 .. n, prime(k)^12).