A326030 Number of antichains of subsets of {1..n} with different edge-sums.
2, 3, 6, 19, 132, 3578, 826949
Offset: 0
Examples
The a(0) = 2 through a(3) = 19 antichains: {} {} {} {} {{}} {{}} {{}} {{}} {{1}} {{1}} {{1}} {{2}} {{2}} {{1,2}} {{3}} {{1},{2}} {{1,2}} {{1,3}} {{2,3}} {{1},{2}} {{1,2,3}} {{1},{3}} {{2},{3}} {{1},{2,3}} {{2},{1,3}} {{1,2},{1,3}} {{1,2},{2,3}} {{1},{2},{3}} {{1,3},{2,3}} {{1,2},{1,3},{2,3}}
Crossrefs
Programs
-
Mathematica
stableSets[u_,Q_]:=If[Length[u]==0,{{}},With[{w=First[u]},Join[stableSets[DeleteCases[u,w],Q],Prepend[#,w]&/@stableSets[DeleteCases[u,r_/;r==w||Q[r,w]||Q[w,r]],Q]]]]; cleqset[set_]:=stableSets[Subsets[set],SubsetQ[#1,#2]||Total[#1]==Total[#2]&]; Table[Length[cleqset[Range[n]]],{n,0,5}]
Comments