The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A025447 Number of partitions of n into 3 nonnegative cubes. 3
1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,217
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 0..10000
PROG
(PARI) a(n)=sum(a=0, sqrtnint(n, 3), sum(b=0, a, my(C=n-a^3-b^3, c); ispower(C, 3, &c) && 0 <= c && c <= b)) \\ Charles R Greathouse IV, Jun 26 2013
(PARI) a(n)=sum(a=0, sqrtnint(n, 3), my(a3=a^3, c); sum(b=0, min(a, sqrtnint(n-a3, 3)), ispower(n-a3-b^3, 3, &c) && c <= b)) \\ Charles R Greathouse IV, Sep 16 2016
CROSSREFS
Sequence in context: A329678 A359942 A266434 * A131078 A302203 A130657
KEYWORD
nonn
AUTHOR
STATUS
approved

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 May 13 21:51 EDT 2024. Contains 372523 sequences. (Running on oeis4.)