A344608 Number of integer partitions of n with reverse-alternating sum < 0.
0, 0, 0, 1, 1, 3, 3, 7, 7, 14, 15, 27, 29, 49, 54, 86, 96, 146, 165, 242, 275, 392, 449, 623, 716, 973, 1123, 1498, 1732, 2274, 2635, 3411, 3955, 5059, 5871, 7427, 8620, 10801, 12536, 15572, 18065, 22267, 25821, 31602, 36617, 44533, 51560, 62338, 72105, 86716
Offset: 0
Keywords
Examples
The a(3) = 1 through a(9) = 14 partitions: (21) (31) (32) (42) (43) (53) (54) (41) (51) (52) (62) (63) (2111) (3111) (61) (71) (72) (2221) (3221) (81) (3211) (4211) (3222) (4111) (5111) (3321) (211111) (311111) (4221) (4311) (5211) (6111) (222111) (321111) (411111) (21111111)
Crossrefs
Programs
-
Mathematica
sats[y_]:=Sum[(-1)^(i-Length[y])*y[[i]],{i,Length[y]}]; Table[Length[Select[IntegerPartitions[n],sats[#]<0&]],{n,0,30}]
Comments