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!)
A062440 a(n) = Sum_{k=1..n} (prime(k) - 1)^n. 1
1, 5, 73, 1569, 108833, 4036801, 314563713, 15846654977, 1480518105601, 327498647221249, 26675231740370945, 5516343830694027265, 864423963230785470465, 86799898084959301255169 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
a(4)=1569 because 1^4 + 2^4 + 4^4 + 6^4 = 1569.
PROG
(PARI) a(n)={sum(k=1, n, (prime(k)-1)^n)}
CROSSREFS
Sequence in context: A195636 A213111 A368443 * A197764 A126748 A276965
KEYWORD
easy,nonn
AUTHOR
Jason Earls, Jul 09 2001
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 25 07:07 EDT 2024. Contains 371964 sequences. (Running on oeis4.)