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!)
A035455 Number of partitions of n into parts 8k+2 or 8k+4. 1
0, 1, 0, 2, 0, 2, 0, 3, 0, 4, 0, 6, 0, 7, 0, 9, 0, 11, 0, 15, 0, 18, 0, 23, 0, 27, 0, 34, 0, 41, 0, 50, 0, 59, 0, 72, 0, 85, 0, 103, 0, 120, 0, 143, 0, 167, 0, 198, 0, 230, 0, 270, 0, 313, 0, 366, 0, 422, 0, 491, 0, 564, 0, 653, 0, 748, 0, 861, 0, 984, 0, 1130, 0, 1287, 0, 1471, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
If n is even, a(n) ~ exp(Pi*sqrt(n/6)) * Gamma(1/4) / (4 * 6^(1/8) * Pi^(3/4) * n^(5/8)). - Vaclav Kotesovec, Aug 26 2015
MATHEMATICA
nmax = 100; Rest[CoefficientList[Series[Product[1/((1 - x^(8k+2))*(1 - x^(8k+4))), {k, 0, nmax}], {x, 0, nmax}], x]] (* Vaclav Kotesovec, Aug 26 2015 *)
nmax = 60; kmax = nmax/8;
s = Flatten[{Range[0, kmax]*8 + 2}~Join~{Range[0, kmax]*8 + 4}];
Table[Count[IntegerPartitions@n, x_ /; SubsetQ[s, x]], {n, 1, nmax}] (* Robert Price, Aug 03 2020 *)
CROSSREFS
Cf. A035686.
Sequence in context: A165685 A035457 A005868 * A029191 A094098 A326844
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 April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)