A007363 Maximal self-dual antichains on n points.
0, 1, 3, 5, 20, 168, 11748, 12160647
Offset: 1
References
- N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
Links
- Daniel E. Loeb, On Games, Voting Schemes and Distributive Lattices. LaBRI Report 625-93, University of Bordeaux I, 1993. [Broken link]
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]]]]; fasmax[y_]:=Complement[y,Union@@(Most[Subsets[#]]&/@y)]; Table[Length[fasmax[stableSets[Subsets[Range[n],{1,n}],Or[Intersection[#1,#2]=={},SubsetQ[#1,#2]]&]]],{n,0,5}] (* Gus Wiseman, Jul 02 2019 *) (* 2nd program *) n = 2^6; g = CompleteGraph[n]; i = 0; While[i < n, i++; j = i; While[j < n, j++; If[BitAnd[i, j] == 0 || BitAnd[i, j] == i || BitAnd[i, j] == j, g = EdgeDelete[g, i <-> j]]]]; sets = FindClique[g, Infinity, All]; Length[sets]-1 (* Elijah Beregovsky, May 06 2020 *)
Formula
Extensions
a(8) from Elijah Beregovsky, May 06 2020
Comments