login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A346797 Number of partitions of n into parts congruent to 0, 2 or 5 (mod 7). 3
1, 0, 1, 0, 1, 1, 1, 2, 1, 3, 2, 3, 4, 3, 7, 4, 9, 6, 10, 11, 11, 17, 13, 22, 19, 25, 29, 28, 42, 34, 53, 46, 61, 67, 69, 92, 83, 115, 109, 133, 149, 152, 198, 182, 243, 233, 282, 309, 324, 398, 385, 485, 483, 563, 621, 648, 784, 768, 944, 947, 1096, 1194, 1262 (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-2))*(1 - x^(7*k-5))).
a(n) = a(n-2) + a(n-5) - a(n-11) - a(n-17) + + - - (with a(0)=1 and a(n) = 0 for negative n), where 2, 5, 11, 17, ... is the sequence A274830.
a(n) ~ exp(Pi*sqrt(2*n/7)) / (8*cos(3*Pi/14)*n). - Vaclav Kotesovec, Aug 05 2021
EXAMPLE
For n=17 the a(17)=6 solutions are 2+2+2+2+2+2+5, 2+2+2+2+2+7, 2+2+2+2+9, 2+5+5+5, 5+5+7 and 5+12.
MATHEMATICA
CoefficientList[Series[Product[1/((1 - x^(7*k))(1 - x^(7*k-2))(1 - x^(7*k-5))), {k, 52}], {x, 0, 52}], x] (* Stefano Spezia, Aug 04 2021 *)
CROSSREFS
Sequence in context: A144337 A143929 A153583 * A029163 A196191 A137661
KEYWORD
nonn
AUTHOR
Ludovic Schwob, Aug 04 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 22:36 EDT 2024. Contains 371917 sequences. (Running on oeis4.)