Research notes on every problem, and a library of the papers behind them. Built from the open erdos repository.
Updated
Statement and notation
Let be a finite simple graph with vertices. A word lists every vertex exactly once. A pair is marked when and . Write for the set of marked pairs and . Then
For a rooted graph , let consist of the marked pairs for which contains a copy of sending to . A copy is an injective edge-preserving map; it need not be induced. Put . 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 . There are orders of the remaining vertices. In each order, the marked positions are exactly the positions occupied by the neighbors of . Summing over first vertices and using the degree sum identity gives
This includes : both the marked-state count and the edge count are zero, and . We will also use the enlarged state space . Its two parts are disjoint, so .
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 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.