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!)
A240018 Number of partitions of n, where the difference between the number of odd parts and the number of even parts is 9. 2
1, 0, 1, 1, 2, 2, 4, 4, 7, 8, 12, 14, 21, 24, 34, 41, 55, 66, 88, 105, 136, 165, 208, 253, 316, 382, 471, 571, 696, 840, 1019, 1224, 1474, 1768, 2114, 2527, 3010, 3582, 4247, 5042, 5951, 7040, 8285, 9766, 11454, 13465, 15742, 18448, 21516, 25136, 29241, 34073 (list; graph; refs; listen; history; text; internal format)
OFFSET
9,5
COMMENTS
With offset 18 number of partitions of n, where the difference between the number of odd parts and the number of even parts is -9.
LINKS
MAPLE
b:= proc(n, i, t) option remember; `if`(abs(t)>n, 0,
`if`(n=0, 1, `if`(i<1, 0, b(n, i-1, t)+
`if`(i>n, 0, b(n-i, i, t+(2*irem(i, 2)-1))))))
end:
a:= n-> b(n$2, -9):
seq(a(n), n=9..80);
CROSSREFS
Column k=9 of A240009.
Sequence in context: A035970 A240017 A035979 * A035989 A240019 A036000
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Mar 30 2014
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 12 19:14 EDT 2024. Contains 373360 sequences. (Running on oeis4.)