Metadata
bibkey: mazhang2026a378495
authors: "Haobo Ma; Wenlin Zhang"
year: 2026
title: "OEIS A378495, FORMULA (revision #70): refutation and correction"
doi: "10.5281/zenodo.23903309"
url: "https://doi.org/10.5281/zenodo.23903309"
claim: "Lemma 2: for 2 <= k <= n with 2k > n, the derangements of n labels with a k-cycle number C(n,k)(k-1)! D_(n-k), so D_n - T(n,k) = n! D_(n-k)/(k (n-k)!)."
strata_touched:
- D5/S3/Combinatorics/Derangements/LongCycleCount
license: citation-only
triage: anchor
Derangements with a unique long cycle
Verified locator
The written proof is by Haobo Ma and Wenlin Zhang, version 3, exact-version DOI
https://doi.org/10.5281/zenodo.23903309, Lemma 2 in Section 2 of note.tex in the public source
archive https://zenodo.org/api/records/23903309/files/source-v3.zip/content. The DOI is
10.5281/zenodo.23903309. The problem source is P. Kagey, OEIS A378495, FORMULA revision #70.
Statement
For natural n, k with 2 <= k <= n and 2k > n, let D_n be the number of derangements of n labels and T(n,k) the number of derangements with no k-cycle (D_0 = 1, D_1 = 0). Then D_n - T(n,k) = C(n,k)(k-1)! D_(n-k) = n! D_(n-k)/(k (n-k)!). Because 2k > n a derangement has at most one k-cycle: choose its k labels, arrange them in one cycle in (k-1)! ways, and derange the remaining n-k labels.
Prior proofs
The special cases k = n, n-1 and n-2 (n >= 5), equivalently the two A378495 column differences T(n,n-1) - T(n,n-2) and T(n,n-2) - T(n,n), were proved earlier by L.-H. Su, Congruences for Restricted-Cycle and Pell-Weighted Permutations, v1 (18 October 2026), Proposition 7.4 and Remark 7.5 (DOI 10.5281/zenodo.23445724), and independently by A. Kallat, A p-adic Valuation Calculus for Permutations with Restricted Cycle Lengths, arXiv:2610.40342v1 (29 October 2026), Theorem 4.1(c)-(d) and Appendix A.11. The general count for 2 <= k <= n with 2k > n is the standard single-long-cycle argument written up as Lemma 2 of the Ma–Zhang note; this note does not assign priority.