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!)
A340761 Number of partitions of n into 4 parts whose 'middle' two parts have the same parity. 0
0, 0, 0, 0, 1, 1, 1, 2, 4, 4, 5, 7, 10, 11, 13, 16, 21, 23, 26, 31, 38, 41, 46, 53, 62, 67, 74, 83, 95, 102, 111, 123, 138, 147, 159, 174, 192, 204, 219, 237, 259, 274, 292, 314, 340, 358, 380, 406, 436, 458, 484, 514, 549, 575, 605, 640, 680, 710, 745, 785, 830, 865, 905, 950, 1001 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,8
LINKS
FORMULA
a(n) = Sum_{k=1..floor(n/4)} Sum_{j=k..floor((n-k)/3)} Sum_{i=j..floor((n-j-k)/2)} [(j mod 2) = (i mod 2)], where [ ] is the Iverson bracket.
MATHEMATICA
Table[Sum[Sum[Sum[KroneckerDelta[Mod[i, 2], Mod[j, 2]], {i, j, Floor[(n - j - k)/2]}], {j, k, Floor[(n - k)/3]}], {k, Floor[n/4]}], {n, 0, 80}]
CROSSREFS
Sequence in context: A256984 A111138 A349462 * A035625 A219875 A132128
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Jan 19 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 May 21 16:37 EDT 2024. Contains 372738 sequences. (Running on oeis4.)