OFFSET
1,1
COMMENTS
After a finite number of integers which cannot be written as a sum of 5th powers of primes, all integers can be so written.
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = a*32 + b*243 + c*3125 + d*16807 + e*161051 + ... where a,b,c,d,e,... are nonnegative integers. Sumset of A050997 Fifth powers of primes.
MATHEMATICA
ok[n_] := {} != Quiet@ IntegerPartitions[n, All, Prime[ Range@ PrimePi@ Max[2, n^(1/5)]]^5, 1]; Select[Range[768], ok] (* Giovanni Resta, Jun 12 2016 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, Sep 21 2006
EXTENSIONS
Several missing terms from Giovanni Resta, Jun 12 2016
STATUS
approved