|
|
A346798
|
|
Number of partitions of n into parts congruent to 0, 3 or 4 (mod 7).
|
|
3
|
|
|
1, 0, 0, 1, 1, 0, 1, 2, 1, 1, 3, 3, 2, 3, 6, 4, 4, 8, 9, 6, 10, 15, 12, 12, 21, 22, 18, 25, 36, 30, 32, 48, 52, 45, 60, 78, 72, 75, 105, 113, 105, 130, 166, 156, 166, 218, 236, 224, 274, 332, 325, 345, 436, 469, 462, 544, 649, 644, 688, 839, 907, 903, 1051
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,8
|
|
LINKS
|
|
|
FORMULA
|
G.f.: Product_{k>=1} 1/((1 - x^(7*k))*(1 - x^(7*k-3))*(1 - x^(7*k-4))).
a(n) = a(n-3) + a(n-4) - a(n-13) - a(n-15) + + - - (with a(0)=1 and a(n) = 0 for negative n), where 3, 4, 13, 15, ... is the sequence A057570.
|
|
EXAMPLE
|
For n=19 the a(19)=6 solutions are 3+3+3+3+3+4, 3+3+3+3+7, 3+3+3+10, 3+4+4+4+4, 4+4+4+7, and 4+4+11.
|
|
MATHEMATICA
|
CoefficientList[Series[Product[1/((1 - x^(7*k))(1 - x^(7*k-3))(1 - x^(7*k-4))), {k, 55}], {x, 0, 55}], x] (* Stefano Spezia, Aug 04 2021 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|