OFFSET
0,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..500
FORMULA
a(n) = [q^(n+2)] Product_{j=1..n+2} (1-q^(2j-1))/(1-q) for n>=0.
MAPLE
b:= proc(n) option remember; `if`(n=0, 1,
simplify(b(n-1)*(1-q^(2*n-1))/(1-q)))
end:
a:= n-> coeff(b(n+2), q, n+2):
seq(a(n), n=0..30); # Alois P. Heinz, Sep 22 2021
MATHEMATICA
a[n_] := SeriesCoefficient[Product[(1-q^(2j-1))/(1-q), {j, 1, n+2}], {q, 0, n+2}];
Table[a[n], {n, 0, 30}] (* Jean-François Alcover, Jan 27 2024 *)
PROG
(PARI) {a(n)=polcoeff(prod(j=1, n+2, (1-q^(2*j-1))/(1-q)), n+2, q)}
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Mar 12 2007
STATUS
approved