A386634 Number of inseparable type set partitions of {1..n}.
0, 0, 1, 1, 5, 6, 37, 50, 345, 502, 3851, 5897, 49854, 79249, 730745, 1195147, 11915997, 19929390, 213332101, 363275555, 4150104224, 7172334477, 87003759195, 152231458128, 1952292972199, 3451893361661, 46625594567852, 83183249675125, 1179506183956655, 2120758970878892
Offset: 0
Keywords
Examples
The a(2) = 1 through a(5) = 6 set partitions: {{1,2}} {{1,2,3}} {{1,2,3,4}} {{1,2,3,4,5}} {{1},{2,3,4}} {{1},{2,3,4,5}} {{1,2,3},{4}} {{1,2,3,4},{5}} {{1,2,4},{3}} {{1,2,3,5},{4}} {{1,3,4},{2}} {{1,2,4,5},{3}} {{1,3,4,5},{2}}
Links
- Alois P. Heinz, Table of n, a(n) for n = 0..250
Crossrefs
Programs
-
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}]
Extensions
a(12)-a(29) from Alois P. Heinz, Aug 10 2025
Comments