login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A138323
a(n) = Sum_{k = 1..n} prime(k)^prime(k + 1).
1
8, 251, 78376, 1977405119, 34524689549050, 8650450444070886983, 239081086135595395734136, 257829867026393862843621801395
OFFSET
1,1
EXAMPLE
2^3=8
2^3+3^5=8+243=251
2^3+3^5+5^7=8+243+78125=78376
MATHEMATICA
P3[n_] := Sum[Prime[i]^Prime[i + 1], {i, 1, n}]; Table[P3[n], {n, 1, 8}]
PROG
(PARI) a(n) = sum(k=1, n, prime(k)^prime(k+1)); \\ Michel Marcus, Jan 25 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved