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”).

A135484
a(n) = Sum_{i=1..n} i^prime(i), where prime(i) denotes i-th prime number.
2
1, 9, 252, 16636, 48844761, 13109538777, 232643623525984, 144347831699381856, 8863082467484200477785, 100000008863082467484200477785, 192043424966613562971631041769596
OFFSET
1,2
LINKS
MATHEMATICA
f[n_] := Sum[i^Prime@i, {i, n}]; Array[f, 12] (* Robert G. Wilson v, Feb 12 2008 *)
Accumulate[Table[n^Prime[n], {n, 15}]] (* Harvey P. Dale, Nov 30 2023 *)
PROG
(PARI) a(n) = sum(k=1, n, k^prime(k)); \\ Michel Marcus, Oct 15 2016
CROSSREFS
Partial sums of A062481.
Sequence in context: A370357 A158621 A256019 * A345160 A178186 A348861
KEYWORD
nonn
AUTHOR
Ctibor O. Zizka, Feb 07 2008
EXTENSIONS
Edited and extended by Robert G. Wilson v, Feb 12 2008
STATUS
approved