login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A268062 a(n) = Sum_{k=1..n} prime(k+1)^prime(k). 0
9, 134, 16941, 19504112, 1792179898149, 9906370212804086, 5480396764155014990025, 74620951324354865576898512, 4316720792370367095095683949638501, 17761887757410618772194137156551786713472772, 4113915065494528452775640793448453170290434881585 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Partial sums of A078422. - Michel Marcus, Jan 26 2016
LINKS
EXAMPLE
a(3) = 3^2+5^3+7^5 = 16941.
MATHEMATICA
Table[Sum[Prime[k+1]^Prime[k], {k, 1, n}], {n, 1, 12}] (* Vaclav Kotesovec, Jan 25 2016 *)
PROG
(Sage) [sum(nth_prime(i+1)^nth_prime(i) for i in [1..n]) for n in [1..15]] # Tom Edgar, Jan 25 2016
(Magma) [&+[NthPrime(k+1)^NthPrime(k): k in [1..n]]: n in [1..12]]; // Vincenzo Librandi, Jan 26 2016
(PARI) a(n) = sum(k=1, n, prime(k+1)^prime(k)); \\ Michel Marcus, Jan 26 2016
CROSSREFS
Sequence in context: A279975 A296171 A167893 * A218326 A272498 A254282
KEYWORD
nonn,easy
AUTHOR
Emre APARI, Jan 25 2016
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 07:44 EDT 2024. Contains 371922 sequences. (Running on oeis4.)