login
This site is supported by donations to The OEIS Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A003997 Sum of distinct positive cubes. 10
1, 8, 9, 27, 28, 35, 36, 64, 65, 72, 73, 91, 92, 99, 100, 125, 126, 133, 134, 152, 153, 160, 161, 189, 190, 197, 198, 216, 217, 224, 225, 243, 244, 251, 252, 280, 281, 288, 289, 307, 308, 315, 316, 341, 342, 343, 344, 349, 350, 351, 352, 368, 369, 370, 371 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

12758 is the largest of 2788 positive integers not in this sequence. - Jud McCranie, Dec 11 1999

REFERENCES

R. Sprague, Über Zerlegungen in n-te Potenzen mit lauter verschiedenen Grundzahlen, Math. Z. 51, (1948). 466-468.

D. Wells, The Penguin Dictionary of Curious and Interesting Numbers, entry 12758.

LINKS

T. D. Noe, Table of n, a(n) for n = 1..10000

Index entries for linear recurrences with constant coefficients, signature (2,-1).

FORMULA

For n > 9970, a(n) = n + 2788. - Charles R Greathouse IV, Sep 02 2011

MAPLE

(1+x)*(1+x^8)*(1+x^27)*(1+x^64)*(1+x^125)*(1+x^216)*(1+x^343)*(1+x^512)*(1+x^729)*(1+x^1000)

MATHEMATICA

lim = 8; s = {0}; Do[s = Union[s, s + n^3], {n, lim}]; Select[s, 0 < # <= lim^3 &] (* T. D. Noe, Jul 10 2012 *)

PROG

(PARI) list(lim)={

    lim\=1;

    my(lm=min(lim+1, 12758), v=List(), P);

    P=prod(n=1, lm^(1/3), 1+x^(n^3), 1+O(x^lm));

    for(n=1, lm-1, if(polcoeff(P, n), listput(v, n)));

    if(lim>12758, concat(Vec(v), vector(lim-12758, i, i+12758)), Vec(v))

}; \\ Charles R Greathouse IV, Sep 02 2011

CROSSREFS

Complement of A001476. Cf. A003995.

Sequence in context: A041317 A305336 A042311 * A114090 A217843 A139753

Adjacent sequences:  A003994 A003995 A003996 * A003998 A003999 A004000

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane.

EXTENSIONS

Definition clarified by Jeppe Stig Nielsen, Jan 27 2015

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 13 17:37 EST 2019. Contains 329970 sequences. (Running on oeis4.)