login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A004911
Numbers that are the sum of at most 5 positive 11th powers.
1
0, 1, 2, 3, 4, 5, 2048, 2049, 2050, 2051, 2052, 4096, 4097, 4098, 4099, 6144, 6145, 6146, 8192, 8193, 10240, 177147, 177148, 177149, 177150, 177151, 179195, 179196, 179197, 179198, 181243, 181244, 181245, 183291, 183292, 185339, 354294, 354295, 354296, 354297
OFFSET
1,3
PROG
(PARI) list(lim)=my(v=List(), A, B, C, D); lim\=1; for(a=0, sqrtnint(lim, 11), A=a^11; for(b=0, min(sqrtnint(lim-A, 11), a), B=A+b^11; for(c=0, min(sqrtnint(lim-B, 11), b), C=B+c^11; for(d=0, min(sqrtnint(lim-C, 11), c), D=C+d^11; for(e=0, min(sqrtnint(lim-D, 11), d), listput(v, D+e^11)))))); Set(v) \\ Charles R Greathouse IV, Nov 06 2017
CROSSREFS
Sequence in context: A004900 A355728 A062937 * A062934 A038106 A347053
KEYWORD
nonn
STATUS
approved