OFFSET
0,7
COMMENTS
Does a(n+1) / a(n) ~ 2? - David A. Corneth, Sep 27 2019
LINKS
EXAMPLE
7^3 =
1^3 + 1^3 + 5^3 + 6^3 =
1^3 + 1^3 + 3^3 + 4^3 + 5^3 + 5^3 =
1^3 + 2^3 + 3^3 + 3^3 + 4^3 + 6^3,
so a(7) = 4.
PROG
(PARI) a(n) = {my(res = 0); res=aIterate(n^3, 1, n); res }
aIterate(s, m, q) = { if(s == 0, return(1)); if(q == 0, return(0)); sum(i = m, sqrtnint(s, 3), aIterate(s - i^3, i, q-1) ) } \\ David A. Corneth, Sep 23 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Apr 25 2019
EXTENSIONS
a(21)-a(36) from David A. Corneth, Sep 23 2019
STATUS
approved