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