login
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