login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A062412 a(n) = Sum_{k=1..n} (k^n + (prime(k) - 1)^n). 1

%I

%S 2,10,109,1923,113258,4103972,315764017,15871339589,1481092410586,

%T 327513561563174,26675659416361181,5516357252651388375,

%U 864424420824670346866,86799914926048613598024

%N a(n) = Sum_{k=1..n} (k^n + (prime(k) - 1)^n).

%D D. M. Burton, Elementary Number Theory, Allyn and Bacon, Inc., Boston, MA, 1976. p. 169.

%H Harry J. Smith, <a href="/A062412/b062412.txt">Table of n, a(n) for n = 1..100</a>

%e a(3) = 109 because 1^3 + 2^3 + 3^3 + 1^3 + 2^3 + 4^3 = 109.

%o (PARI) a(n)={sum(k=1, n, (k^n) + (prime(k) - 1)^n)}

%K easy,nonn

%O 1,1

%A _Jason Earls_, Jul 09 2001

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 28 03:42 EST 2020. Contains 331317 sequences. (Running on oeis4.)