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!)
A280618 Expansion of (Sum_{k>=1} x^(k^3))^2. 12
0, 0, 1, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,10
COMMENTS
Number of ways to write n as an ordered sum of two positive cubes.
LINKS
Eric Weisstein's World of Mathematics, Cubic Number
FORMULA
G.f.: (Sum_{k>=1} x^(k^3))^2.
EXAMPLE
a(9) = 2 because we have [8, 1] and [1, 8].
MATHEMATICA
nmax = 150; CoefficientList[Series[(Sum[x^(k^3), {k, 1, nmax}])^2, {x, 0, nmax}], x]
PROG
(PARI)
A010057(n) = ispower(n, 3);
A280618(n) = if(n<2, 0, sum(r=1, sqrtnint(n-1, 3), A010057(n-(r^3)))); \\ Antti Karttunen, Nov 30 2021
CROSSREFS
Cf. A000578, A001235 (positions of terms > 3), A003325 (of nonzero terms), A010057, A063725, A173677.
Sequence in context: A060478 A088806 A359602 * A347714 A089807 A089810
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Jan 06 2017
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 12 23:40 EDT 2024. Contains 372497 sequences. (Running on oeis4.)