Math 2.0

Combinatorics Theorem

Formula for the number of derangements

Builds on FactorialDerangementNumber of derangements

Statement

Let nn be a natural number, and let DnD_n be the number of derangements of an nn-element set. Then Dn=n!∑k=0n(−1)kk!=∑k=0n(−1)kn!k!.D_n = n! \sum_{k=0}^{n} \frac{(-1)^k}{k!} = \sum_{k=0}^{n} (-1)^k \frac{n!}{k!}.

Remarks

For n=4n = 4: 24−24+12−4+1=924 - 24 + 12 - 4 + 1 = 9. The proof applies the inclusion–exclusion principle to the sets AiA_i of permutations that fix ii. The sum is a partial sum of the series of e−1e^{-1}. Thus Dn/n!→1/eD_n / n! \to 1/e, and for n≥1n \ge 1, DnD_n is the integer nearest to n!/en!/e.

Reading path

To understand this page from the ground up, read these 5 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Factorial definition
  2. Number of derangements definition
  3. Permutation definition
  4. Derangement definition
  5. Formula for the number of derangements statement

Further reading

  1. Web https://en.wikipedia.org/wiki/Derangement, Derivation by inclusion–exclusion principle
About this page
Tag03RSJXF728
URIm2://03RSJXF728
Kindstatement, theorem
WritingW0 stub
MSC05A05
StatusThis copy of the site has no build data. Run m2 status 03RSJXF728.
UsesFactorial, Derangement, Number of derangements

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.