A240015 Number of partitions of n, where the difference between the number of odd parts and the number of even parts is 6.
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
Offset: 6
Keywords
Links
- Alois P. Heinz, Table of n, a(n) for n = 6..1000
Crossrefs
Column k=6 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, -6): seq(a(n), n=6..80);
Comments