, often denoted by
is equal to the number of derangements of
objects, i.e., the number of permutations with no fixed points.
For example
, because there are 9 derangments of the set
, namely
,
,
,
,
,
,
,
, and
.
Three formulas for
:
![\[
!n = n!\sum_{i=0}^{n}\frac{(-1)^i}{i!}\, =\, \sum_{k=0}^n(-1)^{n-k}k!{n\choose k}\, =\, \left\lfloor\frac{n!+1}{e}\right\rfloor\,,
\]](pic.15.png)
.
The first subfactorials are 1, 0, 1, 2, 9, 44, 265, 1854, 14833, 133496, 1334961, 14684570, 176214841, 2290792932, 32071101049, 481066515734 more terms

