Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Derangement
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Growth of number of derangements as ''n'' approaches ∞== From <math display="block">!n = n! \sum_{i=0}^n \frac{(-1)^i}{i!}</math> and <math display="block">e^x = \sum_{i=0}^\infty {x^i \over i!}</math> by substituting <math display="inline"> x = -1</math> one immediately obtains that <math display="block"> \lim_{n\to\infty} {!n \over n!} = \lim_{n\to\infty} \sum_{i=0}^n \frac{(-1)^i}{i!} = e^{-1} \approx 0.367879\ldots.</math> This is the limit of the [[probability]] that a randomly selected permutation of a large number of objects is a derangement. The probability converges to this limit extremely quickly as {{mvar|n}} increases, which is why {{math|!''n''}} is the nearest integer to {{math|''n''!/''e''.}} The above [[semi-log]] graph shows that the derangement graph lags the permutation graph by an almost constant value. More information about this calculation and the above limit may be found in the article on the [[Random permutation statistics#Number of permutations that are derangements|statistics of random permutations]]. === Asymptotic expansion in terms of Bell numbers === An asymptotic expansion for the number of [[derangements]] in terms of [[Bell numbers]] is as follows: <math display="block">!n = \frac{n!}{e} + \sum_{k=1}^m \left(-1\right)^{n+k-1}\frac{B_k}{n^k} + O\left(\frac{1}{n^{m+1}}\right),</math> where <math>m</math> is any fixed positive integer, and <math>B_k</math> denotes the <math>k</math>-th [[Bell number]]. Moreover, the constant implied by the [[big O notation|big O]]-term does not exceed <math>B_{m+1}</math>.<ref>{{cite journal | last = Hassani | first = Mehdi | year = 2020 | title = Derangements and Alternating Sum of Permutations by Integration | journal = [[Journal of Integer Sequences]] | volume = 23 | at = Article 20.7.8 | no-pp=yes | url = https://cs.uwaterloo.ca/journals/JIS/VOL23/Hassani/hassani5.html }}</ref>
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Derangement
(section)
Add topic