login
A025782
Expansion of 1/((1-x)*(1-x^6)*(1-x^7)).
0
1, 1, 1, 1, 1, 1, 2, 3, 3, 3, 3, 3, 4, 5, 6, 6, 6, 6, 7, 8, 9, 10, 10, 10, 11, 12, 13, 14, 15, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 29, 30, 31, 32, 33, 34, 36, 38, 39, 40, 41, 42, 44, 46, 48, 49, 50, 51, 53
OFFSET
0,7
COMMENTS
Number of partitions of n into parts 1, 6, and 7. - Joerg Arndt, Oct 12 2014
LINKS
MATHEMATICA
CoefficientList[Series[1/((1-x)(1-x^6)(1-x^7)), {x, 0, 60}], x] (* or *) LinearRecurrence[{1, 0, 0, 0, 0, 1, 0, -1, 0, 0, 0, 0, -1, 1}, {1, 1, 1, 1, 1, 1, 2, 3, 3, 3, 3, 3, 4, 5}, 70] (* Harvey P. Dale, Dec 30 2021 *)
PROG
(PARI) a(n)=round((n^2+14*n+18)/84+369830\7^(n%7)%7/7) \\ Tani Akinari, Oct 13 2014
CROSSREFS
Sequence in context: A104406 A080344 A194225 * A120506 A327041 A277267
KEYWORD
nonn
AUTHOR
STATUS
approved