login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A039829
Number of different coefficient values in expansion of Product_{i=1..n} (1 + (-q)^i).
1
2, 2, 3, 4, 6, 10, 13, 17, 36, 48, 33, 39, 86, 100, 60, 68, 148, 166, 95, 105, 226, 248, 138, 150, 320, 346, 189, 203, 430, 460, 248, 264, 556, 590, 315, 333, 698, 736, 390, 410, 856, 898, 473, 495, 1030, 1076, 564, 588, 1220, 1270
OFFSET
1,1
PROG
(PARI) a(n) = #vecsort(Vec(prod(i = 1, n, (1 + (-q)^i))), , 8) \\ David A. Corneth, Aug 29 2018
CROSSREFS
Sequence in context: A329703 A001611 A214448 * A143588 A284908 A329695
KEYWORD
nonn
STATUS
approved