The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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 May 23 09:40 EDT 2024. Contains 372760 sequences. (Running on oeis4.)