|
|
A051343
|
|
Number of ways of writing n as a sum of 3 nonnegative cubes (counted naively).
|
|
15
|
|
|
1, 3, 3, 1, 0, 0, 0, 0, 3, 6, 3, 0, 0, 0, 0, 0, 3, 3, 0, 0, 0, 0, 0, 0, 1, 0, 0, 3, 6, 3, 0, 0, 0, 0, 0, 6, 6, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 0, 0, 0, 0, 0, 0, 3, 0, 3, 6, 3, 0, 0, 0, 0, 0, 6, 6, 0, 0, 0, 0, 0, 0, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 6
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
MAPLE
|
series(add(x^(n^3), n=0..10)^3, x, 1000);
|
|
PROG
|
(PARI) first(n)=my(s=vector(n+1)); for(k=0, sqrtnint(n, 3), s[k^3+1]=1); Vec(Ser(s, , n+1)^3) \\ Charles R Greathouse IV, Sep 16 2016
|
|
CROSSREFS
|
Sums of k cubes, number of ways of writing n as, for k=1..9: A010057, A173677, A051343, A173678, A173679, A173680, A173676, A173681, A173682.
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|