# Repeating one ten-vertex graph makes two six-vertex shapes equally common

Choose six vertices at random from a large graph and keep every edge between them. How often can the resulting shape be a tree with three arms extending from a central vertex, one arm a single edge long and the other two each two edges long? Joining the tips of the long arms gives a second shape: a pentagon with a leaf, a vertex attached by a single edge. A survey estimated almost the same maximum frequency for the two shapes, but the best examples it gave for each fell well below the estimates. Could the same graphs approach both maxima, or would making one shape common come at the expense of the other?

Repeating a ten-vertex graph called the Petersen graph gives each shape a limiting frequency of $480/11111$, about 4.32004%. The two frequencies agree because, for every choice of arms in the construction, exactly half the ways to extend them join their tips. The common frequency comes within $4\times10^{-8}$ of both numerical estimates.

## How the two frequencies compare

The fraction of vertex sets that give a specified shape is its *induced density*: missing edges matter as much as present ones. The largest possible density approaches a limit as the graph grows. This limit is called the *inducibility* of the shape. Any sequence of examples with a known limiting density gives a lower bound on inducibility.

In their [survey of six-vertex graphs](https://arxiv.org/abs/2606.00290v3), Bodnár and colleagues called the tree $F_{26}$ and the pentagon with a leaf $F_{47}$. They obtained lower bounds from different constructions for the two patterns. Where their search fixed the edges between groups of vertices (parts), it allowed at most six parts. They also estimated the maximum densities from above by numerical optimization subject to constraints on eight-vertex graphs. The earlier lower bounds and numerical estimates below come from Table 3 of their survey. The ten parts of the Petersen construction raise both lower bounds.

| Pattern | Earlier lower bound | Petersen limit | Solver estimate |
|---|---:|---:|---:|
| Tree ($F_{26}$) | 0.0293174175 | 0.0432004320… | 0.0432004682 |
| Pentagon with leaf ($F_{47}$) | 0.0279081647 | 0.0432004320… | 0.0432004546 |

## Why the Petersen graph gives equal counts

To build the Petersen graph $P$, take the ten pairs of symbols from a set of five symbols as vertices. Join two vertices if their pairs have no symbol in common. Each vertex has three neighbors. A triangle would need three disjoint pairs, requiring six symbols. A cycle of length four would need two vertices with two common neighbors, but two different pairs leave room for at most one pair disjoint from both.

Start at a center $v$. Each of its three neighbors heads a branch with two further vertices, or tips. All the tips are distinct because there are no cycles of length four. The center, its neighbors and the tips account for the entire graph. Each tip still needs two edges. It cannot join the other tip on its own branch without forming a triangle. Nor can it join both tips on another branch without forming a cycle of length four. Thus between any two branches the tips are paired off by edges, one partner per tip. This pairing is called a perfect matching.

Choose one neighbor of $v$ for the short arm. On each of the other two branches, choose one tip to extend the arm. Of the four possible pairs of tips, two are partners in the matching and two are not. The partners close the pentagon; the other pairs leave the tree open. Every other edge or missing edge is the same for both shapes. Each shape has just one vertex of degree three (three neighbors), so counting by center counts each set once. The ten centers give $10\cdot3\cdot2=60$ sets of each kind.

![Two induced sets at center 12. Replacing tip 14 with 24 closes a pentagon.](results/completions.svg)

Figure 1. Each label names a pair of symbols, with disjoint pairs joined by an edge. At center 12, fix the short arm at 45 and the left tip at 15. The right tip 14 shares a symbol with 15, leaving the tree open. The other right tip, 24, closes the pentagon. Choosing 25 for the left tip reverses the outcomes.

An independent count used another drawing of the Petersen graph: an outer pentagon, an inner five-point star and five edges joining corresponding vertices. For each of its 210 six-vertex sets we compared the induced edges with all relabelings of each target in the survey's Table 3. This gave 60 copies of each shape.

## How the count carries over to large graphs

Use a small graph, the *seed*, as a template. Replace each vertex with an equal part and join all vertices in two different parts whenever the corresponding seed vertices are adjacent. Repeat the same division within each part. A vertex in this construction has an address: a word whose letters name successive seed vertices. All words have the same length. Two words are joined exactly when their letters at the first place they differ are adjacent in the seed. Increasing the word length gives successively larger graphs called balanced blow-ups.

For either target, the six first letters in a copy must be all different or all alike. To see why, suppose a copy spans several parts and one part contains at least two of its vertices. Since the shape is connected, some vertex outside that part has a neighbor inside. It must be joined to every selected vertex inside, by the rule for joining parts. No two of those inside vertices can be adjacent, since the shape has no triangle. Nor can a second outside vertex join them, since the shape has no cycle of length four. The inside vertices would then be leaves with a common neighbor, which neither shape has.

Let the seed have $n$ vertices and contain $c$ six-vertex sets of the desired shape. Draw six words independently and uniformly. The probability that their first letters are distinct and give the shape is $6!c/n^6$: each successful set can occur in any order. With probability $n/n^6$ all first letters agree and the next letters give a fresh draw. As the words grow longer, the chance of drawing the same word twice tends to zero, so this gives the limiting density for distinct vertices as well. Summing over the possible numbers of fresh draws gives the geometric sum $6!c/(n^6-n)$. With $n=10$ and $c=60$, the limit is $480/11111$ for each shape.

## Comparison with other seeds

For 39 six-vertex patterns we screened all 3,442 vertex-transitive graphs with 10–23 vertices in the Royle–Holt census. In such a graph a symmetry can carry any vertex to any other. To count sets of six, we counted those containing one fixed vertex, multiplied by the number of vertices and divided by six. We compared leaving the parts empty of edges, joining every pair within each part, and filling the parts recursively with the seed or its complement (the graph with edges and missing edges exchanged). Repeating the Petersen graph gave the highest density in the screen for each of the two shapes. Testing the other 774,574 vertex-transitive seeds with 24–32 vertices found no improvement. For ten vertices we also tested every graph in McKay's catalogue, counting all six-vertex sets without the symmetry shortcut. Among all 12,005,168 graphs, the Petersen graph alone maximized the tree count, and it alone maximized the pentagon-with-leaf count.

A proof covers seeds of any size in one class. Consider simple graphs (no loops or repeated edges) with at least two vertices, no triangles or cycles of length four, and the same number $d$ of neighbors at every vertex. The last condition is called regularity. Among balanced repeats of these seeds, the Petersen graph uniquely maximizes each density separately. The conditions apply to the seed itself.

If $d$ is below three, no copy can use distinct parts, since its center needs three neighbors. For $d\ge3$, each vertex has $d$ branches, with $d-1$ distinct tips on each. Counting the center, its neighbors and their tips gives $n\ge1+d+d(d-1)=d^2+1$. To count both shapes together at a center, choose two neighbors for the long arms, a third for the short arm and one tip on each long arm. Only the edge between the tips can vary, and either choice counts. Multiplying by the number of centers and applying the limiting density formula gives the sum of the two densities:
\[
 U(d,n)=\frac{720\binom d2(d-2)(d-1)^2}{n^5-1}.
\]

Whenever this sum falls below the Petersen density for one shape, neither shape can reach that density. At fixed degree the sum decreases with $n$. At $(d,n)=(3,12),(4,18),(5,26),(6,37)$ it is respectively less than $0.035,0.042,0.030,0.016$. For $d\ge7$ it is less than $360/d^5\le360/7^5$. A graph of degree three has an even number of vertices because the sum of degrees counts each edge twice. These bounds leave only $(3,10)$ and $(4,17)$.

In both cases the center and its branches fill the graph. Each tip needs $d-1$ further neighbors, at most one in each other branch. The tips on any two branches must therefore form a perfect matching. Exactly $1/(d-1)$ of the tip choices close the pentagon. At $(4,17)$ even the larger share, $2U(4,17)/3$, is below $0.037$. At $(3,10)$ the split is even. Each of the six tips has two neighbors among the tips, so the tips form disjoint cycles. With cycles of length three and four excluded, there can only be a single six-cycle. Tips with the same parent must lie opposite one another on that cycle: distances one and two would create a triangle and a cycle of length four, respectively, through the parent. This fixes every edge up to relabeling and gives the Petersen graph.

## Effect of unequal part sizes

Larger parts are more likely to supply a letter in a random address. This changes both the chance of drawing a target on the first letters and the chance of getting a fresh draw. An exact computer-assisted calculation shows that equal parts uniquely maximize each density when the same split is repeated.

Let $x_i$ be the fraction assigned to Petersen vertex $i$, with $x_i\ge0$, at least two fractions positive and their sum equal to one. Choose each letter independently with these probabilities. Finite graphs approach the resulting densities: approximate the part sizes at any fixed word length and then increase that length. The chance of two addresses agreeing throughout tends to zero. For either target, let $\mathcal H$ denote its family of 60 six-vertex sets in the seed. Counting the cases of six different letters and six identical letters as before gives density
\[
 \frac{720\sum_{S\in\mathcal H}\prod_{i\in S}x_i}{1-\sum_i x_i^6}.
\]
To bound this by $480/11111$, multiply through by the positive denominator. Writing the sixth power of the sum of the weights in place of one gives the equivalent inequality
\[
 D(x):=(\textstyle\sum_i x_i)^6-\sum_i x_i^6-K\sum_{S\in\mathcal H}\prod_{i\in S}x_i\ \ge\ 0,
 \qquad K=720\cdot11111/480=33333/2.
\]
Every term has degree six, so rescaling all weights preserves the sign.

### Checking the coefficients

Put the vertices in decreasing order of weight. Let $A_j$ be the set of the first $j$ vertices (a prefix), and let $u_j$ be the gap between weights in positions $j$ and $j+1$, taking the eleventh weight to be zero. Each gap is nonnegative. Adding $u_j$ to the first $j$ coordinates for every $j$ reconstructs the weight vector: $x=\sum_{j=1}^{10}u_j\mathbf1_{A_j}$, where $\mathbf1_{A_j}$ is one on the prefix and zero elsewhere. If all coefficients in the expansion of $D$ in the gaps are nonnegative, so is $D$.

Each term contains six gaps, possibly repeated. For a product $u_{a_1}\cdots u_{a_6}$ with $1\le a_1\le\cdots\le a_6\le10$, its coefficient has the sign of the integer
\[
 480\left(\prod_{i=1}^6 a_i-a_1\right)
 -11111\sum_{S\in\mathcal H}\prod_{i=1}^6
 \max\{0,|S\cap A_{a_i}|-i+1\}.
\]
To obtain the first count, choose a vertex from each successive prefix and subtract the $a_1$ choices that repeat one vertex throughout. For the count for $S$, choose a different member of $S$ at each step. All earlier choices belong to the current prefix, so at step $i$ they use up $i-1$ of its eligible vertices. The product counts the ways to use each vertex of $S$ once. Allowing all orders of the six positions multiplies the displayed integer by the same positive factor for both counts: the monomial's multinomial coefficient (the number of distinct position orders) divided by 480.

For each shape we checked all $\binom{15}{6}=5005$ tuples of prefix sizes in each of $10!/5!=30240$ vertex orders distinct up to permutations of the five symbols. We built each order one vertex at a time. Among candidates equivalent under symbol permutations that fixed every vertex already chosen, we took the least vertex in each group. Of the 151,351,200 coefficients per shape, all were nonnegative for the tree. For the pentagon with a leaf, 77,328 were negative; the smallest integer in the sign test was $-384$. Every negative coefficient belonged to a term containing exactly four factors of $u_{10}$, the smallest weight.

### The terms with four factors of the smallest weight

Although some of these terms have negative coefficients, their sum is positive whenever the smallest weight is positive and the weights differ. To group them, write $t=u_{10}$ and subtract $t$ from every weight, leaving the vector $y=x-t\mathbf1$, where $\mathbf1$ has every entry equal to one. The terms in question together give the fourth-power term in $D(t\mathbf1+y)$.

It is convenient to subtract the mean $\bar y$ as well, giving $z=y-\bar y\mathbf1$. This shifts $t$ by a constant without changing its fourth-power coefficient: the coefficients of $t^6$ and $t^5$ both vanish. The former vanishes because $D(\mathbf1)=0$ from the equal-weight count. For the latter, all first derivatives there are equal by vertex symmetry. Their sum is zero because $D$ has degree six in every term and vanishes at $\mathbf1$, so each derivative is zero.

The fourth-power coefficient depends on how often two vertices occur together in a pentagon-with-leaf set. Each such set uses six edges and nine nonedges (pairs without an edge). Symmetries interchange all 15 edges and likewise all 30 nonedges. Across the 60 sets this gives 24 occurrences per edge and 18 per nonedge. Counting pairs directly in the independent pentagon-and-star representation also gave 24 per edge and 18 per nonedge.

Write $Q=\sum z_i^2$ for the total squared deviation and $E(P)$ for the set of Petersen edges, each counted once. Using the pair counts, the coefficient of $t^4$ is
\[
 -15Q-K\left(18\sum_{i<j}z_i z_j+6\sum_{ij\in E(P)}z_i z_j\right)
 =3K\sum_{ij\in E(P)}(z_i-z_j)^2-15Q .
\]
The equality uses $\sum z_i=0$ and the fact that each vertex has three neighbors. The vertices with the largest and smallest entries of $z$ are at most two edges apart. The sum of squared differences along edges is therefore at least half the squared difference between those extremes. Since the entries have mean zero, $Q$ is at most ten times that squared difference. The coefficient is thus at least $(3K/20-15)Q$, positive unless all weights agree. The sign test covers all other powers, proving $D\ge0$.

It remains to check when equality is possible. If only $m$ weights are positive, with $2\le m\le9$, the gap $u_m$ is positive. For both shapes the smallest integer in the sign test for $u_m^6$ over these repeated prefixes was 29760, so this term alone is positive. If all weights are positive but unequal, the grouped $t^4$ term is positive for the pentagon with a leaf. For the tree, every coefficient with exactly four full prefixes ($a_i=10$) tested positive, with minimum sign-test value 533280. At least one gap other than $u_{10}$ is positive, so these terms make a positive contribution as well. Only equal weights attain the bound.

The bound also holds if each part uses its own split. Suppose a part has sampling probability $w$ and its smaller parts have probabilities $w_j$. Applying the inequality within the part bounds the probability of a target drawn from six distinct smaller parts by $(480/11111)(w^6-\sum_j w_j^6)$. On summing over all splits, each internal part's sixth power cancels: it appears once as a smaller part and once as the part being split. With no edges inside terminal parts, no such hierarchy of Petersen splits can exceed the balanced limit under independent sampling.

## Scope of the result

The matching between tips lets one sequence of graphs approach both numerical estimates. Neither changing the Petersen part sizes nor choosing another balanced regular seed without triangles or cycles of length four improves either density. The survey's numerical estimates are not certified upper bounds at the displayed precision. Whether graphs outside these families can do better remains open.

## References

L. Bodnár, J. Gao, J. León, X. Liu, O. Pikhurko and S. Sun. [The inducibility of 6-vertex graphs](https://arxiv.org/abs/2606.00290v3), version 3 (2026), Table 3.

G. Royle and D. Holt. [Vertex-transitive graphs on fewer than 48 vertices](https://zenodo.org/records/4010122). Graph census.

B. McKay. [Combinatorial data: graphs](https://users.cecs.anu.edu.au/~bdm/data/graphs.html). Catalogue of all simple graphs up to isomorphism at order ten.
