A349801 Number of integer partitions of n into three or more parts or into two equal parts.
0, 0, 1, 1, 3, 4, 8, 11, 18, 25, 37, 50, 71, 94, 128, 168, 223, 288, 376, 480, 617, 781, 991, 1243, 1563, 1945, 2423, 2996, 3704, 4550, 5589, 6826, 8333, 10126, 12293, 14865, 17959, 21618, 25996, 31165, 37318, 44562, 53153, 63239, 75153, 89111, 105535, 124730
Offset: 0
Keywords
Examples
The a(2) = 1 through a(7) = 11 partitions: (11) (111) (22) (221) (33) (322) (211) (311) (222) (331) (1111) (2111) (321) (421) (11111) (411) (511) (2211) (2221) (3111) (3211) (21111) (4111) (111111) (22111) (31111) (211111) (1111111)
Crossrefs
A096441 counts weakly alternating 0-appended partitions.
Programs
-
Mathematica
Table[Length[Select[IntegerPartitions[n],MatchQ[#,{x_,x_}|{,,__}]&]],{n,0,10}]
Formula
a(1) = 0; a(n > 0) = A000041(n) - ceiling(n/2).
Comments