|
|
A035670
|
|
Number of partitions of n into parts 7k+4 and 7k+6 with at least one part of each type.
|
|
3
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 2, 1, 0, 1, 2, 2, 2, 4, 2, 2, 2, 6, 4, 6, 6, 6, 4, 8, 10, 10, 10, 13, 11, 12, 14, 21, 18, 21, 21, 25, 22, 30, 34, 37, 35, 41, 42, 46, 50, 63, 61, 66, 67, 79, 78, 93, 100, 110, 107, 120, 128, 141, 149, 172, 175, 186, 192, 220, 226
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,17
|
|
LINKS
|
|
|
FORMULA
|
G.f. : (-1 + 1/Product_{k>=0} (1 - x^(7 k + 4)))*(-1 + 1/Product_{k>=0} (1 - x^(7 k + 6). - Robert Price, Aug 15 2020
|
|
MATHEMATICA
|
nmax = 75; s1 = Range[0, nmax/7]*7 + 4; s2 = Range[0, nmax/7]*7 + 6;
Table[Count[IntegerPartitions[n, All, s1~Join~s2],
x_ /; ContainsAny[x, s1 ] && ContainsAny[x, s2 ]], {n, 1, nmax}] (* Robert Price, Aug 15 2020 *)
nmax = 75; l = Rest@CoefficientList[Series[(-1 + 1/Product[(1 - x^(7 k + 4)), {k, 0, nmax}])*(-1 + 1/Product[(1 - x^(7 k + 6)), {k, 0, nmax}]), {x, 0, nmax}], x] (* Robert Price, Aug 15 2020*)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|