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.

Showing 1-2 of 2 results.

A359994 Independence number of the 2-Fibonacci digraph of order n.

Original entry on oeis.org

1, 1, 2, 3, 6, 9, 16, 25, 44, 67, 115
Offset: 1

Views

Author

Pontus von Brömssen, Jan 21 2023

Keywords

Comments

See Dalfó and Fiol (2019) or A360000 for the definition of the 2-Fibonacci graph.
a(12) >= 179. - Pontus von Brömssen, Nov 12 2023

Crossrefs

Programs

  • Python
    import networkx as nx
    def F(n): return nx.DiGraph(((0,0),(0,1),(1,0))) if n == 1 else nx.line_graph(F(n-1))
    def A359994(n): return nx.max_weight_clique(nx.complement(nx.Graph(F(n))),weight=None)[1]

A359995 Number of maximal independent sets in the 2-Fibonacci digraph of order n.

Original entry on oeis.org

2, 3, 4, 10, 32, 184, 5110, 681454
Offset: 1

Views

Author

Pontus von Brömssen, Jan 21 2023

Keywords

Comments

See Dalfó and Fiol (2019) or A360000 for the definition of the 2-Fibonacci graph.
The loop at node 0 is disregarded, so 0 is allowed in the independent sets.

Crossrefs

Programs

  • Python
    import networkx as nx
    def F(n): return nx.DiGraph(((0,0),(0,1),(1,0))) if n == 1 else nx.line_graph(F(n-1))
    def A359995(n): return sum(1 for c in nx.find_cliques(nx.complement(nx.Graph(F(n)))))
Showing 1-2 of 2 results.