cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A333077 Number of maximal independent sets in the binary de Bruijn graph of order n.

Original entry on oeis.org

1, 2, 3, 8, 64, 2626, 4850838
Offset: 0

Views

Author

Pontus von Brömssen, Mar 07 2020

Keywords

Crossrefs

Programs

  • Python
    import networkx as nx
    def deBruijn(n):
        return nx.MultiDiGraph(((0, 0), (0, 0))) if n==0 else nx.line_graph(deBruijn(n-1))
    def A333077(n):
        return sum(1 for _ in nx.find_cliques(nx.complement(nx.Graph(deBruijn(n)))))
    # replacement of a function removed from NetworkX by Ross Barnowski, Nov 12 2023