login
A299031
Number of ordered ways of writing n-th triangular number as a sum of n squares of nonnegative integers.
2
1, 1, 0, 3, 18, 60, 252, 1576, 10494, 64152, 458400, 3407019, 27713928, 225193982, 1980444648, 17626414158, 165796077562, 1593587604441, 15985672426992, 163422639872978, 1729188245991060, 18743981599820280, 208963405365941380, 2378065667103672024, 27742569814633730608
OFFSET
0,4
FORMULA
a(n) = [x^(n*(n+1)/2)] (Sum_{k>=0} x^(k^2))^n.
EXAMPLE
a(3) = 3 because third triangular number is 6 and we have [4, 1, 1], [1, 4, 1] and [1, 1, 4].
MATHEMATICA
Table[SeriesCoefficient[(1 + EllipticTheta[3, 0, x])^n/2^n, {x, 0, n (n + 1)/2}], {n, 0, 24}]
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Feb 01 2018
STATUS
approved