The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A367089 Number of maximal independent vertex sets in the n X n zebra graph. 1

%I #26 Jan 29 2024 10:59:31

%S 1,1,1,16,900,5620,15022,134232,8215633,1062549091,129577107261

%N Number of maximal independent vertex sets in the n X n zebra graph.

%H Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/Matching.html">Matching</a>.

%H Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/MaximalIndependentVertexSet.html">Maximal Independent Vertex Set</a>.

%H Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/ZebraGraph.html">Zebra Graph</a>.

%t Table[Length@FindIndependentVertexSet[RelationGraph[Sort[Abs[Subtract[##]]] == {2, 3} &, Tuples[Range[n], 2]], Infinity, All], {n, 8}]

%o (Python)

%o from networkx import empty_graph, complement, find_cliques

%o def A367089(n):

%o G = empty_graph((i,j) for i in range(n) for j in range(n))

%o G.add_edges_from(((i,j),(i+k,j+l)) for i in range(n) for j in range(n) for (k,l) in ((2,3),(2,-3),(-2,3),(-2,-3),(3,2),(3,-2),(-3,2),(-3,-2)) if 0<=i+k<n and 0<=j+l<n)

%o return sum(1 for c in find_cliques(complement(G))) # _Chai Wah Wu_, Jan 27 2024

%K nonn,more

%O 1,4

%A _Eric W. Weisstein_, Jan 26 2024

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 16 07:19 EDT 2024. Contains 373423 sequences. (Running on oeis4.)