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!)
A035658 Number of partitions of n into parts 7k+1 and 7k+3 with at least one part of each type. 3
0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 5, 5, 6, 8, 8, 9, 11, 14, 16, 18, 22, 24, 26, 30, 36, 40, 45, 53, 57, 62, 71, 80, 89, 100, 114, 124, 135, 151, 167, 184, 205, 229, 249, 271, 299, 327, 358, 395, 436, 474, 515, 564, 612, 666, 730, 798, 864, 937, 1019, 1100, 1192, 1298 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,7
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..1000 (first 125 terms from Robert Price)
FORMULA
G.f.: (-1 + 1/Product_{k>=0} (1 - x^(7 k + 1)))*(-1 + 1/Product_{k>=0} (1 - x^(7 k + 3))). - Robert Price, Aug 16 2020
MATHEMATICA
nmax = 62; s1 = Range[0, nmax/7]*7 + 1; s2 = Range[0, nmax/7]*7 + 3;
Table[Count[IntegerPartitions[n, All, s1~Join~s2],
x_ /; ContainsAny[x, s1 ] && ContainsAny[x, s2 ]], {n, 1, nmax}] (* Robert Price, Aug 14 2020 *)
nmax = 62; l = Rest@CoefficientList[Series[(-1 + 1/Product[(1 - x^(7 k + 1)), {k, 0, nmax}])*(-1 + 1/Product[(1 - x^(7 k + 3)), {k, 0, nmax}]), {x, 0, nmax}], x] (* Robert Price, Aug 16 2020 *)
CROSSREFS
Sequence in context: A145725 A058727 A304683 * A077018 A007918 A365615
KEYWORD
nonn
AUTHOR
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 March 28 10:31 EDT 2024. Contains 371240 sequences. (Running on oeis4.)