OFFSET
1,2
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..100
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
KEYWORD
easy,nonn
AUTHOR
Jason Earls, Jul 09 2001
STATUS
approved