OFFSET
1,2
COMMENTS
Also the number of integer partitions of n + 1 with median > 1, or with no more 1's than non-1 parts. - Gus Wiseman, Jul 10 2023
FORMULA
EXAMPLE
a(6) = 9 counts all the 11 partitions of 6 except 42 and 411.
From Gus Wiseman, Jul 10 2023 (Start)
The a(2) = 1 through a(8) = 14 partitions:
(2) (3) (4) (5) (6) (7) (8)
(21) (22) (32) (33) (43) (44)
(31) (41) (42) (52) (53)
(221) (51) (61) (62)
(222) (322) (71)
(321) (331) (332)
(2211) (421) (422)
(2221) (431)
(3211) (521)
(2222)
(3221)
(3311)
(4211)
(22211)
(End)
MATHEMATICA
Table[Count[IntegerPartitions[n], p_ /; ! MemberQ[p, Length[p] + Min[p]]], {n, 50}]
Table[Length[Select[IntegerPartitions[n+1], Median[#]>1&]], {n, 30}] (* Gus Wiseman, Jul 10 2023 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Feb 27 2014
EXTENSIONS
Formula corrected by Gus Wiseman, Jul 11 2023
STATUS
approved