Alphabeta Math
DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (z-ai/glm-5.2)verified 2026-07-29 (claude-fable-5)
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 Dn: the number of bijections of an n-element set with no fixed point

Definition

Let A be a finite set. A derangement of A is a bijection f:A→A with f(a)≠a for every a∈A (Injection, surjection, bijection). Write

Der⁡(A):={ f∈Bij⁡(A) : f(a)≠a for every a∈A },

where Bij⁡(A) is the set of bijections of A onto itself.

Der⁡(A) is finite. Bij⁡(A) is finite with ∣Bij⁡(A)∣=∣A∣! (A finite set A with ∣A∣=n has exactly n! bijections onto itself, and n! bijections onto any set of the same cardinality, The factorial n! and the falling factorial nk‾, defined by recursion in N), and Der⁡(A) is a subset of it, hence finite (A subset of a finite set is finite, with ∣B∣≤∣A∣, and equality holds if and only if B=A, clause 1). So ∣Der⁡(A)∣ is a natural number (The cardinality ∣A∣ of a finite set).

The count depends only on ∣A∣. Let h:A→A′ be a bijection of finite sets. The map f↦h∘f∘h−1 sends Bij⁡(A) into Bij⁡(A′), since composites and inverses of bijections are bijections, and it sends Der⁡(A) into Der⁡(A′): if h(f(h−1(a′)))=a′ for some a′∈A′ then, applying h−1 and writing a:=h−1(a′), we get f(a)=a. The map g↦h−1∘g∘h is a two-sided inverse, so Der⁡(A)≈Der⁡(A′) and the two sets have the same cardinality by the transport clause (c) of The cardinality ∣A∣ of a finite set.

Definition. For n∈N (The natural numbers N (von Neumann)) set

Dn  :=  ∣Der⁡(n)∣∈N,

the derangement number. Since ∣n∣=n, the previous paragraph gives ∣Der⁡(A)∣=D∣A∣ for every finite set A.

Three values, read off the definition and not stipulated.

  • D0=1. Here 0=∅, the only function ∅→∅ is the empty function, it is a bijection, and the condition "f(a)≠a for every a∈∅" holds vacuously. So Der⁡(∅)={∅}.
  • D1=0. Here 1={0} and the only bijection of {0} is the identity, which fixes 0.
  • D2=1. Here 2={0,1}, the two bijections are the identity and the exchange of 0 and 1, 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 Dn stated here needs one.

  • D0=1 is not a convention. It is what the definition returns at n=0, and it is the value that makes the closed formula and the first recurrence true at their first legal index. A text that sets D0=1 "by convention" is stipulating what is here computed.

Depends on

Used by

Dependency tree · two levels

36 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources