Primality characterization of cyclic swap diameter

Conjecture 3.4 · arXiv:2502.14398

arXiv Conjecture high confidence— first stated 2025-08-06

Status partial high confidence

Conjecture 3.4 asserts t(n)=n-2 iff n is prime; the source paper establishes the forward direction (n prime implies t(n)=n-2). A November 2025 follow-up (arXiv:2510.18529) proves the converse direction t(n)≤n-3 for all composite n divisible by 2 or 3, and for composite n whose permutations admit a polynomial representation over Z_n, giving a tight bound t(3p)=3p-3 for primes p. The conjecture remains open for composite n not divisible by 2 or 3 (e.g., n=25, 35, 49).

Cited literature (1)

Reviewer notes. Paper 2601.12597 (Adin, Bagno, Roichman, Jan 2026) concerns a Schreier graph under adjacent transpositions, not the all-swaps setting of Conjecture 3.4, and is not directly relevant. A secondary conjecture in the source paper (that t([pi])=n-2 forces pi to be affine) was disproved by 2510.18529 via non-affine quadratic orthomorphisms for n=23.

Auto-reviewed 2026-05-14 with claude-sonnet-4-6 (web search enabled).

Conjecture. $t(n)=n-2$ if and only if $n$ is prime.

Context

The function $t(n)$ denotes the diameter of the swap graph on cyclic permutations when all swaps (not necessarily adjacent) are allowed. Observation 3.1 and Proposition 3.2 together establish that the condition holds whenever $n=2$ or $n$ is an odd prime, providing one direction of the biconditional.

Source paper

Circular sorting
Ron M. Adin, Noga Alon, Yuval Roichman · 2025-08-06
https://arxiv.org/abs/2502.14398