How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced — the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted — a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated — a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
The derangement number : the number of bijections of an -element set with no fixed point
Definition
Let be a finite set. A derangement of is a bijection with for every (Injection, surjection, bijection). Write
where is the set of bijections of onto itself.
is finite. is finite with (A finite set with has exactly bijections onto itself, and bijections onto any set of the same cardinality, The factorial and the falling factorial , defined by recursion in ), and is a subset of it, hence finite (A subset of a finite set is finite, with , and equality holds if and only if , clause 1). So is a natural number (The cardinality of a finite set).
The count depends only on . Let be a bijection of finite sets. The map sends into , since composites and inverses of bijections are bijections, and it sends into : if for some then, applying and writing , we get . The map is a two-sided inverse, so and the two sets have the same cardinality by the transport clause (c) of The cardinality of a finite set.
Definition. For (The natural numbers (von Neumann)) set
the derangement number. Since , the previous paragraph gives for every finite set .
Three values, read off the definition and not stipulated.
- . Here , the only function is the empty function, it is a bijection, and the condition " for every " holds vacuously. So .
- . Here and the only bijection of is the identity, which fixes .
- . Here , the two bijections are the identity and the exchange of and , and only the second is fixed-point free.
Remarks
-
A set of bijections, with no group vocabulary. The object counted is a set of functions. Nothing among this page's declared prerequisites defines a symmetric group, a permutation cycle or a conjugacy class, and no result about stated here needs one.
-
is not a convention. It is what the definition returns at , and it is the value that makes the closed formula and the first recurrence true at their first legal index. A text that sets "by convention" is stipulating what is here computed.
Depends on
- A finite set $A$ with $\lvert A\rvert = n$ has exactly $n!$ bijections onto itself, and $n!$ bijections onto any set of the same cardinality
- The cardinality $\lvert A\rvert$ of a finite set
- A subset of a finite set is finite, with $\lvert B\rvert \le \lvert A\rvert$, and equality holds if and only if $B = A$
- Injection, surjection, bijection
- The natural numbers $\mathbb{N}$ (von Neumann)
- The factorial $n!$ and the falling factorial $n^{\underline{k}}$, defined by recursion in $\mathbb{N}$
Used by
- ι(Dₙ) = ι(n) ι(Dₙ₋₁) + (-1)ⁿ for n ≥ 1, and Dₙ = (n-1)(Dₙ₋₁ + Dₙ₋₂) for n ≥ 2 Corollary
- All nine derangements of a four-element set listed, and the count checked against the formula and both recurrences Example
- The ratio ι(Dₙ)/ι(n!) computed for small n as a quotient of two counts, with no probability space claimed Example
- The conventions this page fixes: the empty intersection, where the counts live, the first index of every sum, and what the declared prerequisites do not supply Remark
- ι(Dₙ) = ι(n!)∑_i<n+1(-1)ⁱ/ι(i!), with the term at i = 0 equal to 1 and D₀ = 1 Theorem
Dependency tree · next 3 levels
Direct dependencies and their dependencies through the next three levels: 67 results over 27 levels. An arrow runs from a result to what uses it, and this result sits at the bottom with a heavier outline. Click the chart to enlarge it.
Sources
- Derangement (Wikipedia) (standard reference, not scraped)
- Rencontres numbers (Wikipedia) (standard reference, not scraped)
- Inclusion-exclusion principle (Wikipedia) (standard reference, not scraped)
- DLMF §26.13: Permutations: Cycle Notation (standard reference, not scraped)