thumb|305px|Number of possible permutations and derangements of elements. ( factorial) is the number of -permutations; ( subfactorial) is the number of derangements – -permutations where all of the elements change their initial places.
thumb|305px|Number of possible permutations and derangements of elements. ( factorial) is the number of -permutations; ( subfactorial) is the number of derangements – -permutations where all of the elements change their initial places.
In combinatorial mathematics, a derangement is a permutation of the elements of a set in which no element appears in its original position. In other words, a derangement is a permutation that has no fixed points.
Discovered by embedding cosine similarity (sentence-transformers MiniLM, 384-dim).