Wiki
Wiki

Research notes on every problem, and a library of the papers behind them. Built from the open erdos repository.

Updated


Statement and notation

Let GG be a finite simple graph with n≥1n\geq1 vertices. A word w=(v0,…,vn−1)w=(v_0,\ldots,v_{n-1}) lists every vertex exactly once. A pair (w,i)(w,i) is marked when 1≤i≤n−11\leq i\leq n-1 and v0vi∈E(G)v_0v_i\in E(G). Write M(G)\mathcal M(G) for the set of marked pairs and M(G)=∣M(G)∣M(G)=|\mathcal M(G)|. Then

M(G)=2e(G)(n−1)!.M(G)=2e(G)(n-1)!.

For a rooted graph (H,r)(H,r), let RG(H,r)\mathcal R_G(H,r) consist of the marked pairs for which G[{v0,…,vi}]G[\{v_0,\ldots,v_i\}] contains a copy of HH sending rr to v0v_0. A copy is an injective edge-preserving map; it need not be induced. Put RG(H,r)=∣RG(H,r)∣R_G(H,r)=|\mathcal R_G(H,r)|. The host subscript is omitted when fixed. Thus these are counts of qualifying states, not counts of embeddings: a state is counted once even if several copies witness its membership.

Proof

Fix the first vertex bb. There are (n−1)!(n-1)! orders of the remaining vertices. In each order, the marked positions are exactly the positions occupied by the deg⁡G(b)\deg_G(b) neighbors of bb. Summing over first vertices and using the degree sum identity gives

M(G)=(n−1)!∑b∈V(G)deg⁡G(b)=2e(G)(n−1)!.M(G)=(n-1)!\sum_{b\in V(G)}\deg_G(b)=2e(G)(n-1)!.

This includes n=1n=1: both the marked-state count and the edge count are zero, and 0!=10!=1. We will also use the enlarged state space A(G)=M(G)∪{(w,0):w is a word}\mathcal A(G)=\mathcal M(G)\cup\{(w,0):w\text{ is a word}\}. Its two parts are disjoint, so ∣A(G)∣=M(G)+n!|\mathcal A(G)|=M(G)+n!.

Source and dependencies

A Counting Proof for Erdős Problem 548, preliminary exposition, §2, pp. 1–2, equation (1), in the canonical PDF. The pinned formal source proves this identity as full_word_base_count, where M(G)M(G) is its count fullWordCount with no condition on the prefix; its RootedWordFamily and rootedWordCount give the rooted definitions above. See the [[extremal_graph_theory/adamczewski_2026_erdos548/_index|source record]] for versions and verification limits. The proof uses only permutation counting and the degree sum identity.

Bears on. #548, #547, #557.