l
Calculate !8
Derangements are a permutation where
No original set elements
appear in their same position
!n = [n!/e + 0.5]
where [] is the floor function
and e = Eulers constant of 2.718281828459
!8 = [8!/2.718281828459 + 0.5]
8! = 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1
8! = 40320
!8 = [40320/2.718281828459 + 0.5]
!8 = [14832.899068033 + 0.5]
!8 = [14833.399068033]
[14833.399068033] = 14833