login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A240015 Number of partitions of n, where the difference between the number of odd parts and the number of even parts is 6. 2
1, 0, 1, 1, 2, 2, 4, 4, 7, 8, 12, 14, 21, 24, 33, 41, 53, 66, 84, 104, 130, 162, 198, 246, 300, 369, 445, 548, 655, 801, 956, 1160, 1378, 1666, 1970, 2368, 2796, 3340, 3933, 4679, 5494, 6505, 7626, 8987, 10511, 12346, 14404, 16856, 19631, 22893, 26606, 30939 (list; graph; refs; listen; history; text; internal format)
OFFSET

6,5

COMMENTS

With offset 12 number of partitions of n, where the difference between the number of odd parts and the number of even parts is -6.

LINKS

Alois P. Heinz, Table of n, a(n) for n = 6..1000

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, -6):

seq(a(n), n=6..80);

CROSSREFS

Column k=6 of A240009.

Sequence in context: A266780 A266781 A035955 * A035962 A240016 A035970

Adjacent sequences:  A240012 A240013 A240014 * A240016 A240017 A240018

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 25 05:11 EST 2020. Contains 332217 sequences. (Running on oeis4.)