A360682 Number of integer partitions of n of length > 2 whose second differences have median 0.
0, 0, 0, 1, 1, 1, 5, 4, 10, 13, 18, 23, 44, 44, 72, 98, 132, 162, 241, 277, 394, 497, 643, 800, 1076, 1287, 1660, 2078, 2604, 3192, 4065, 4892, 6113, 7490, 9166, 11110, 13717, 16429, 20033, 24201, 29143, 34945, 42251, 50219, 60253, 71852, 85503, 101501, 120899
Offset: 0
Keywords
Examples
The a(3) = 1 through a(9) = 13 partitions: (111) (1111) (11111) (222) (22111) (2222) (333) (321) (31111) (3221) (432) (2211) (211111) (3311) (531) (21111) (1111111) (22211) (22221) (111111) (32111) (33111) (41111) (51111) (221111) (222111) (311111) (321111) (2111111) (411111) (11111111) (2211111) (3111111) (21111111) (111111111)
Crossrefs
Programs
-
Mathematica
Table[Length[Select[IntegerPartitions[n],Median[Differences[#,2]]==0&]],{n,0,30}]
Comments