AoPSWiki
Want to learn how to tackle those tough AMC/AIME/Olympiad counting and probability problems? Check out Art of Problem Solving's NEW Intermediate Counting & Probability by David Patrick.
Personal tools

Derangement

From AoPSWiki

A derangement is a permutation with no fixed points. That is, a derangement of a set leaves no element in its original place. For example, the derangements of are and , but is not a derangement of because 2 is a fixed point.

Contents

Notation

The number of derangements of an -element set is called the th derangement number or the subfactorial of and is sometimes denoted or . (Note that using this notation may require some care, as can potentially mean both and .) This number satisfies the recurrences

and

!n = (n - 1)\cdot (!(n - 1) + !(n - 2))

and is given by the formula

!n = n! \sum_{k=0}^{n} \frac{(-1)^k}{k!}.

Thus, the number derangements of a 3-element set is 3! \cdot \sum_{k = 0}^3 \frac{(-1)^k}{k!} = 6\cdot\left(\frac{1}{1} - \frac{1}{1} + \frac{1}{2} - \frac{1}{6}\right) = 2, which we know to be correct.

Problems

Introductory

See also

This article is a stub. Help us out by expanding it.

NEW! Hard Problems DVD
A documentary about the 2006 US IMO team. Features many current and past AoPS members!
Click here for more details and to order
© Copyright 2008 AoPS Incorporated. All Rights Reserved. • FoundationPrivacyContact Us