cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A298936 Number of ordered ways of writing n^2 as a sum of n nonnegative cubes.

Original entry on oeis.org

1, 1, 0, 6, 6, 20, 120, 7, 1689, 6636, 36540, 64020, 963996, 2894892, 19555965, 176079995, 955611188, 6684303780, 42462792168, 292378003753, 1886275214112, 13384059605364, 87399249887334, 624073002367892, 5080120229014734, 37587589611771480
Offset: 0

Views

Author

Ilya Gutkovskiy, Jan 29 2018

Keywords

Examples

			a(3) = 6 because we have [8, 1, 0], [8, 0, 1], [1, 8, 0], [1, 0, 8], [0, 8, 1] and [0, 1, 8].
		

Crossrefs

Programs

  • Maple
    f:= n -> coeff(add(x^(k^3),k=0..floor(n^(2/3)))^n,x,n^2):
    map(f, [$0..30]); # Robert Israel, Jan 29 2018
  • Mathematica
    Table[SeriesCoefficient[Sum[x^k^3, {k, 0, Floor[n^(2/3) + 1]}]^n, {x, 0, n^2}], {n, 0, 25}]

Formula

a(n) = [x^(n^2)] (Sum_{k>=0} x^(k^3))^n.