A240017 Number of partitions of n, where the difference between the number of odd parts and the number of even parts is 8.
1, 0, 1, 1, 2, 2, 4, 4, 7, 8, 12, 14, 21, 24, 34, 41, 55, 66, 87, 105, 135, 165, 206, 252, 313, 380, 466, 567, 688, 833, 1006, 1212, 1454, 1748, 2083, 2495, 2963, 3532, 4177, 4965, 5848, 6924, 8134, 9593, 11236, 13212, 15429, 18082, 21070, 24613, 28611, 33332
Offset: 8
Keywords
Links
- Alois P. Heinz, Table of n, a(n) for n = 8..1000
Crossrefs
Column k=8 of A240009.
Programs
-
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, -8): seq(a(n), n=8..80);
Comments