A326574 Number of antichains of subsets of {1..n} with equal edge-sums.
2, 3, 5, 10, 22, 61, 247, 2096, 81896, 52260575
Offset: 0
Examples
The a(0) = 2 through a(4) = 22 antichains: {} {} {} {} {} {{}} {{}} {{}} {{}} {{}} {{1}} {{1}} {{1}} {{1}} {{2}} {{2}} {{2}} {{1,2}} {{3}} {{3}} {{1,2}} {{4}} {{1,3}} {{1,2}} {{2,3}} {{1,3}} {{1,2,3}} {{1,4}} {{3},{1,2}} {{2,3}} {{2,4}} {{3,4}} {{1,2,3}} {{1,2,4}} {{1,3,4}} {{2,3,4}} {{1,2,3,4}} {{3},{1,2}} {{4},{1,3}} {{1,4},{2,3}} {{2,4},{1,2,3}} {{3,4},{1,2,4}}
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}]
Extensions
a(9) from Andrew Howroyd, Aug 13 2019
Comments