login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A240014 Number of partitions of n, where the difference between the number of odd parts and the number of even parts is 5. 2
1, 0, 1, 1, 2, 2, 4, 4, 7, 8, 12, 14, 20, 24, 32, 41, 51, 65, 81, 102, 125, 158, 190, 239, 287, 357, 426, 528, 626, 769, 913, 1110, 1314, 1590, 1877, 2255, 2660, 3174, 3738, 4439, 5215, 6162, 7230, 8502, 9954, 11666, 13626, 15911, 18551, 21590, 25118, 29154 (list; graph; refs; listen; history; text; internal format)
OFFSET

5,5

COMMENTS

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

LINKS

Alois P. Heinz, Table of n, a(n) for n = 5..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, -5):

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

CROSSREFS

Column k=5 of A240009.

Sequence in context: A107235 A266779 A035949 * A266780 A266781 A035955

Adjacent sequences:  A240011 A240012 A240013 * A240015 A240016 A240017

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 October 20 02:18 EDT 2019. Contains 328244 sequences. (Running on oeis4.)