I saw on wikipedia that a formula for derangements is
$\text{Round}\left[\frac{n!}{e}\right]$
However, how did they arrive at this elegant formula?
Does it have to do with $ !n=n! \sum _{k=0}^n \frac{(-1)^k}{k!}$
I saw on wikipedia that a formula for derangements is
$\text{Round}\left[\frac{n!}{e}\right]$
However, how did they arrive at this elegant formula?
Does it have to do with $ !n=n! \sum _{k=0}^n \frac{(-1)^k}{k!}$
Copyright © 2021 JogjaFile Inc.