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-6 of 6 results.

A004401 Least number of edges in graph containing all trees on n nodes.

Original entry on oeis.org

0, 1, 2, 4, 6, 8, 11, 13, 16, 18
Offset: 1

Views

Author

Keywords

Comments

Paul Tabatabai's program only tests graphs on n nodes, but the term a(9) = 16 is now confirmed. It seems to be sufficient to test only graphs on n vertices (cf. Eqn. 3 and Related Question 1 in Chung and Graham). Moreover, if this assumption is true, then the next terms are a(11) = 22 and a(12) = 24. Also note that my program can be used to enumerate all possible solutions. - Manfred Scheucher, Jan 25 2018
Chung and Graham use n and T_n to refer to trees on n *edges* (i.e., n-1 nodes). - Eric W. Weisstein, Jan 30 2025
Graphs containing all trees on n nodes could be referred to as fully n-forested graphs. - Eric W. Weisstein, Jan 31 2025

References

  • R. L. Graham, personal communication.
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Cf. A380740 (numbers of smallest fully forested graphs).

Extensions

a(9) by Paul Tabatabai, Jul 17 2016
a(10) by Manfred Scheucher, Jan 25 2018

A348638 Minimal order of a graph containing as induced subgraphs isomorphic copies of all trees on n unlabeled nodes.

Original entry on oeis.org

1, 2, 3, 5, 7, 9, 11, 13
Offset: 1

Views

Author

James Trimble, Nov 09 2021

Keywords

Comments

a(n) is the minimal order of an induced universal graph for the family of trees on n vertices.
a(9) <= 15 and a(10) <= 18 (Trimble, 2021).

Crossrefs

A370001 Maximum number of induced subgraphs, up to isomorphism, of an n-vertex graph.

Original entry on oeis.org

2, 3, 5, 8, 13, 23, 41, 77, 152
Offset: 1

Views

Author

Pontus von Brömssen, Feb 08 2024

Keywords

Comments

The null subgraph is included in the counts.
A graph and its complement have the same number of induced subgraphs.
The number of terms in the n-th row of A263342 is a(n)-n.

Examples

			The table below shows all optimal graphs for n <= 9. For n = 10, a lower bound obtained by generating several thousands of random graphs is shown, together with a graph attaining this bound. Only one graph in each complementary pair is listed. If there is no known simple description or name of the optimal graphs, they are shown in the graph6 format.
   n   a(n)   optimal graphs
  ------------------------------------
   1     2    K_1 (self-complementary)
   2     3    K_2
   3     5    P_3 (path)
   4     8    paw graph
   5    13    dart graph
   6    23    initial part of the Rado graph using BIT predicate (House of Graphs id 25152)
   7    41    "FCZJw"
   8    77    "GCrbU{" (House of Graphs id 36157), "G?qjvS"
   9   152    "HPobRJm"
  10 >=312    "InLEipZiG" (upper bound: 385)
For n = 3, the path graph has 5 induced subgraphs: the null graph, K_1, K_2, the empty graph on 2 vertices, and itself. This is the maximum possible, so a(3) = 5.
		

Crossrefs

Cf. A000088, A097911, A263342, A370002 (connected subgraphs).

Formula

a(n) <= Sum_{k=0..n} min(A000088(k),binomial(n,k)).

A370003 Least number of vertices of a universal graph for connected n-vertex graphs, i.e., a graph containing as induced subgraphs isomorphic copies of all connected n-vertex graphs.

Original entry on oeis.org

1, 2, 4, 7, 9
Offset: 1

Views

Author

Pontus von Brömssen, Feb 08 2024

Keywords

Crossrefs

A370301 Least number of vertices of a universal graph for cycles up to length n, i.e., a graph containing induced cycles of lengths 3..n.

Original entry on oeis.org

3, 5, 6, 7, 9, 10, 11, 12, 13, 14, 16
Offset: 3

Views

Author

Pontus von Brömssen, Feb 14 2024

Keywords

Examples

			In the following table, graphs with a(n) vertices and induced cycles of lengths 3..n are shown. The vertices 1, 2, ..., n constitute an induced cycle; only the additional vertices n+1, ..., a(n) and their lists of neighbors are given.
   n | a(n) | vertices outside the given induced n-cycle and their neighbors
  ---+------+---------------------------------------------------------------
   3 |   3  | none
   4 |   5  | 5:1,2
   5 |   6  | 6:1,2,4
   6 |   7  | 7:1,2,4
   7 |   9  | 8:1,2,4,9; 9:6,8
   8 |  10  | 9:1,3,4,10; 10:6,9
   9 |  11  | 10:1,5,11; 11:2,5,10
  10 |  12  | 11:1,2,4,7; 12:6,9
  11 |  13  | 12:1,2,5,6,8; 13:3,11
  12 |  14  | 13:1,2,5,7; 14:3,6,8
  13 |  16  | 14:1,3,4,7,15; 15:10,14; 16:6,9
For n = 7, the graph with a cycle 1-2-...-7-1 and two additional vertices with edges 8-1, 8-2, 8-4, 8-9, and 9-6 contains induced cycles of lengths 3..7: 1-2-8-1, 2-3-4-8-2, 1-7-6-9-8-1 (for example), 1-7-6-5-4-8-1, and 1-2-3-4-5-6-7-1. No such graph with fewer vertices exists, so a(7) = 9.
		

Crossrefs

Formula

a(n) = A370302(2^(n-2)-1).
a(n) <= a(n-1) + 2.

A340318 Minimum size of a partial order that contains all partial orders of size n.

Original entry on oeis.org

0, 1, 3, 5, 8, 11, 16
Offset: 0

Views

Author

Caleb Stanford, Jan 04 2021

Keywords

Comments

a(n) is the minimum number of elements in a poset P such that every poset of size n is isomorphic to a subset of P, where the subset inherits the order from P.
Elementary bounds are a(n) >= 2n-1 because it must contain a chain and an antichain, and a(n) <= 2^n-1 because every partial order embeds into the powerset partial order on n elements. It is shown in the MathOverflow link that a(n) has no polynomial upper bound. This is in particular derived from binomial(a(n),n) >= A000112(n).
a(4) = 8 verified using a computer-assisted proof with a SAT solver.
a(5) = 11 proven on MathOverflow.
a(6) = 16 and 16 <= a(7) <= 25 proven on MathOverflow. - Jukka Kohonen, Jan 15 2021

Examples

			a(2) = 3 because there are 2 nonisomorphic posets on two elements, and both embed into the poset of three elements {a, b, c} with ordering a < b (and other pairs are incomparable).
a(3) = 5 because all posets on three elements can be embedded into {a, b, c, d, e} with ordering a < d, b < c < d, and b < e.
		

Crossrefs

Programs

  • Sage
    # Find an u-poset that contains all n-posets as induced posets.
    def find_universal_poset(n,u):
        PP = list(Posets(n))
        for U in Posets(u):
            ok = True
            for P in PP:
                if not U.has_isomorphic_subposet(P):
                    ok = False
                    break
            if ok:
                return U
        return None

Extensions

a(6) from Jukka Kohonen, Jan 15 2021
Showing 1-6 of 6 results.