login
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
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