The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A035465 Number of partitions of n into parts 8k+4 or 8k+7. 1
0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 2, 0, 1, 2, 2, 0, 1, 3, 3, 1, 2, 4, 4, 1, 3, 6, 6, 2, 5, 8, 7, 3, 7, 12, 10, 5, 10, 15, 13, 7, 15, 21, 17, 11, 20, 27, 22, 16, 28, 36, 29, 22, 37, 46, 38, 31, 50, 60, 50, 42, 65, 77, 64, 57, 86, 99, 82, 76, 111, 125, 106, 101, 144, 159, 135, 132 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,12
LINKS
FORMULA
a(n) ~ exp(Pi*sqrt(n/6)) * Gamma(7/8) / (4 * 2^(3/16) * 3^(7/16) * Pi^(1/8) * n^(15/16)). - Vaclav Kotesovec, Aug 27 2015
MATHEMATICA
nmax = 100; Rest[CoefficientList[Series[Product[1/((1 - x^(8k+4))*(1 - x^(8k+7))), {k, 0, nmax}], {x, 0, nmax}], x]] (* Vaclav Kotesovec, Aug 27 2015 *)
nmax = 60; kmax = nmax/8;
s = Flatten[{Range[0, kmax]*8 + 4}~Join~{Range[0, kmax]*8 + 7}];
Table[Count[IntegerPartitions@n, x_ /; SubsetQ[s, x]], {n, 1, nmax}] (* Robert Price, Aug 04 2020 *)
CROSSREFS
Sequence in context: A133121 A091602 A336695 * A096144 A118401 A354786
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 June 8 00:08 EDT 2024. Contains 373206 sequences. (Running on oeis4.)