Answers are grounded in this paper and cite their sources.
Let f: {1, …, n} → {1, …, n} be a function (not necessarily one-to-one). An f-derangement is a permutation g: {1, …, n} → {1, …, n} such that g(i) ≠ f(i) for each i = 1, …, n. When f is itself a permutation, this is a standard derangement. We examine properties of f-derangements, and show that when we fix the maximum number of preimages for any item under f, the fraction of permutations that are f-derangements tends to 1/e for large n, regardless of the choice of f. We then use this result to analyze a heuristic method to decompose bipartite graphs into paths of length 5.
No takes yet. Share an insight, caveat, or question.
Plantholt et al. (2024) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: