OFFSET
1,2
COMMENTS
The primes in this sequence are 29 = 2^0 + 3^1 + 5^2, 15013 = 2^0 + 3^1 + 5^2 + 7^3 + 11^4, 82630...60939 (a 107-digit number) = 2^0 + 3^1 + 5^2 + ... + 211^46, ...
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..250
MATHEMATICA
f[n_] := Sum[Prime[i]^(i - 1), {i, n}]; Array[f, 16] (* Robert G. Wilson v, Feb 12 2008 *)
PROG
(PARI) a(n) = sum(k=1, n, prime(k)^(k-1)); \\ Michel Marcus, Oct 15 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Ctibor O. Zizka, Feb 07 2008, Feb 17 2008
EXTENSIONS
Edited and extended by Robert G. Wilson v, Feb 12 2008
STATUS
approved