Derangement
Derangement
n 0 1 2 3 4 5 6 7 8 9 10 11 12 13
There are various other expressions for !n, equivalent to the formula given above. These include
for
and
for
Generalizations[edit]
The problème des rencontres asks how many
permutations of a size-n set have exactly k fixed
points.
Derangements are an example of the wider field of
constrained permutations. For example,
the ménage problem asks if n opposite-sex
couples are seated man-woman-man-woman-...
around a table, how many ways can they be
seated so that nobody is seated next to his or her
partner?
More formally, given sets A and S, and some
sets U and V of surjections A → S, we often wish
to know the number of pairs of functions (f, g) such
that f is in U and g is in V, and for all a in A, f(a)
≠ g(a); in other words, where for each f and g,
there exists a derangement φ of S such that f(a) =
φ(g(a)).
Another generalization is the following problem:
How many anagrams with no fixed letters of a given word are there?
For instance, for a word made of only two
different letters, say n letters A and m letters B,
the answer is, of course, 1 or 0 according to
whether n = m or not, for the only way to form
an anagram without fixed letters is to
exchange all the A with B, which is possible if
and only if n = m. In the general case, for a
word
with n1 letters X1, n2 letters X2, ..., nr letters Xr it
turns out (after a proper use of the inclusion-
exclusion formula) that the answer has the
form:
for a certain sequence of polynomials Pn,
where Pn has degree n. But the above
answer for the case r = 2 gives an
orthogonality relation, whence the Pn's are
the Laguerre polynomials (up to a sign that
is easily decided).[9]
Computational
complexity[edit]
It is NP-complete to determine
whether a given permutation
group (described by a given set of
permutations that generate it) contains
any derangements.[10]
References[edit]
1. ^ The name
"subfactorial" originates
with William Allen
Whitworth; see Cajori,
Florian (2011), A
History of Mathematical
Notations: Two Volumes
in One, Cosimo, Inc.,
p. 77, ISBN 978161640
5717.
2. ^ Ronald L. Graham,
Donald E. Knuth, Oren
Patashnik, Concrete
Mathematics (1994),
Addison–Wesley,
Reading MA. ISBN 0-
201-55802-5
3. ^ Jump up to:a b Hassani,
M. "Derangements and
Applications." J. Integer
Seq. 6, No. 03.1.2, 1–8,
2003
4. ^ de Montmort, P. R.
(1708). Essay d'analyse
sur les jeux de hazard.
Paris: Jacque
Quillau. Seconde
Edition, Revue &
augmentée de plusieurs
Lettres. Paris: Jacque
Quillau. 1713.
5. ^ Scoville, Richard
(1966). "The Hat-Check
Problem". American
Mathematical
Monthly. 73 (3): 262–
265. doi:10.2307/23153
37. JSTOR 2315337.
6. ^ Jump up
to:a b c Stanley,
Richard (2012). Enumer
ative Combinatorics,
volume 1 (2 ed.).
Cambridge University
Press. Example
2.2.1. ISBN 978-1-107-
60262-5.
7. ^ Weisstein, Eric
W. "Subfactorial". Math
World.
8. ^ Hassani, M.
"Derangements and
Alternating Sum of
Permutations by
Integration." J. Integer
Seq. 23, Article 20.7.8,
1–9, 2020
9. ^ Even, S.; J. Gillis
(1976). "Derangements
and Laguerre
polynomials". Mathemati
cal Proceedings of the
Cambridge
Philosophical
Society. 79 (1): 135–
143. doi:10.1017/S0305
004100052154.
Retrieved 27
December 2011.
10. ^ Lubiw, Anna (1981),
"Some NP-complete
problems similar to
graph
isomorphism", SIAM
Journal on
Computing, 10 (1): 11–
21, doi:10.1137/021000
2, MR 0605600. Babai,
László (1995),
"Automorphism groups,
isomorphism,
reconstruction", Handbo
ok of combinatorics, Vol.
1, 2 (PDF), Amsterdam:
Elsevier, pp. 1447–
1540, MR 1373683, A
surprising result of Anna
Lubiw asserts that the
following problem is NP-
complete: Does a given
permutation group have
a fixed-point-free
element?.
External links[edit]
Baez, John (2003). "Let's
get deranged!" (PDF).
Bogart, Kenneth P.;
Doyle, Peter G.
(1985). "Non-sexist
solution of the ménage
problem".
Dickau, Robert
M. "Derangement
diagrams". Mathematical
Figures Using
Mathematica.
Hassani,
Mehdi. "Derangements
and Applications". Journal
of Integer Sequences
(JIS), Volume 6, Issue 1,
Article 03.1.2, 2003.
Weisstein, Eric
W. "Derangement".
MathWorld–A Wolfram
Web Resource.
Categories:
Permutations
Fixed points (mathematics)