A361864 Number of set partitions of {1..n} whose block-medians have integer median.
1, 0, 3, 6, 30, 96, 461, 2000, 10727, 57092, 342348
Offset: 1
Examples
The a(1) = 1 through a(4) = 6 set partitions: {{1}} . {{123}} {{1}{234}} {{13}{2}} {{123}{4}} {{1}{2}{3}} {{1}{2}{34}} {{12}{3}{4}} {{1}{24}{3}} {{13}{2}{4}} The set partition {{1,2},{3},{4}} has block-medians {3/2,3,4}, with median 3, so is counted under a(4).
Comments