OFFSET
0,3
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..100 (first 81 terms from Seiichi Manyama)
FORMULA
a(n) = [x^(n^2)] (Sum_{k>=0} x^(k^2))^n.
EXAMPLE
a(3) = 6 because we have [9, 0, 0], [4, 4, 1], [4, 1, 4], [1, 4, 4], [0, 9, 0] and [0, 0, 9].
MAPLE
b:= proc(n, i, t) option remember; `if`(n=0, 1/t!, (s->
`if`(s*t<n, 0, add(b(n-s*j, i-1, t-j)/j!, j=0..min(t, n/s))))(i^2))
end:
a:= n-> n!*b(n^2, n$2):
seq(a(n), n=0..25); # Alois P. Heinz, Oct 28 2018
MATHEMATICA
Table[SeriesCoefficient[(1 + EllipticTheta[3, 0, x])^n/2^n, {x, 0, n^2}], {n, 0, 23}]
PROG
(PARI) {a(n) = polcoeff((sum(k=0, n, x^(k^2)+x*O(x^(n^2))))^n, n^2)} \\ Seiichi Manyama, Oct 28 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Jan 17 2018
STATUS
approved