Basic Examples

No elements are in their original places:
In[]:=
[◼]
DerangementQ
@{3,1,4,2}
Out[]=
True
For even n, the list
{n,…,3,2,1}
is a derangement:
In[]:=
[◼]
DerangementQ
@Reverse@Range@12
Out[]=
True

Scope

The chances are about 1 in 3 that a permutation is a derangement:
In[]:=
Table
[◼]
DerangementQ
@PermutationList@RandomPermutation@12,{9}
Out[]=
{True,False,False,False,False,False,False,False,True}