l
Calculate !5
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
!5 = [5!/2.718281828459 + 0.5]
5! = 5 x 4 x 3 x 2 x 1
5! = 120
!5 = [120/2.718281828459 + 0.5]
!5 = [44.145532940573 + 0.5]
!5 = [44.645532940573]
[44.645532940573] = 44