login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A004911 Numbers that are the sum of at most 5 positive 11th powers. 1

%I #15 Nov 06 2017 23:28:10

%S 0,1,2,3,4,5,2048,2049,2050,2051,2052,4096,4097,4098,4099,6144,6145,

%T 6146,8192,8193,10240,177147,177148,177149,177150,177151,179195,

%U 179196,179197,179198,181243,181244,181245,183291,183292,185339,354294,354295,354296,354297

%N Numbers that are the sum of at most 5 positive 11th powers.

%H Chai Wah Wu, <a href="/A004911/b004911.txt">Table of n, a(n) for n = 1..10000</a>

%o (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

%K nonn

%O 1,3

%A _N. J. A. Sloane_

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 29 10:44 EDT 2024. Contains 371268 sequences. (Running on oeis4.)