OFFSET
1,4
COMMENTS
A finite sequence with A038093(5) = 3211265 terms.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..1000
N. J. A. Sloane, Transforms
FORMULA
Take Weigh transform of A038083 and shift right.
MAPLE
weigh:= proc(p) proc(n) `if`(n<0, 1, coeff(mul((1+x^k)^p(k), k=1..n), x, n)) end end: wsh:= p-> n-> weigh(p)(n-1): a:= (wsh@@2)(n-> `if`(n>0 and n<12, [1$3, 2$5, 1$3][n], 0)): seq(a(n), n=1..50); # Alois P. Heinz, Sep 10 2008
MATHEMATICA
Nest[CoefficientList[Series[Product[(1+x^i)^#[[i]], {i, 1, Length[#]}], {x, 0, 40}], x]&, {1}, 5] (* Geoffrey Critzer, Aug 01 2013 *)
CROSSREFS
KEYWORD
nonn,fini
AUTHOR
Christian G. Bower, Jan 04 1999
STATUS
approved