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.

A333717 a(n) is the minimal number of vertices in a simple graph with exactly n cycles.

Original entry on oeis.org

3, 5, 4, 6, 8, 5, 4, 6, 8, 6, 6, 5, 5, 6, 6, 8, 7, 6, 6, 6, 6, 5, 6, 6, 7, 7, 7, 7, 7, 6, 7, 6, 6, 7, 6, 6, 5, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 6, 6, 6, 7, 7, 7, 7, 6, 7, 7, 7, 6, 7, 7, 7, 8, 8, 7, 7, 7, 8, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 6, 7, 7
Offset: 1

Views

Author

Christopher Purcell, Sep 03 2020

Keywords

Comments

a(n+1) is at most a(n) + 2 since we can add a triangle to a graph with a(n) vertices and increase the number of cycles by 1.
David Eppstein observed that an N-gon with each edge replaced by a triangle has 2^N + N cycles and 2N vertices, and gluing such graphs together greedily yields an upper bound on a(n) of O(log n).

Examples

			For n = 2, a pair of triangles sharing a vertex has five vertices; it is easy to check that no graph on three or four vertices has exactly two cycles, so a(2) = 5.