OFFSET
0,4
COMMENTS
A set partition is of separable type iff the underlying set has a permutation whose adjacent elements always belong to different blocks. Note that this only depends on the sizes of the blocks.
A set partition is also of separable type iff its greatest block size is at most one more than the sum of all its other block sizes.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..250
EXAMPLE
The a(1) = 1 through a(4) = 10 set partitions:
{{1}} {{1},{2}} {{1},{2,3}} {{1,2},{3,4}}
{{1,2},{3}} {{1,3},{2,4}}
{{1,3},{2}} {{1,4},{2,3}}
{{1},{2},{3}} {{1},{2},{3,4}}
{{1},{2,3},{4}}
{{1,2},{3},{4}}
{{1},{2,4},{3}}
{{1,3},{2},{4}}
{{1,4},{2},{3}}
{{1},{2},{3},{4}}
MATHEMATICA
sps[{}]:={{}}; sps[set:{i_, ___}]:=Join@@Function[s, Prepend[#, s]&/@sps[Complement[set, s]]]/@Cases[Subsets[set], {i, ___}];
stnseps[stn_]:=Select[Permutations[Union@@stn], And@@Table[Position[stn, #[[i]]][[1, 1]]!=Position[stn, #[[i+1]]][[1, 1]], {i, Length[#]-1}]&]
Table[Length[Select[sps[Range[n]], stnseps[#]!={}&]], {n, 0, 5}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Aug 09 2025
EXTENSIONS
a(12)-a(25) from Alois P. Heinz, Aug 10 2025
STATUS
approved
