OFFSET
1,1
REFERENCES
D. M. Burton, Elementary Number Theory, Allyn and Bacon, Inc., Boston, MA, 1976. p. 169.
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..100
EXAMPLE
a(3) = 109 because 1^3 + 2^3 + 3^3 + 1^3 + 2^3 + 4^3 = 109.
PROG
(PARI) a(n)={sum(k=1, n, (k^n) + (prime(k) - 1)^n)}
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jason Earls, Jul 09 2001
STATUS
approved