|
|
A102418
|
|
Table of coefficients of Product_{k=1..n} (1+x^A000120(k)).
|
|
1
|
|
|
1, 1, 1, 1, 2, 1, 1, 2, 2, 2, 1, 1, 3, 4, 4, 3, 1, 1, 3, 5, 7, 7, 5, 3, 1, 1, 3, 6, 10, 12, 12, 10, 6, 3, 1, 1, 3, 6, 11, 15, 18, 20, 18, 15, 11, 6, 3, 1, 1, 4, 9, 17, 26, 33, 38, 38, 33, 26, 17, 9, 4, 1, 1, 4, 10, 21, 35, 50, 64, 71, 71, 64, 50, 35, 21, 10, 4, 1, 1, 4, 11, 25, 45, 71, 99, 121, 135, 135, 121, 99, 71, 45, 25, 11, 4, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,5
|
|
COMMENTS
|
Also table of coefficients of Product_{k=0..n} (1+x^A000120(k))/2.
Row sums are 2^n.
|
|
LINKS
|
|
|
EXAMPLE
|
Table begins:
1;
1, 1;
1, 2, 1;
1, 2, 2, 2, 1;
1, 3, 4, 4, 3, 1;
1, 3, 5, 7, 7, 5, 3, 1;
...
|
|
MATHEMATICA
|
row[n_] := CoefficientList[Product[1 + x^DigitCount[k, 2, 1], {k, 1, n}], x]; Table[row[n], {n, 0, 10}] // Flatten (* Amiram Eldar, Jul 22 2023 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,tabf
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|