\ifdefined\XeTeXversion\else\ifdefined\pdfoutput\pdfoutput=1\fi\fi % !TeX program = pdflatex \documentclass[11pt,reqno]{amsart} \usepackage{amsmath,amssymb,amsthm,mathtools} \usepackage{booktabs} \usepackage{array} \usepackage{xurl} \usepackage[hidelinks]{hyperref} \emergencystretch=1.5em \raggedbottom \theoremstyle{plain} \newtheorem{theorem}{Theorem}[section] \newtheorem{proposition}[theorem]{Proposition} \newtheorem{lemma}[theorem]{Lemma} \newtheorem{corollary}[theorem]{Corollary} \theoremstyle{definition} \newtheorem{definition}[theorem]{Definition} \newtheorem{remark}[theorem]{Remark} \newtheorem{example}[theorem]{Example} \newtheorem{problem}[theorem]{Open Problem} \newcommand{\Z}{\mathbb{Z}} \newcommand{\R}{\mathbb{R}} \newcommand{\F}{\mathbb{F}} \DeclareMathOperator{\ord}{ord} \DeclareMathOperator{\lpf}{lpf} \title[Shortest Progression Windows for Three Residues]{Shortest Progression Windows for Three Residues in a Cyclic Group: Fixed-Order Minima, Classification of $2L$ Extremals, and Prime--Composite Dichotomy} \author{Robert Kadlec} \address{Masaryk University, Brno, Czech Republic} \email{kadlecr@mail.muni.cz} \thanks{ORCID: \href{https://orcid.org/0009-0003-9245-8130}{0009-0003-9245-8130}. Version~2.2 (substantially expanded revision superseding the initial preprint \texttt{hexagon:\allowbreak 2611.\allowbreak 01310v1}, \url{https://hexagonmath.org/2611.01310v1}, November~29, 2026; corrects an $(x, y)$-variable swap in the proof of Theorem~\ref{thm:hexagonal} relative to \texttt{v1}, and adds the exact $3 \le m \le 1000$ census, OEIS candidate verification, enumeration of the ten odd composite exceedances, Open Problems~\ref{prob:odd-composites}--\ref{prob:higher-k}, and complete seven-module Lean~4.33.1 formalization). AI-assisted research directed and supervised by the author, who assumes full scholarly responsibility for the integrity, accuracy, and publication of all reported results (see the methodology and AI disclosure sections at the end of the manuscript).} \date{December 1, 2026} \begin{document} \begin{abstract} Given a three-element subset $S \subset \Z/n\Z$, we determine the shortest arithmetic progression covering $S$ whose common difference has a prescribed additive order (or exceeds an order cutoff $H$). Writing $m$ for the order of the difference subgroup $\langle S - S \rangle$ and $d = n/m$, the attainable step orders are precisely $em$ for positive divisors $e \mid d$, and at order $em$ the exact minimum covering length is $1 + eR(S; m)$, where $R(S; m)$ is the minimum hexagonal span of a modulo-$m$ visible (primitive) vector in a two-dimensional congruence lattice. Omitting this visibility constraint can underestimate $R$ by an unbounded factor $(k + 1)/8 \to \infty$ along $m = 2k$. Contrasting composite moduli with the prime-modulus covering-progression regime of R\o dseth and Lev (with Lev's sharp constant $2/\sqrt{3}$), we prove three extremal theorems: (i)~for every proper factorization $m = pq$ ($p, q \ge 2$), the generating triple $\{0, 1, q\}$ has exact span $R = q$, yielding $\max_S R(S; m) \ge m/\lpf(m)$ (OEIS~\texttt{A032742}) and linear growth $\Theta(m)$ whenever the least prime factor $\lpf(m)$ is bounded; (ii)~for every even modulus $m = 2L$ ($L \ge 2$), every generating triple satisfies $R(S; 2L) \le L$, with equality if and only if $S$ contains an antipodal pair, equivalently if and only if $S$ lies in the unique affine orbit of $\{0, 1, L\}$; and (iii)~for every $k \ge 1$ and $m = 3k^2 + 3k + 1$ (including the cuban primes, OEIS~\texttt{A002407}), $\{0, k + 1, 2k + 1\}$ attains the sharp hexagonal bound $R = 2k + 1 = \lfloor \frac{2}{\sqrt{3}}\sqrt{m} \rfloor$ via an Eisenstein--Jacobi norm identity. Combining M\"obius inversion with Euclidean floor sums yields an $O(2^{\omega(m)}\log^2 m)$ exact algorithm (given the factorization of~$m$), enabling an exact census of $M(m) := \max_S R(S; m)$ for all $3 \le m \le 1000$ that identifies a new OEIS candidate sequence and pinpoints the transition at odd composites with $\lpf(m) > \frac{\sqrt{3}}{2}\sqrt{m}$. All fixed-order, visibility-obstruction, and extremal theorems are additionally backed by a self-contained Lean~4.33.1 formalization verified across four checker implementations spanning three independent kernel lineages. \end{abstract} \subjclass[2020]{Primary 11B25; Secondary 11B75, 11H06, 68V20} \keywords{arithmetic progressions, cyclic groups, covering by progressions, affine diameter, congruence lattices, formal verification} \maketitle \section{Introduction, Background, and Notation}\label{sec:intro} Let $n \ge 1$ and let $S \subset \Z/n\Z$ be a subset of three distinct residues (so necessarily $n \ge 3$). A \emph{progression window} (or simply \emph{window}) of length $W \ge 1$ and step $h \in \Z/n\Z$ covering $S$ is an arithmetic progression \[ u,\; u + h,\; \dots,\; u + (W - 1)h \pmod n \] containing $S$. Its \emph{length} $W$ counts positions, while its \emph{span} $W - 1 \ge 0$ counts steps. A triple $S \subset \Z/m\Z$ is \emph{generating} if the differences $S - S := \{s - s' : s, s' \in S\}$ generate the full group $\Z/m\Z$. For every integer $m \ge 2$, we denote by $\lpf(m)$ the least prime factor of $m$ (in particular, $\lpf(p) = p$ when $p$ is prime). When the modulus $n = p$ is prime, every nonzero step $h \in \F_p^\times$ generates $\F_p$, and the problem reduces to minimizing the covering progression length over all affine images $uS + c$ ($u \in \F_p^\times$, $c \in \F_p$). For the extremal problem of covering $k$-element subsets of $\F_p$ by short arithmetic progressions, R\o dseth~\cite{Rodseth1993} formalized the minimal covering length in position-count convention ($W = R + 1$, i.e.\ the smallest $d$ for which an affine image lies in $[0, d-1]$) in his study of restricted sums of distinct residues modulo~$p$ (building on earlier difference-set work of Straus~\cite{Straus1976}, as noted by Lev~\cite{Lev2000}). Lev~\cite{Lev2000} subsequently proved that covering $k$-element subsets of $\F_p$ by an arithmetic progression of minimal length $l_k(p)$ is equivalent to the simultaneous approximation problem \[ m_k(p) := \max_{|A| = k} \min_{\alpha \in \F_p,\;\delta \in \F_p^\times} \max_{a \in A} \|\delta a - \alpha\|, \] where $\|x\|$ is the distance from $x$ to $0$ in $\F_p$. Note that a progression of span $R$ (covering $[0, R]$) centered at $\lfloor R/2 \rfloor$ has maximum distance $\lceil R/2 \rceil$ from its center, so $2 m_3(p) - 1 \le \max_{|S| = 3} R(S; p) \le 2 m_3(p)$. Lev~\cite{Lev2000} determined the sharp three-element asymptotic constant $2/\sqrt{3}$ in span convention (corresponding to $m_3(p) \sim \frac{1}{\sqrt{3}}\sqrt{p}$ and $\max_{|S|=3} R(S; p) \sim \frac{2}{\sqrt{3}}\sqrt{p}$) and established upper and lower bounds of order $p^{1 - 1/(k-1)}$ for fixed $k \ge 4$. At composite moduli $n$, two structural phenomena absent at prime moduli govern the problem: first, a step $h$ may generate a proper subgroup of order $q \mid n$, so order constraints partition the feasible steps by subgroup index; second, even after reducing to a generating triple modulo~$m$, admissible lattice vectors must satisfy a \emph{visibility} (modulo-$m$ primitivity) condition $\gcd(x, y, m) = 1$. Our main contributions are the following: \begin{enumerate} \item \textbf{Fixed-order minimum and visibility obstruction (Section~\ref{sec:fixed-order}).} Theorem~\ref{thm:fixed-order} proves that the attainable step orders are precisely $em$ ($e \mid d$), with exact minimum length $1 + eR(S; m)$ at order $em$ and $1 + ER(S; m)$ above any cutoff $H < n$. Proposition~\ref{prop:obstruction} exhibits an explicit infinite family showing that omitting the visibility constraint underestimates $R(S; 2k)$ by an unbounded asymptotic factor $(k + 1)/8 \to \infty$. \item \textbf{Prime--composite dichotomy and complete $2L$ classification (Section~\ref{sec:extremals}).} Theorem~\ref{thm:composite-blowup} proves $R(\{0, 1, q\}; pq) = q$ for every proper factorization $m = pq$, giving $\max_S R(S; m) \ge m/\lpf(m)$ and jumping from $\Theta(\sqrt{p})$ to linear growth $\Theta(m)$ whenever $\lpf(m)$ is bounded. Our main combinatorial theorem, Theorem~\ref{thm:2L-classification}, completely classifies all extremal generating triples at every even modulus $m = 2L$ ($L \ge 2$): $R(S; 2L) \le L$ always holds, with equality if and only if $S$ contains an antipodal pair, equivalently if and only if $S$ lies in the unique affine orbit of $\{0, 1, L\}$. For odd~$L$, the proof combines a short powers-of-$2$ primitivity lemma for the lower-half cyclotomic subset $\Phi_d \subset (\Z/d\Z)^\times$ (Lemma~\ref{lem:primitivity}) with a Chinese Remainder kernel-separation lemma (Lemma~\ref{lem:crt-kernel}). For direct contrast with the prime regime, Proposition~\ref{prop:prime-hermite} gives a self-contained proof of $R(S; p) \le \lfloor \frac{2}{\sqrt{3}}\sqrt{p} \rfloor$ for all primes $p \ge 3$, and Theorem~\ref{thm:hexagonal} proves by an integer Eisenstein-norm identity that $\{0, k + 1, 2k + 1\}$ attains $R = 2k + 1 = \lfloor \frac{2}{\sqrt{3}}\sqrt{m} \rfloor$ sharply along $m = 3k^2 + 3k + 1$. \item \textbf{Exact Euclidean floor-sum algorithm, $M(m)$ census, and open problems (Section~\ref{sec:algorithm}).} Combining M\"obius inversion over squarefree divisors of $m$ with Euclidean floor sums (including the $P = 1$ boundary branch and exact signed normalization), we compute $R(S; m)$ in $O(2^{\omega(m)} \log^2 m)$ arithmetic operations given the prime factorization of~$m$. Using affine-orbit canonicalization and feasibility pruning, Section~\ref{sec:census} computes the exact extremal sequence $M(m) := \max_S R(S; m)$ for all $3 \le m \le 1000$, documents it as a new OEIS candidate sequence, isolates all ten odd composite moduli in $[3, 1000]$ where $M(m) > m/\lpf(m)$, and formulates open problems on odd-composite extremals and higher cardinality $k \ge 4$. \item \textbf{Self-contained multi-checker Lean~4.33.1 formalization (Section~\ref{sec:formal}).} All fixed-order, visibility-obstruction, composite-blowup, $2L$-classification, and centered-hexagonal theorems are formally verified across seven self-contained Lean~4.33.1 modules checked by four checker implementations spanning three independent kernel lineages (the official Lean kernel/\texttt{leanchecker}, \texttt{con-leche} and its Rust port \texttt{con-ron}, and \texttt{nanoda}) with zero \texttt{sorry}, zero compiler warnings, and standard axioms only. \end{enumerate} \subsection*{Related Work and Scope of New Results} Prior work on covering $k$-element residue sets by short arithmetic progressions has focused almost exclusively on prime moduli $\F_p$, where every nonzero step is a unit and no subgroup-order or visibility constraints arise: R\o dseth~\cite{Rodseth1993} introduced the minimal covering length in position-count convention to bound restricted sums modulo~$p$ (related to earlier difference-set work of Straus~\cite{Straus1976}), and Lev~\cite{Lev2000} established the equivalence with simultaneous approximation $m_k(p)$, determining the sharp asymptotic constant $2/\sqrt{3}$ for $k = 3$ ($\max_{|S|=3} R(S; p) \sim \frac{2}{\sqrt{3}}\sqrt{p}$) and $p^{1 - 1/(k-1)}$ bounds for fixed $k \ge 4$. At prime moduli, the explicit finite-$p$ upper bound $R(S; p) \le \lfloor \frac{2}{\sqrt{3}}\sqrt{p}\rfloor$ reflects Lev's constant $2/\sqrt{3}$ via Hermite's planar constant $\gamma_2 = 2/\sqrt{3}$~\cite{Cassels1971} and is included here as Proposition~\ref{prop:prime-hermite} solely to provide a self-contained foil for the composite dichotomy. Similarly, the hexagonal Eisenstein--Jacobi lattice of norm $m = 3k^2 + 3k + 1$ underlying Theorem~\ref{thm:hexagonal} is closely related to Huber's codes over Eisenstein--Jacobi integers~\cite{Huber1994}, the projective parameterization $[a : b] \in \mathbb{P}^1(\Z/m\Z)$ is standard from modular symbols~\cite{Manin1972,Cremona1997}, and the Euclidean floor-sum recurrence is standard~\cite{AtCoderLibrary,AtCoderEditorial}. The genuinely new contributions of the present paper---summarized alongside the classical background in Table~\ref{tab:known-vs-new}---are the composite-modulus fixed-order theory and unbounded visibility obstruction (Section~\ref{sec:fixed-order}), the linear composite blowup, complete $m = 2L$ classification, and integer Eisenstein-norm sharpness proof (Section~\ref{sec:extremals}), the $O(2^{\omega(m)}\log^2 m)$ visible-box algorithm, exact $M(m)$ census for $3 \le m \le 1000$, and open problems (Section~\ref{sec:algorithm}), and the machine-checked Lean~4.33.1 formalization (Section~\ref{sec:formal}). \begin{table}[ht] \centering \caption{Summary of classical prime-modulus background versus new composite-modulus results in this paper.} \label{tab:known-vs-new} \footnotesize \setlength{\tabcolsep}{3pt} \begin{tabular}{@{} >{\raggedright\arraybackslash}p{0.23\textwidth} >{\raggedright\arraybackslash}p{0.34\textwidth} >{\raggedright\arraybackslash}p{0.37\textwidth}@{}} \toprule Topic & Classical background & New results in this paper \\ \midrule Covering triples by progressions & Prime $\F_p$ only; minimal covering length $l_k(p) \leftrightarrow m_k(p)$ \cite{Rodseth1993,Lev2000} (cf.\ \cite{Straus1976}) & Arbitrary composite $\Z/n\Z$ with step-order cutoff $H$; exact scaling $1 + eR(S; m)$ and unbounded visibility obstruction (Thm.~\ref{thm:fixed-order}, Prop.~\ref{prop:obstruction}) \\ Prime vs.\ composite extremals & Lev's sharp $2/\sqrt{3}$ constant \cite{Lev2000}; Hermite $\gamma_2 = 2/\sqrt{3}$ \cite{Cassels1971} (Prop.~\ref{prop:prime-hermite}); Eisenstein--Jacobi lattices \cite{Huber1994} & Linear blowup $R(\{0,1,q\}; pq) = q$, $\max_S R \ge m/\lpf(m)$ (\texttt{A032742}, Thm.~\ref{thm:composite-blowup}); explicit sharpness along $m = 3k^2+3k+1$ (Thm.~\ref{thm:hexagonal}) \\ Even-modulus extremals ($m = 2L$) & Not addressed in prime-field literature & Complete classification: $R \le L$, equality $\Leftrightarrow$ antipodal pair $\Leftrightarrow$ unique orbit of $\{0,1,L\}$, via $\Phi_d$ primitivity \& CRT separation (Lem.~\ref{lem:primitivity}--\ref{lem:crt-kernel}, Thm.~\ref{thm:2L-classification}) \\ Exact computation \& census & General Euclidean floor-sum recurrence \cite{AtCoderLibrary,AtCoderEditorial} & $O(2^{\omega(m)}\log^2 m)$ M\"obius + floor-sum algorithm (Sec.~\ref{sec:algorithm}); exact $M(m)$ census for $3 \le m \le 1000$, OEIS candidate, odd-composite enumeration \& open problems (Sec.~\ref{sec:census}) \\ \bottomrule \end{tabular} \end{table} \section{Fixed-Order Minimum and Visibility Obstruction}\label{sec:fixed-order} Let $n \ge 3$ and $0 \le H < n$. A permitted step in $\Z/n\Z$ has additive order strictly greater than $H$. Given three distinct residues $S = \{P, Q, T\} \subset \Z/n\Z$, translating $S$ by $-P$ (or reordering its elements) leaves the set of covering progression lengths at every step $h$ unchanged. Choose arbitrary integer representatives $A, B \in \Z$ for $Q - P$ and $T - P$ modulo~$n$, and set \[ d := \gcd(n, A, B), \qquad m := \frac{n}{d}, \qquad a := \frac{A}{d}, \qquad b := \frac{B}{d}, \] with positive integer $\gcd$ convention $\gcd(n, A, B) = \gcd(\gcd(|A|, |B|), n) \ge 1$. Because $S$ has three distinct residues in $\Z/n\Z$, it lies in a coset of the difference subgroup $\langle A, B \rangle \subset \Z/n\Z$ of order $m$, so necessarily $m \ge 3$, $a, b, b - a \not\equiv 0 \pmod m$, and $\gcd(a, b, m) = 1$. Changing the representatives $A, B$ by multiples of $n$ leaves $d$ and $m$ unchanged and modifies $a, b$ only modulo~$m$. Define the least eligible scaling divisor \[ E := \min\{e \in \Z_{>0} : e \mid d,\; em > H\}, \] which always exists because $e = d$ satisfies $dm = n > H$ (in particular, $E = 1$ when $H = 0$ and $E = d$ when $H = n - 1$). For $(x, y) \in \Z^2$, define the hexagonal span norm \[ N(x, y) := \max(0, x, y) - \min(0, x, y) = \max(|x|, |y|, |x - y|), \] the congruence lattice $\mathcal{L} := \{(x, y) \in \Z^2 : bx \equiv ay \pmod m\}$, the set of modulo-$m$ visible (primitive) lattice vectors \[ \mathcal{L}_{\mathrm{vis}} := \{(x, y) \in \mathcal{L} : \gcd(x, y, m) = 1\}, \] and the minimum visible span \[ R(S; m) := \min\bigl\{N(x, y) : (x, y) \in \mathcal{L}_{\mathrm{vis}}\bigr\}. \] Since $(a, b) \in \mathcal{L}_{\mathrm{vis}}$ and $N(x, y) \in \Z_{\ge 0}$, the minimum $R(S; m)$ is always attained; furthermore, $R(S; m)$ depends only on the residue classes of $a, b \pmod m$ and is invariant under translation and permutation of~$S$. \begin{theorem}[Fixed-Order Minimum]\label{thm:fixed-order} Let $S \subset \Z/n\Z$ consist of three distinct residues, with $d$, $m$, $E$, and $R(S; m)$ as above. \begin{enumerate} \item Before imposing the cutoff $H$, the additive orders $q = \ord(h)$ of steps $h \in \Z/n\Z$ admitting a progression window covering $S$ are precisely $q = em$ for positive divisors $e \mid d$. \item For each divisor $e \mid d$, the exact minimum covering window length over all steps $h$ of additive order $em$ is $1 + eR(S; m)$. \item Over all steps $h \in \Z/n\Z$ of additive order strictly greater than $H$, the exact minimum covering window length is $1 + ER(S; m)$. \end{enumerate} \end{theorem} \begin{proof} A progression with step $h \in \Z/n\Z$ covers $S = \{0, A, B\}$ (after translating $P$ to $0$) if and only if $S$ lies in a single coset of $\langle h \rangle$, which holds if and only if $A, B \in \langle h \rangle$. Since $\langle A, B \rangle$ is the unique subgroup of $\Z/n\Z$ of order $m$ and $\langle h \rangle$ has order $q = \ord(h) \mid n$, we have $\langle A, B \rangle \subseteq \langle h \rangle$ if and only if $m \mid q \mid n$, i.e.\ $q = em$ for a positive divisor $e \mid d$. Fix a divisor $e \mid d$ and set $f := d/e$. An element $h \in \Z/n\Z$ has additive order $em$ if and only if $h \equiv f v \pmod n$ for some integer $v$ with $\gcd(v, em) = 1$, i.e.\ $v \in (\Z/em\Z)^\times$. Writing $u \equiv v^{-1} \pmod m$, the natural reduction $\pi : (\Z/em\Z)^\times \to (\Z/m\Z)^\times$ is surjective: for any $u \in (\Z/m\Z)^\times$, the moduli $m$ and all distinct primes $r \mid e$ with $r \nmid m$ are pairwise coprime, so by the Chinese Remainder Theorem there exists an integer $v$ satisfying $v \equiv u^{-1} \pmod m$ and $v \equiv 1 \pmod r$ for every such prime~$r$. Any such $v$ is coprime to every prime dividing $em$ and hence defines a unit $v \in (\Z/em\Z)^\times$ with $v^{-1} \equiv u \pmod m$. For a fixed step $h = fv$ of order $em$, the subgroup $\langle h \rangle$ is isomorphic to $\Z/em\Z$ via $j \mapsto jh \pmod n$. Because $A = fea$ and $B = feb$, the marked indices relative to $0$ in $\Z/em\Z$ are $0$, $e(v^{-1} a)$, and $e(v^{-1} b) \pmod{em}$, where only the residue class $u \equiv v^{-1} \pmod m$ matters. In any cyclic group $\Z/M\Z$, the shortest inclusive interval $[0, W-1]$ containing a translate of three residues $\{0, r_1, r_2\}$ is obtained by removing the largest clockwise circular gap among the three residues on $\Z/M\Z$; equivalently, its span $W - 1$ equals \[ M - \max(\text{clockwise gaps}) = \min\bigl\{N(X, Y) : X \equiv r_1,\; Y \equiv r_2 \pmod M\bigr\}, \] attained by lifting the three residues into the arc complementing a maximal gap. Moving from $\{0, ua, ub\} \subset \Z/m\Z$ to $\{0, eua, eub\} \subset \Z/em\Z$ multiplies every clockwise circular gap by $e$, and therefore multiplies the minimum span by~$e$: \begin{align*} &\min\bigl\{N(X, Y) : X \equiv eua,\; Y \equiv eub \pmod{em}\bigr\} \\ &\qquad = e \cdot \min\bigl\{N(x, y) : x \equiv ua,\; y \equiv ub \pmod m\bigr\}. \end{align*} Minimizing over the finite group $u \in (\Z/m\Z)^\times$ shows that the exact minimum window length at step order $em$ is $1 + eR'(S; m)$, where \[ R'(S; m) := \min\bigl\{N(x, y) : u \in (\Z/m\Z)^\times,\; x \equiv ua,\; y \equiv ub \pmod m\bigr\}. \] It remains to verify that $R'(S; m) = R(S; m)$. Since $\gcd(a, b, m) = 1$, choose B\'ezout integers $s, t$ with $sa + tb \equiv 1 \pmod m$. For any $(x, y) \in \mathcal{L}$, set $u := sx + ty \pmod m$. Then \[ ua \equiv (sa)x + t(ay) \equiv (sa)x + t(bx) = (sa + tb)x \equiv x \pmod m, \] and symmetrically $ub \equiv s(bx) + (tb)y \equiv s(ay) + (tb)y \equiv y \pmod m$. Conversely, every pair $(x, y) \in (ua + m\Z) \times (ub + m\Z)$ satisfies $bx \equiv uba \equiv ay \pmod m$ and lies in $\mathcal{L}$. On $\mathcal{L}$, we have $\gcd(x, y, m) = \gcd(ua, ub, m) = \gcd(u \gcd(a, b), m) = \gcd(u, m)$, so $(x, y) \in \mathcal{L}_{\mathrm{vis}}$ if and only if $u \in (\Z/m\Z)^\times$. Hence the map $(x, y) \mapsto sx + ty \pmod m$ is a \emph{surjection} from $\mathcal{L}_{\mathrm{vis}}$ onto $(\Z/m\Z)^\times$ whose fiber over each unit $u$ is precisely the coset $(ua + m\Z) \times (ub + m\Z)$ (equivalently, $\mathcal{L}_{\mathrm{vis}}$ is in bijection with unit-labeled lifts $(u; x, y)$). Thus $R'(S; m) = R(S; m)$. Note that reducing $\mathcal{L}_{\mathrm{vis}}$ modulo~$m$ yields the $(\Z/m\Z)^\times$-orbit $\{(ua, ub)\}$ representing the single projective point $[a : b] \in \mathbb{P}^1(\Z/m\Z)$ in the modular-symbol parameterization~\cite[\S 2.3]{Manin1972},~\cite[\S 2.2]{Cremona1997}. Finally, since $R(S; m) \ge 0$, minimizing $1 + eR(S; m)$ over all divisors $e \mid d$ with $em > H$ is achieved at the least such divisor $e = E$, giving exact minimum length $1 + ER(S; m)$. \end{proof} Dropping the visibility requirement $\gcd(x, y, m) = 1$ can fail arbitrarily badly at composite moduli. \begin{proposition}[Unbounded Visibility Obstruction]\label{prop:obstruction} For every odd integer $k \ge 5$, set $n = 2k$ and $S = \{0, 1, k + 2\} \subset \Z/2k\Z$. Then $S$ consists of three distinct residues with $d = 1$, the non-visible lattice vector $(2, 4) \in \mathcal{L}$ has span $N(2, 4) = 4$, yet \[ R(S; 2k) = \frac{k + 1}{2}. \] In particular, while $R(S; 10) = 3 < 4$ at $k = 5$ and $R(S; 14) = 4$ at $k = 7$, for every odd $k \ge 9$ the non-visible vector $(2, 4)$ strictly underestimates $R(S; 2k)$, and the unrestricted nonzero lattice minimum $R_{\mathrm{unres}}(S; 2k) := \min\{N(x, y) : (x, y) \in \mathcal{L} \setminus \{(0, 0)\}\} \le 4$ satisfies $R(S; 2k)/R_{\mathrm{unres}}(S; 2k) \ge (k + 1)/8 \to \infty$ as $k \to \infty$. \end{proposition} \begin{proof} Since $k \ge 5$, we have $0 < 1 < k + 2 < 2k$, so the three residues are distinct and $d = \gcd(2k, 1, k + 2) = 1$. The lattice congruence is $y \equiv (k + 2)x \pmod{2k}$, which $(2, 4)$ satisfies with $N(2, 4) = 4$ and $\gcd(2, 4, 2k) = 2$. For any visible vector $(x, y) \in \mathcal{L}_{\mathrm{vis}}$, if $x$ were even then $y \equiv (k + 2)x \pmod{2k}$ would also be even, contradicting $\gcd(x, y, 2k) = 1$. Hence $x$ is odd, so $y - 2x \equiv kx \equiv k \pmod{2k}$ is a nonzero odd multiple of~$k$. Therefore \[ k \le |y - 2x| = |(y - x) - x| \le |y - x| + |x| \le 2N(x, y). \] Since $k$ is odd and $N(x, y) \in \Z$, this forces $N(x, y) \ge (k + 1)/2$. Equality is attained by the visible lattice vector $(x, y) = ((k + 1)/2, 1)$ when $k \equiv 1 \pmod 4$ and $((k - 1)/2, -1)$ when $k \equiv 3 \pmod 4$. \end{proof} \section{Extremal Spans: \texorpdfstring{$2L$}{2L} Classification and Prime--Composite Dichotomy}\label{sec:extremals} We now study the extremal maximum $\max_S R(S; m)$ over all generating triples $S \subset \Z/m\Z$ of three distinct residues. \begin{theorem}[Linear Composite Blowup]\label{thm:composite-blowup} Let $m = pq$ with integers $p \ge 2$ and $q \ge 2$. Then $S = \{0, 1, q\} \subset \Z/m\Z$ is a generating triple of three distinct residues with exact minimum visible span $R(S; m) = q$. Consequently, for every composite integer $m \ge 4$, \[ \max_{|S| = 3,\;\langle S - S \rangle = \Z/m\Z} R(S; m) \ge \frac{m}{\lpf(m)}. \] \end{theorem} \begin{proof} Because $p, q \ge 2$, we have $0 < 1 < q < pq = m$, so the three residues $0, 1, q$ are distinct modulo~$m$, and $1 \in S - S$ ensures $\langle S - S \rangle = \Z/m\Z$. Taking $u = 1$ places $\{0, 1, q\} \subset [0, q]$, giving $R(S; m) \le q$. Conversely, for any unit $u \in (\Z/pq\Z)^\times$ and any integer lift $y \equiv uq \pmod{pq}$, we have $y \not\equiv 0 \pmod{pq}$ (since $u$ is a unit and $0 < q < pq$) and $q \mid y$, whence $|y| \ge q$ and $N(x, y) \ge |y| \ge q$. Setting $p = \lpf(m) \ge 2$ and $q = m/\lpf(m) \ge 2$ yields the stated lower bound for every composite $m \ge 4$. \end{proof} Combining Theorem~\ref{thm:composite-blowup} with the trivial upper bound $R(S; m) \le m - 1$ shows that composite moduli with bounded least prime factor satisfy $\max_S R(S; m) = \Theta(m)$, breaking the $\Theta(\sqrt{p})$ prime-modulus barrier. Note that $m/\lpf(m)$ is a lower bound rather than a universal equality for odd composites: for instance, $m = 49 = 7^2$ attains $\max_S R(S; 49) = 8 > 7$ (Table~\ref{tab:comparison}). At even moduli $m = 2L$, however, $m/\lpf(m) = L$ is exact, and we can classify all extremizers completely. We isolate two elementary arithmetic lemmas used in the odd-$L$ case of the $2L$ classification. For any odd integer $d \ge 3$, define the lower-half cyclotomic subset \[ \Phi_d := \{t \in (\Z/d\Z)^\times : 1 \le t_{\mathrm{can}} < d/2\}, \] where $t_{\mathrm{can}} \in \{1, \dots, d - 1\}$ denotes the canonical representative of~$t$. \begin{lemma}[Primitivity of $\Phi_d$ for Odd $d \ge 3$]\label{lem:primitivity} For every odd integer $d \ge 3$, if $w \in (\Z/d\Z)^\times$ satisfies $w \cdot \Phi_d \subseteq \Phi_d$, then $w = 1$. \end{lemma} \begin{proof} Since $1 \in \Phi_d$, the canonical representative $w_0 \in \{1, \dots, d - 1\}$ of $w$ satisfies $2w_0 < d$. Suppose for contradiction that $w_0 \ge 2$, and choose the largest integer $k \ge 0$ such that $2w_0 \cdot 2^k < d$. Because $d$ is odd, $t := 2^{k+1} \pmod d$ is a unit modulo~$d$; moreover, $2 \cdot 2^{k+1} \le 2w_0 \cdot 2^k < d$, so $t_{\mathrm{can}} = 2^{k+1}$ and $t \in \Phi_d$. On the other hand, maximality of $k$ gives $2w_0 \cdot 2^{k+1} \ge d$, and because the left side is even while $d$ is odd, this inequality is strict: $d < 2w_0 \cdot 2^{k+1} < 2d$. Hence $d/2 < w_0 \cdot 2^{k+1} < d$, so $(wt)_{\mathrm{can}} = w_0 \cdot 2^{k+1} > d/2$ and $wt \notin \Phi_d$, contradicting $w \cdot \Phi_d \subseteq \Phi_d$. \end{proof} \begin{lemma}[Unit Lifting and Kernel Separation for Odd $L$]\label{lem:crt-kernel} Let $L \ge 3$ be an odd integer, and for each divisor $d \mid L$ let $\pi_d : (\Z/L\Z)^\times \to (\Z/d\Z)^\times$ denote the natural reduction homomorphism. \begin{enumerate} \item For every $d \mid L$, the map $\pi_d$ is surjective. \item If $d_1, d_2 \mid L$ satisfy $d_1 \nmid d_2$, then there exists $k \in \ker(\pi_{d_2})$ such that $\pi_{d_1}(k) \neq 1$. \end{enumerate} \end{lemma} \begin{proof} Part~(1) is the same Chinese Remainder lifting as in Theorem~\ref{thm:fixed-order}: for $u \in (\Z/d\Z)^\times$, choose $v \equiv u \pmod d$ and $v \equiv 1 \pmod r$ for every prime $r \mid L$ with $r \nmid d$; then $v \in (\Z/L\Z)^\times$ and $\pi_d(v) = u$. For part~(2), since $d_1 \nmid d_2$, there exists a prime $r \mid L$ (necessarily odd, as $L$ is odd) such that $\alpha := v_r(d_1) > \beta := v_r(d_2)$. Set $e_L := v_r(L) \ge \alpha \ge 1$ and write $L = r^{e_L} M$ with $\gcd(r^{e_L}, M) = 1$. Define \[ x_0 := \begin{cases} 2 & \text{if } \beta = 0, \\ 1 + r^\beta & \text{if } \beta \ge 1. \end{cases} \] Because $r \ge 3$ is odd, $\gcd(x_0, r) = 1$ in both cases, so $x_0$ represents a unit modulo $r^{e_L}$. By the Chinese Remainder Theorem, there exists $k \in (\Z/L\Z)^\times$ satisfying $k \equiv x_0 \pmod{r^{e_L}}$ and $k \equiv 1 \pmod M$. In both cases $r^\beta \mid (x_0 - 1)$, so $k \equiv 1 \pmod{r^\beta M}$; since $d_2 \mid r^\beta M$, we obtain $\pi_{d_2}(k) = 1$. Conversely, $r^\alpha \nmid (x_0 - 1)$ (as $x_0 - 1 = 1$ if $\beta = 0$, and $v_r(x_0 - 1) = \beta < \alpha$ if $\beta \ge 1$), so $k \not\equiv 1 \pmod{r^\alpha}$, whence $\pi_{d_1}(k) \neq 1$. \end{proof} \begin{theorem}[Complete Classification of $m = 2L$ Equality Cases]\label{thm:2L-classification} Let $L \ge 2$ and let $S = \{0, a, b\} \subset \Z/2L\Z$ be any generating triple of three distinct residues ($\gcd(a, b, 2L) = 1$). Then: \begin{enumerate} \item $R(S; 2L) \le L$. \item $R(S; 2L) = L$ if and only if $S$ contains an antipodal pair ($a \equiv L$, $b \equiv L$, or $b - a \equiv L \pmod{2L}$), which holds if and only if $S$ lies in the \emph{unique} affine orbit of $\{0, 1, L\}$ under $x \mapsto ux + c$ ($u \in (\Z/2L\Z)^\times$, $c \in \Z/2L\Z$). \item If $S$ contains no antipodal pair, then $R(S; 2L) \le L - 1$. (When $L = 2$, every three-element subset of $\Z/4\Z$ contains an antipodal pair, so this case is vacuous.) \end{enumerate} \end{theorem} \begin{proof} Suppose first that $S$ contains an antipodal pair. Translating one endpoint of that pair to $0$ and swapping if needed, we may assume $S = \{0, a, L\}$ with $\gcd(a, L) = 1$. Every unit $u \in (\Z/2L\Z)^\times$ is odd and therefore satisfies $uL \equiv L \pmod{2L}$; by the same divisibility argument as in Theorem~\ref{thm:composite-blowup}, every visible lift $(x, y)$ has $|y| \ge L$, so $R(S; 2L) \ge L$. If $a$ is odd, then $a \in (\Z/2L\Z)^\times$ and $a^{-1} S = \{0, 1, L\}$, giving $R(S; 2L) \le L$. If $a$ is even, then $\gcd(a, L) = 1$ forces $L$ to be odd, so $L - a$ is odd and coprime to $L$, hence $L - a \in (\Z/2L\Z)^\times$; then \[ L - (L - a)^{-1} S = \{L, 1, 0\} = \{0, 1, L\}, \] which again shows that $S$ lies in the affine orbit of $\{0, 1, L\}$ and attains $R(S; 2L) = L$. Conversely, any affine image $c + u\{0, 1, L\}$ contains the antipodal pair $\{c, c + uL\} = \{c, c + L\}$. Now suppose $S = \{0, a, b\}$ contains no antipodal pair (which requires $L \ge 3$, as every $3$-subset of $\Z/4\Z$ has an antipodal pair). Because $\gcd(a, b, 2L) = 1$, $a$ and $b$ cannot both be even, so among the three differences $a, b, b - a$ exactly one is even and two are odd. Translating and swapping if necessary (which preserves $R(S; 2L)$, generation, and non-antipodality), we may assume $p := a$ is even, $q := b$ is odd, and $p, q, q - p \not\equiv 0, L \pmod{2L}$. We will find a unit $u_2 \in (\Z/2L\Z)^\times$ such that both canonical residues $(u_2 p \bmod 2L)$ and $(u_2 q \bmod 2L)$ lie in $[0, L - 1]$, proving $R(S; 2L) \le L - 1$ (and hence also $R(S; 2L) \le L$). \emph{Case 1: $L$ is even ($4 \mid 2L$).} Since $p \not\equiv 0, L \pmod{2L}$, choosing $s \in \{1, -1\}$ places $(sp \bmod 2L) \in (0, L)$. Since $q$ is odd and $L$ is even, $(sq \bmod 2L) \notin \{0, L\}$. If $(sq \bmod 2L) \in (0, L)$, take $u_2 = s$. Otherwise $(sq \bmod 2L) \in (L, 2L)$. Because $L$ is even, $w := 1 + L$ is odd and satisfies $\gcd(1 + L, 2L) = 1$, so $w \in (\Z/2L\Z)^\times$. Multiplying by $w$ fixes every even residue modulo $2L$ (as $L \cdot 2r \equiv 0 \pmod{2L}$) while shifting every odd residue by $L \pmod{2L}$. Thus $u_2 := ws$ satisfies $(u_2 p \bmod 2L) = (sp \bmod 2L) \in (0, L)$ and $(u_2 q \bmod 2L) = (sq \bmod 2L) - L \in (0, L)$. \emph{Case 2: $L \ge 3$ is odd ($2L \equiv 2 \pmod 4$).} Suppose for contradiction that no unit $u_2 \in (\Z/2L\Z)^\times$ satisfies both $(u_2 p \bmod 2L) < L$ and $(u_2 q \bmod 2L) < L$. Because $u_2 p$ is even and nonzero modulo $2L$ while $u_2 q$ is odd and $\not\equiv L \pmod{2L}$, neither canonical residue equals $0$ or~$L$; hence negation $u_2 \mapsto -u_2$ strictly swaps $(0, L)$ and $(L, 2L)$ for both coordinates. Applying the assumed failure to both $u_2$ and $-u_2$ therefore gives the equivalence \begin{equation}\label{eq:opp-halves} (u_2 p \bmod 2L) < L \iff (u_2 q \bmod 2L) > L \qquad \text{for all } u_2 \in (\Z/2L\Z)^\times. \end{equation} Since $L$ is odd, reduction modulo~$L$ induces an isomorphism $(\Z/2L\Z)^\times \xrightarrow{\sim} (\Z/L\Z)^\times$ (each unit $u \in (\Z/L\Z)^\times$ has a unique odd lift $u_2 \in (\Z/2L\Z)^\times$). Write $p = 2p'$ and let $B := 2^{-1} q \in \Z/L\Z$. For any $u \in (\Z/L\Z)^\times$ with odd lift $u_2$, we claim: \begin{itemize} \item $(u_2 p \bmod 2L) = 2(u p' \bmod L)$, because $2(u p' \bmod L) \in [0, 2L - 2]$ is even and congruent to $u_2 p$ modulo~$L$. \item Setting $z := (u q \bmod L) \in \{1, \dots, L - 1\}$ (nonzero because $q \not\equiv L \pmod{2L}$ and $q$ is odd), the unique odd lift of $z$ in $\{1, \dots, 2L - 1\}$ is $z$ if $z$ is odd and $z + L$ if $z$ is even; hence $(u_2 q \bmod 2L) > L$ if and only if $z$ is even. Writing $w := (u B \bmod L) \in \{1, \dots, L - 1\}$, we have $z \equiv 2w \pmod L$, so $z = 2w$ when $2w < L$ and $z = 2w - L$ when $2w > L$. Because $L$ is odd, $z$ is even if and only if $2w < L$. \end{itemize} Substituting these two equivalences into~\eqref{eq:opp-halves} yields \begin{equation}\label{eq:modL-equiv} 2(u p' \bmod L) < L \iff 2(u B \bmod L) < L \qquad \text{for all } u \in (\Z/L\Z)^\times. \end{equation} Let $A := (p' \bmod L) \in \Z/L\Z$. Since $p = 2p' \not\equiv 0 \pmod{2L}$ and $q \not\equiv L \pmod{2L}$, both $A$ and $B$ are nonzero modulo~$L$. Set $g_1 := \gcd(A, L)$, $d_1 := L/g_1$ and $g_2 := \gcd(B, L)$, $d_2 := L/g_2$. Both $d_1, d_2$ are odd divisors of $L$ with $d_1, d_2 \ge 3$, and writing $v_1 := (A/g_1 \bmod d_1) \in (\Z/d_1\Z)^\times$ and $v_2 := (B/g_2 \bmod d_2) \in (\Z/d_2\Z)^\times$, we have $(u A \bmod L) = g_1 (\pi_{d_1}(u) v_1)_{\mathrm{can}}$ and $(u B \bmod L) = g_2 (\pi_{d_2}(u) v_2)_{\mathrm{can}}$. Thus~\eqref{eq:modL-equiv} becomes \begin{equation}\label{eq:pullback-equiv} \pi_{d_1}(u) v_1 \in \Phi_{d_1} \iff \pi_{d_2}(u) v_2 \in \Phi_{d_2} \qquad \text{for all } u \in (\Z/L\Z)^\times. \end{equation} We deduce that $d_1 \mid d_2$. Take any $k \in \ker(\pi_{d_2})$ and any $t \in \Phi_{d_1}$. By Lemma~\ref{lem:crt-kernel}(1), choose $u \in (\Z/L\Z)^\times$ with $\pi_{d_1}(u) = t v_1^{-1}$. Then $\pi_{d_1}(u) v_1 = t \in \Phi_{d_1}$, so~\eqref{eq:pullback-equiv} gives $\pi_{d_2}(u) v_2 \in \Phi_{d_2}$. Since $\pi_{d_2}(ku) = \pi_{d_2}(u)$, applying~\eqref{eq:pullback-equiv} to $ku$ yields $\pi_{d_1}(k) t = \pi_{d_1}(ku) v_1 \in \Phi_{d_1}$. Hence $\pi_{d_1}(k) \cdot \Phi_{d_1} \subseteq \Phi_{d_1}$, so Lemma~\ref{lem:primitivity} forces $\pi_{d_1}(k) = 1$. By Lemma~\ref{lem:crt-kernel}(2), this implies $d_1 \mid d_2$. By symmetry, $d_2 \mid d_1$, so $d_1 = d_2$ and $g_1 = g_2$. Since $g_1 \mid p'$, $g_1 = g_2 \mid B$ (hence $g_1 \mid 2B \equiv q \pmod L$), and $g_1 \mid L$, the generating condition $\gcd(2p', q, 2L) = 1$ forces $g_1 = g_2 = 1$. Thus $A, B \in (\Z/L\Z)^\times$, and~\eqref{eq:modL-equiv} says that for every $t \in \Phi_L$, setting $u = t A^{-1} \in (\Z/L\Z)^\times$ gives $(BA^{-1}) t = uB \in \Phi_L$. Applying Lemma~\ref{lem:primitivity} with $d = L$ yields $BA^{-1} = 1$, i.e.\ $p' \equiv B \pmod L$, and multiplying by~$2$ gives $p \equiv q \pmod L$. Because $q - p$ is odd, this forces $q - p \equiv L \pmod{2L}$, contradicting the assumption that $S$ contains no antipodal pair. Therefore some $u_2 \in (\Z/2L\Z)^\times$ places $u_2 S \subset [0, L - 1]$, proving $R(S; 2L) \le L - 1$. \end{proof} \begin{example}[Odd-$L$ non-antipodal reduction]\label{ex:oddL} Take $L = 7$ ($m = 14$) and $S = \{0, 2, 11\}$, so $p = 2$, $q = 11$, and $q - p = 9$ (none congruent to $7 \pmod{14}$). At $u_2 = 1$, the pair $(2, 11)$ straddles~$7$; at $u_2 = 3 \in (\Z/14\Z)^\times$, we obtain $(3 \cdot 2, 3 \cdot 11) \equiv (6, 5) \pmod{14}$ inside $(0, 7)^2$, confirming $R(S; 14) \le 6$ (in fact, $u_2 = 5$ gives $\{0, -4, -1\} \pmod{14}$ and exact span $R(S; 14) = 4$). \end{example} \subsection*{Contrast with Prime Moduli and Sharp Centered-Hexagonal Realization} To contrast the linear composite blowup of Theorem~\ref{thm:composite-blowup} directly against prime moduli in a self-contained way, we record the exact hexagonal upper bound at prime moduli and prove its sharp attainment along $m = 3k^2 + 3k + 1$. \begin{proposition}[Hexagonal Upper Bound at Prime Moduli]\label{prop:prime-hermite} For every prime $p \ge 3$ and every three-element subset $S \subset \F_p$, \[ R(S; p) \le \left\lfloor \frac{2}{\sqrt{3}}\sqrt{p}\right\rfloor. \] \end{proposition} \begin{proof} Translate $S$ to $\{0, a, b\}$ with $a, b, b - a \not\equiv 0 \pmod p$. Since $(a, b) \not\equiv (0, 0) \pmod p$, the homomorphism $\Z^2 \to \F_p$ given by $(x, y) \mapsto bx - ay \pmod p$ is surjective, so its kernel $\mathcal{L}$ is a sublattice of $\Z^2$ of index (determinant)~$p$. Consider the positive-definite quadratic form $Q(x, y) := x^2 - xy + y^2$, whose associated symmetric bilinear form $B((x, y), (x', y')) = xx' - \frac{1}{2}(xy' + x'y) + yy'$ has Gram determinant $\Delta_0 = 3/4$. On $\mathcal{L}$, choose a shortest nonzero vector $v_1 \in \mathcal{L}$ minimizing $Q(v_1) > 0$; since $v_1$ is primitive in $\mathcal{L}$, extend it to a $\Z$-basis $\{v_1, v_2\}$ of $\mathcal{L}$, and shift $v_2$ by an integer multiple of $v_1$ so that $|B(v_1, v_2)| \le \frac{1}{2} Q(v_1)$. By minimality $Q(v_2) \ge Q(v_1)$, and the Gram determinant of $\{v_1, v_2\}$ is $\frac{3}{4} p^2$, so \[ \frac{3}{4} p^2 = Q(v_1) Q(v_2) - B(v_1, v_2)^2 \ge Q(v_1)^2 - \frac{1}{4} Q(v_1)^2 = \frac{3}{4} Q(v_1)^2, \] recovering Hermite's planar constant $\gamma_2 = 2/\sqrt{3}$ (cf.~\cite{Cassels1971}) and yielding a nonzero vector $(x, y) = v_1 \in \mathcal{L}$ with $x^2 - xy + y^2 \le p$. From the algebraic identities \[ x^2 - xy + y^2 = \tfrac{3}{4}x^2 + \bigl(y - \tfrac{1}{2}x\bigr)^2 = \tfrac{3}{4}y^2 + \bigl(x - \tfrac{1}{2}y\bigr)^2 = \tfrac{3}{4}(x - y)^2 + \tfrac{1}{4}(x + y)^2, \] we obtain $x^2 - xy + y^2 \ge \frac{3}{4}\max(|x|, |y|, |x - y|)^2 = \frac{3}{4} N(x, y)^2$, and hence $N(x, y) \le \frac{2}{\sqrt{3}}\sqrt{p}$. For every prime $p \ge 3$, we have $\frac{2}{\sqrt{3}}\sqrt{p} < p$, whereas any nonzero vector divisible by $p$ has $N(x, y) \ge p$; therefore $\gcd(x, y, p) = 1$, i.e.\ $(x, y) \in \mathcal{L}_{\mathrm{vis}}$. Because $N(x, y)$ is an integer, $R(S; p) \le \lfloor \frac{2}{\sqrt{3}}\sqrt{p} \rfloor$. \end{proof} Proposition~\ref{prop:prime-hermite} holds for all primes $p \ge 3$ and recovers the finite-$p$ upper bound matching Lev's sharp constant $2/\sqrt{3}$~\cite{Lev2000} ($\max_{|S|=3} R(S; p) \sim \frac{2}{\sqrt{3}}\sqrt{p}$). The next theorem shows via a purely integer Eisenstein--Jacobi norm argument (reflecting the hexagonal Eisenstein--Jacobi lattice of Huber~\cite{Huber1994}) that the exact constant $\lfloor \frac{2}{\sqrt{3}}\sqrt{m}\rfloor$ is attained sharply along every centered-hexagonal modulus $m = 3k^2 + 3k + 1$ (including all cuban primes $p = 7, 19, 37, 61, 127, \dots$, OEIS~\texttt{A002407}, as well as composite members such as $m = 217 = 7 \cdot 31$ at $k = 8$; we do not claim infinitude of primes of this quadratic form, which remains open). \begin{theorem}[Sharp Centered-Hexagonal Realization]\label{thm:hexagonal} For every integer $k \ge 1$ and $m = 3k^2 + 3k + 1$, the subset $S_k := \{0, k + 1, 2k + 1\} \subset \Z/m\Z$ is a generating triple of three distinct residues with exact minimum visible span \[ R(S_k; m) = 2k + 1 = \left\lfloor \frac{2}{\sqrt{3}}\sqrt{m}\right\rfloor. \] \end{theorem} \begin{proof} For $k \ge 1$, we have $0 < k + 1 < 2k + 1 < 3k^2 + 3k + 1 = m$, so the three residues are distinct, and $2(k + 1) - (2k + 1) = 1$ implies $\gcd(k + 1, 2k + 1, m) = 1$. Taking $a = k + 1$ and $b = 2k + 1$, the visible lattice vector $(x, y) = (k + 1, 2k + 1) \in \mathcal{L}_{\mathrm{vis}}$ has span $N(k + 1, 2k + 1) = 2k + 1$, giving $R(S_k; m) \le 2k + 1$. Conversely, let $(x, y) \in \mathcal{L}_{\mathrm{vis}}$ be any visible vector for the congruence $bx \equiv ay \pmod m$, i.e.\ $(2k + 1)x \equiv (k + 1)y \pmod m$ (equivalently $x \equiv u(k + 1)$ and $y \equiv u(2k + 1) \pmod m$ for some $u \in (\Z/m\Z)^\times$). Multiplying $(k + 1)x + ky$ by $2k + 1$ gives \begin{align*} (2k + 1)\bigl((k + 1)x + ky\bigr) &\equiv (k + 1)^2 y + (2k^2 + k)y \\ &= (3k^2 + 3k + 1)y = my \equiv 0 \pmod m. \end{align*} Since $4m - 3(2k + 1)^2 = 1$, we have $\gcd(2k + 1, m) = 1$, forcing $m \mid ((k + 1)x + ky)$. Set \[ \alpha := \frac{(k + 1)x + ky}{m} \in \Z, \qquad \beta := \frac{(2k + 1)x - (k + 1)y}{m} \in \Z. \] The coefficient matrix $\bigl(\begin{smallmatrix} k+1 & k \\ 2k+1 & -(k+1) \end{smallmatrix}\bigr)$ has determinant $-(k + 1)^2 - k(2k + 1) = -m$ and squares to $mI_2$, so inverting the linear system yields $x = (k + 1)\alpha + k\beta$ and $y = (2k + 1)\alpha - (k + 1)\beta$. Since $y \equiv u(2k + 1) \not\equiv 0 \pmod m$, we have $(x, y) \neq (0, 0)$ and hence $(\alpha, \beta) \neq (0, 0)$. Direct expansion gives the Eisenstein-norm identity \[ x^2 - xy + y^2 = m(\alpha^2 - \alpha\beta + \beta^2). \] If $xy \ge 0$, then $x^2 - xy + y^2 \le \max(x^2, y^2) \le N(x, y)^2$; if $xy < 0$, then $x^2 - xy + y^2 < (x - y)^2 \le N(x, y)^2$. Thus $x^2 - xy + y^2 \le N(x, y)^2$ always holds. Moreover, $4(\alpha^2 - \alpha\beta + \beta^2) = (2\alpha - \beta)^2 + 3\beta^2 \neq 8$ in $\Z$ (testing $|\beta| \le 1$ leaves squares equal to $5$ or~$8$), so $\alpha^2 - \alpha\beta + \beta^2 \neq 2$. \begin{itemize} \item If $\alpha^2 - \alpha\beta + \beta^2 = 1$, then $(\alpha, \beta) \in \{\pm(1, 0), \pm(0, 1), \pm(1, 1)\}$, corresponding to $(x, y) \in \{\pm(k + 1, 2k + 1),\; \pm(k, -(k + 1)),\; \pm(2k + 1, k)\}$, and all six lifts satisfy $N(x, y) = 2k + 1$. \item If $\alpha^2 - \alpha\beta + \beta^2 \ge 3$, then $N(x, y)^2 \ge 3m = 9k^2 + 9k + 3 > (2k + 1)^2$, whence $N(x, y) \ge 2k + 2$. \end{itemize} Thus $R(S_k; m) = 2k + 1$. Finally, $3(2k + 1)^2 = 4m - 1 < 4m < 3(2k + 2)^2$, which implies $2k + 1 < \frac{2}{\sqrt{3}}\sqrt{m} < 2k + 2$ and hence $2k + 1 = \lfloor \frac{2}{\sqrt{3}}\sqrt{m} \rfloor$. \end{proof} Table~\ref{tab:comparison} illustrates this dichotomy via an exhaustive Python census over all normalized generating triples (equivalently, all generating triples up to translation) for every modulus $3 \le m \le 61$ and every even modulus $m = 2L$ ($2 \le L \le 36$). In the table, $m/\lpf(m)$ is the composite lower bound of Theorem~\ref{thm:composite-blowup} (exact at even moduli by Theorem~\ref{thm:2L-classification}, where the unique extremal affine orbit is that of $\{0, 1, L\}$, and strictly exceeded e.g.\ at $m = 49$), whereas $\lfloor \frac{2}{\sqrt{3}}\sqrt{m}\rfloor$ is a general upper bound for prime moduli only (Proposition~\ref{prop:prime-hermite}) and is displayed on composite rows solely for comparison. \begin{table}[ht] \centering \caption{Extremal spans $\max_S R(S; m)$ over generating triples for prime and composite moduli ($3 \le m \le 61$ and even $m = 2L$, $2 \le L \le 36$).} \label{tab:comparison} \footnotesize \setlength{\tabcolsep}{3pt} \begin{tabular}{@{}lcccc@{}} \toprule Modulus $m$ & Type & $\max R(S; m)$ & $m/\lpf(m)$ & $\lfloor \frac{2}{\sqrt{3}}\sqrt{m}\rfloor$ \\ \midrule $7 = 3\cdot 1^2 + 3\cdot 1 + 1$ & Prime (hex) & $3$ & $1$ & $3$ \\ $19 = 3\cdot 2^2 + 3\cdot 2 + 1$ & Prime (hex) & $5$ & $1$ & $5$ \\ $37 = 3\cdot 3^2 + 3\cdot 3 + 1$ & Prime (hex) & $7$ & $1$ & $7$ \\ $53$ & Prime & $7$ & $1$ & $8$ \\ $61 = 3\cdot 4^2 + 3\cdot 4 + 1$ & Prime (hex) & $9$ & $1$ & $9$ \\ \midrule $2L$ ($2 \le L \le 36$) & Even (orbit of $\{0, 1, L\}$) & $L$ & $L$ & $\lfloor \sqrt{8L/3}\rfloor$ \\ $15 = 3 \cdot 5$ & Odd composite & $5$ & $5$ & $4$ \\ $33 = 3 \cdot 11$ & Odd composite & $11$ & $11$ & $6$ \\ $49 = 7^2$ & Odd composite & $8$ & $7$ & $8$ \\ $55 = 5 \cdot 11$ & Odd composite & $11$ & $11$ & $8$ \\ $57 = 3 \cdot 19$ & Odd composite & $19$ & $19$ & $8$ \\ \bottomrule \end{tabular} \end{table} \section{Euclidean Floor-Sum Algorithm, Exact Census, and Open Problems}\label{sec:algorithm} \subsection{M\"obius Inversion and Euclidean Floor-Sum Algorithm} We now show how to compute $R(S; m)$ efficiently for a generating triple $S \subset \Z/m\Z$ ($m \ge 3$) of three distinct residues when the prime factorization of $m$ is given. Every covering progression of span $r \in [2, m - 1]$ with a unit step can be anchored at its left endpoint, which must be one of the three residues of~$S$. Trying each of the three residues as the left endpoint and translating it to~$0$ yields three normalized difference pairs $(a, b)$ satisfying $\gcd(a, b, m) = 1$ and $a, b, b - a \not\equiv 0 \pmod m$. For a given anchor $(a, b)$ and a trial span $r \in [2, m - 1]$, a covering unit-step window starting at $0$ of span $\le r$ exists if and only if there is a visible lattice vector $(x, y) \in \mathcal{L}_{\mathrm{vis}}$ with $0 \le x, y \le r$; since $u \in (\Z/m\Z)^\times$ and $a, b \not\equiv 0 \pmod m$ while $r < m$, neither $x$ nor $y$ can vanish, so this is equivalent to $1 \le x, y \le r$. By M\"obius inversion on the visibility condition $\gcd(x, y, m) = 1$, writing $(x, y) = (tx', ty')$ for each squarefree divisor $t \mid m$ converts $bx \equiv ay \pmod m$ to $bx' \equiv ay' \pmod{m/t}$ and $1 \le x, y \le r$ to $1 \le x', y' \le \lfloor r/t \rfloor$. Hence a visible box solution with $1 \le x, y \le r$ exists if and only if \begin{equation}\label{eq:mobius-box} \sum_{t \mid m} \mu(t)\, D_{m/t}\!\left(\left\lfloor \frac{r}{t}\right\rfloor, \left\lfloor \frac{r}{t}\right\rfloor\right) > 0, \end{equation} where for $q \mid m$ and integers $X, Y \ge 0$, \[ D_q(X, Y) := \#\bigl\{(x, y) \in \Z^2 : 1 \le x \le X,\; 1 \le y \le Y,\; bx \equiv ay \pmod q\bigr\}. \] If $X = 0$ or $Y = 0$, then $D_q(X, Y) = 0$. Otherwise, set $g := \gcd(q, a)$, $P := q/g \ge 1$, and $M := \lfloor X/g \rfloor$. Because $q \mid m$ and $\gcd(a, b, m) = 1$, we have $\gcd(a, b, q) = 1$, hence $\gcd(g, b) = \gcd(\gcd(q, a), b) = 1$. Therefore $bx \equiv ay \pmod q$ forces $g \mid x$. Writing $x = gj$ ($1 \le j \le M$) and dividing the congruence by~$g$ reduces it to $(a/g)y \equiv bj \pmod P$, where $\gcd(a/g, P) = 1$. \begin{itemize} \item If $P = 1$ (which always occurs for the term $t = m$, $q = 1$, and whenever $q \mid a$), the congruence modulo~$P$ is vacuous for every $y \in [1, Y]$, so \[ D_q(X, Y) = M Y = \left\lfloor \frac{X}{q} \right\rfloor Y. \] \item If $P > 1$, let $v \in \{0, \dots, P - 1\}$ satisfy $v \equiv b(a/g)^{-1} \pmod P$. Then $y \equiv vj \pmod P$ has $\lfloor (Y - vj)/P \rfloor - \lfloor (-vj)/P \rfloor$ solutions $y \in [1, Y]$ for each $j \in \{1, \dots, M\}$, giving \[ D_q(X, Y) = \sum_{j=1}^{M}\!\left(\left\lfloor \frac{Y - vj}{P}\right\rfloor - \left\lfloor \frac{-vj}{P}\right\rfloor\right). \] Substituting $j = i + 1$ ($0 \le i < M$) writes each sum in the form $\sum_{i=0}^{M-1} \lfloor (\alpha i + \beta)/P \rfloor$ with integer slope $\alpha = -v$ and intercept $\beta \in \{Y - v, -v\}$. Writing Euclidean quotients and nonnegative remainders $\alpha = q_\alpha P + r_\alpha$ ($0 \le r_\alpha < P$) and $\beta = q_\beta P + r_\beta$ ($0 \le r_\beta < P$) gives \[ \sum_{i=0}^{M-1} \left\lfloor \frac{\alpha i + \beta}{P}\right\rfloor = q_\alpha \frac{M(M - 1)}{2} + q_\beta M + \sum_{i=0}^{M-1} \left\lfloor \frac{r_\alpha i + r_\beta}{P}\right\rfloor, \] whose final term satisfies $0 \le r_\alpha, r_\beta < P$ and evaluates in $O(\log P)$ arithmetic operations via the Euclidean floor-sum recurrence~\cite{AtCoderLibrary,AtCoderEditorial}. (Here the mathematical recurrence operates on arbitrary-size integers in $O(\log P)$ arithmetic operations, distinct from the fixed-width 64-bit C++ library implementation~\cite{AtCoderLibrary}, which restricts inputs to $n, m < 2^{32}$ to prevent machine overflow.) \end{itemize} Because $\mu(t) = 0$ unless $t$ is squarefree, the sum~\eqref{eq:mobius-box} has at most $2^{\omega(m)}$ nonzero terms, each requiring one extended Euclidean inverse and two floor-sum evaluations in $O(\log m)$ arithmetic operations. Since feasibility is monotone in~$r$, binary searching over $r \in [2, m - 1]$ across the three anchors determines $R(S; m)$ in $O(2^{\omega(m)} \log^2 m)$ arithmetic operations on $O(\log m)$-bit integers given the prime factorization of~$m$ (and enumerating the $\tau(d)$ divisors of $d$ from its factorization selects $E$ in $O(\tau(d))$ additional operations). \subsection{Exact Extremal Census for \texorpdfstring{$3 \le m \le 1000$}{3 <= m <= 1000}, OEIS Verification, and Open Problems}\label{sec:census} Define the extremal generating-triple span sequence \[ M(m) := \max_{|S| = 3,\;\langle S - S \rangle = \Z/m\Z} R(S; m) \qquad (m \ge 3). \] To evaluate $M(m)$ exactly over a wide range of moduli, observe that every generating triple $S = \{s_1, s_2, s_3\} \subset \Z/m\Z$ has an affine representative $\{0, g, b\}$ where $g := \min(\gcd(s_2 - s_1, m), \gcd(s_3 - s_1, m), \gcd(s_3 - s_2, m)) \mid m$: translating an optimal pair to $\{0, a\}$ and applying the surjectivity of $(\Z/m\Z)^\times \to (\Z/(m/g)\Z)^\times$ (Theorem~\ref{thm:fixed-order}) maps $a \mapsto g \pmod m$, yielding $\gcd(g, b) = 1$, $\gcd(b, m) \ge g$, and $\gcd(b - g, m) \ge g$. By reflection $x \mapsto (g - x) \bmod m$, we may assume $b \le (g - b) \bmod m$. Moreover, whenever $g > 1$, the three divisors $g_1 = g$, $g_2 = \gcd(b, m)$, and $g_3 = \gcd(b - g, m)$ of $m$ are pairwise coprime (since $\gcd(g_i, g_j) = \gcd(g, b, m) = 1$) and each $\ge g$, forcing $g^3 \le g_1 g_2 g_3 \le m$ (and $\omega(m) \ge 3$). Combining this provably complete canonicalization with single-threshold feasibility pruning via~\eqref{eq:mobius-box} at the running maximum (invoking binary search only when a candidate strictly exceeds the current maximum) evaluates $M(m)$ exactly for all $998$ moduli $3 \le m \le 1000$ across $252{,}423$ canonical candidates in $1.6\text{ s}$ in Python (\texttt{compute\_\allowbreak max\_\allowbreak R\_\allowbreak census.py}, run independently without assuming Theorem~\ref{thm:2L-classification} for even~$m$). Every extremal witness up to $m = 1000$ was additionally confirmed by direct unit enumeration over $(\Z/m\Z)^\times$, and the full sequence was cross-checked with zero discrepancies against unreduced brute force over all $50{,}227$ normalized generating triples for $3 \le m \le 72$. Via Theorem~\ref{thm:fixed-order}, $M(m)$ also determines the unrestricted maxima over \emph{all} three-element subsets $S \subset \Z/n\Z$ (generating or not): restricting to unit steps $h \in (\Z/n\Z)^\times$ ($e = d$) gives \[ M_{\mathrm{unit}}(n) := \max_{|S| = 3 \subset \Z/n\Z} \min_{h \in (\Z/n\Z)^\times} \mathrm{span}(S, h) = \max_{\substack{d \mid n \\ n/d \ge 3}} d \cdot M(n/d), \] which strictly exceeds $M(n)$ whenever $3 \mid n$ and $n \ge 6$ (attaining $\frac{2}{3}n$ on the non-generating coset $\{0, n/3, 2n/3\}$, as $M(3) = 2$). Indeed, $M(n) < \frac{2}{3}n$ holds for every $n \ge 4$: for any generating triple $S \subset \Z/n\Z$, the three clockwise circular gaps sum to $n$, so the largest gap is at least $n/3$ and hence $R(S; n) \le \frac{2}{3}n$, with equality only when all three gaps equal $n/3$, forcing $S$ to be a translate of the non-generating residue class $\{0, n/3, 2n/3\}$ (subgroup of order $3 < n$). Allowing arbitrary steps $h \in \Z/n\Z$ ($H = 0$, $E = 1$) gives $M_{\mathrm{any}}(n) = \max_{d \mid n,\, n/d \ge 3} M(n/d)$, which equals $M(n)$ for every $3 \le n \le 1000$. Both identities were verified directly against all $7{,}140$ normalized $3$-subsets for $3 \le n \le 36$. The first $40$ terms of $M(m)$ ($3 \le m \le 42$) are \begin{align*} &2, 2, 2, 3, 3, 4, 3, 5, 3, 6, 4, 7, 5, 8, 4, 9, 5, 10, 7, 11, \\ &5, 12, 5, 13, 9, 14, 5, 15, 6, 16, 11, 17, 7, 18, 7, 19, 13, 20, 7, 21, \dots \end{align*} A search of the On-Line Encyclopedia of Integer Sequences~\cite{OEIS} (checked November~30, 2026) confirms that $M(m)$ is a new candidate sequence (archived for $3 \le m \le 1000$ in \texttt{max\_\allowbreak R\_\allowbreak census\_\allowbreak 3\_\allowbreak to\_\allowbreak 1000.\allowbreak json} and OEIS b-file format in \texttt{oeis\_\allowbreak candidate\_\allowbreak max\_\allowbreak R.\allowbreak txt}): no existing OEIS entry matches its first $13$ terms ($3 \le m \le 15$). In particular, OEIS~\texttt{A077105} (nonisomorphic generalized Petersen graphs, beginning $1,\allowbreak 1,\allowbreak 2,\allowbreak 2,\allowbreak 2,\allowbreak 3,\allowbreak 3,\allowbreak 4,\allowbreak 3,\allowbreak 5,\allowbreak 4,\allowbreak 5, \dots$, shifted by $+2$ so that $\texttt{A077105}(m + 2)$ aligns with $M(m)$) agrees with $M(m)$ on only $8$ consecutive terms ($3 \le m \le 10$) before diverging at $m = 11$ ($M(11) = 3$ vs.\ $4$), while the longest matching OEIS prefix is \texttt{A271519} (shifted by $+1$ so that $\texttt{A271519}(m + 1)$ aligns with $M(m)$, matching $12$ terms for $3 \le m \le 14$) before diverging at $m = 15$ ($M(15) = 5$ vs.\ $4$). For comparison, the composite lower bound $m/\lpf(m)$ of Theorem~\ref{thm:composite-blowup} is OEIS~\texttt{A032742} (largest proper divisor of~$m$), and the centered-hexagonal prime moduli $p = 3k^2 + 3k + 1$ of Theorem~\ref{thm:hexagonal} are the cuban primes, OEIS~\texttt{A002407}. Neither $M(m)$, nor the covering-length sequence $1 + M(m)$, nor the prime subsequence $M(p)$, nor $M_{\mathrm{unit}}(n)$ currently appears in the OEIS. The census up to $m = 1000$ exposes a sharp regime transition at odd composite moduli. Comparing the composite lower bound $m/\lpf(m)$ of Theorem~\ref{thm:composite-blowup} against the hexagonal scale $\frac{2}{\sqrt{3}}\sqrt{m}$, the latter exceeds $m/\lpf(m)$ precisely when $\lpf(m) > \frac{\sqrt{3}}{2}\sqrt{m}$ (for a semiprime $m = pq$ with $p \le q$, equivalently $q < \frac{4}{3}p$, which includes every prime square $p^2$). Across all $998$ moduli $3 \le m \le 1000$: \begin{itemize} \item Every modulus satisfies $M(m) \le \max\!\bigl(m/\lpf(m),\; \lfloor \frac{2}{\sqrt{3}}\sqrt{m}\rfloor\bigr)$. \item Every composite $m \le 1000$ satisfying $m/\lpf(m) \ge \lfloor \frac{2}{\sqrt{3}}\sqrt{m}\rfloor$ attains $M(m) = m/\lpf(m)$ with zero exceptions (for example, the centered-hexagonal composite $m = 217 = 7 \cdot 31$ has $M(217) = 31 = 217/7$, strictly above the hexagonal witness span $R(S_8; 217) = 17$). \item Exactly $11$ composite moduli in $[3, 1000]$ satisfy $m/\lpf(m) < \lfloor \frac{2}{\sqrt{3}}\sqrt{m}\rfloor$: ten strictly exceed $m/\lpf(m)$ (enumerated in Table~\ref{tab:odd-composites}), while the eleventh ($m = 437 = 19 \cdot 23$) satisfies $m/\lpf(437) = 23 < 24 = \lfloor \frac{2}{\sqrt{3}}\sqrt{437}\rfloor$ yet attains $M(437) = 23$. Among the ten strict exceeders, seven attain $\lfloor \frac{2}{\sqrt{3}}\sqrt{m}\rfloor$ sharply (including the first non-square example $m = 323 = 17 \cdot 19$), while three ($529, 841, 899$) fall short by~$1$. \item Among the $167$ odd primes $3 \le p \le 1000$, exactly $90$ attain $M(p) = \lfloor \frac{2}{\sqrt{3}}\sqrt{p}\rfloor$, $61$ attain $\lfloor \frac{2}{\sqrt{3}}\sqrt{p}\rfloor - 1$ (first at $p = 29$), $16$ attain $\lfloor \frac{2}{\sqrt{3}}\sqrt{p}\rfloor - 2$ (first at $p = 173$), and none with $p \le 1000$ fall short by $3$ or more (beyond $1000$, deficit $3$ does occur: e.g.\ at $p = 1523$, $M(1523) = 42$ vs.\ $\lfloor \frac{2}{\sqrt{3}}\sqrt{1523}\rfloor = 45$). \end{itemize} \begin{table}[ht] \centering \caption{Complete list of all ten odd composite moduli $3 \le m \le 1000$ satisfying $M(m) > m/\lpf(m)$, together with an explicit extremal generating triple $\{0, 1, b\}$.} \label{tab:odd-composites} \footnotesize \setlength{\tabcolsep}{4pt} \begin{tabular}{@{}lccccc@{}} \toprule Modulus $m$ & Factorization & $m/\lpf(m)$ & $M(m)$ & $\lfloor \frac{2}{\sqrt{3}}\sqrt{m}\rfloor$ & Witness $\{0, 1, b\}$ \\ \midrule $49$ & $7^2$ & $7$ & $8$ & $8$ & $\{0, 1, 19\}$ \\ $121$ & $11^2$ & $11$ & $12$ & $12$ & $\{0, 1, 19\}$ \\ $169$ & $13^2$ & $13$ & $15$ & $15$ & $\{0, 1, 23\}$ \\ $289$ & $17^2$ & $17$ & $19$ & $19$ & $\{0, 1, 28\}$ \\ $323$ & $17 \cdot 19$ & $19$ & $20$ & $20$ & $\{0, 1, 49\}$ \\ $361$ & $19^2$ & $19$ & $21$ & $21$ & $\{0, 1, 35\}$ \\ $529$ & $23^2$ & $23$ & $25$ & $26$ & $\{0, 1, 37\}$ \\ $841$ & $29^2$ & $29$ & $32$ & $33$ & $\{0, 1, 132\}$ \\ $899$ & $29 \cdot 31$ & $31$ & $33$ & $34$ & $\{0, 1, 55\}$ \\ $961$ & $31^2$ & $31$ & $35$ & $35$ & $\{0, 1, 83\}$ \\ \bottomrule \end{tabular} \end{table} These findings naturally suggest two open problems. \begin{problem}[Odd composite extremals and universal upper bound]\label{prob:odd-composites} Does the inequality \[ M(m) \le \max\!\left(\frac{m}{\lpf(m)},\; \left\lfloor \frac{2}{\sqrt{3}}\sqrt{m}\right\rfloor\right) \] hold for every integer $m \ge 3$? In particular, does $M(m) = m/\lpf(m)$ hold for every composite modulus $m$ with $\lpf(m) \le \frac{\sqrt{3}}{2}\sqrt{m}$ (extending the upper bound of Theorem~\ref{thm:2L-classification} from $m = 2L$ to odd least prime factors such as $m = 3L$)? For odd composites in the hexagonal window $\lpf(m) > \frac{\sqrt{3}}{2}\sqrt{m}$ (prime squares $p^2$ and semiprimes $pq$ with $p < q < \frac{4}{3}p$), characterize the exact value of $M(m)$ and the structure of extremal affine orbits. \end{problem} \begin{problem}[Higher cardinality $k \ge 4$ at composite moduli]\label{prob:higher-k} For $k$-element subsets $S \subset \Z/n\Z$ with $k \ge 4$, Lev~\cite{Lev2000} established prime-modulus covering bounds of order $p^{1 - 1/(k-1)}$. At composite moduli, the fixed-order subgroup reduction of Theorem~\ref{thm:fixed-order} extends directly to the $(k - 1)$-dimensional visible congruence lattice \begin{align*} \mathcal{L}_{\mathrm{vis}}^{(k)} := \bigl\{\mathbf{x} \in \Z^{k-1} :\;& x_i a_j \equiv x_j a_i \pmod m \text{ for all } i, j, \\ &\gcd(x_1, \dots, x_{k-1}, m) = 1\bigr\} \end{align*} with span norm $N_k(\mathbf{x}) := \max(0, x_1, \dots, x_{k-1}) - \min(0, x_1, \dots, x_{k-1})$. Determine the sharp composite-modulus maximum $M_k(m) := \max_S R_k(S; m)$ over all generating $k$-subsets $S \subset \Z/m\Z$ as a function of $k$ and $\lpf(m)$, and determine whether an analogue of the even-modulus $2L$ classification (Theorem~\ref{thm:2L-classification}) governs extremal $k$-tuples at $m = 2L$. \end{problem} \section{Formal Verification Architecture and Reproducibility}\label{sec:formal} To provide machine-checked assurance alongside the human-readable proofs above, the companion software package contains a self-contained, seven-module Lean~4.33.1 project (2{,}984 total lines) pinned to Mathlib commit \texttt{0df444a3} via \texttt{lean-\allowbreak toolchain}, \texttt{lakefile.toml}, and \texttt{lake-\allowbreak manifest.json}: \begin{enumerate} \item \texttt{OrderWindow.lean} (255 lines) formalizes admissible step orders and fixed-order $e$-scaling. \item The companion modules \texttt{Normalize\allowbreak Digits.lean} (64 lines), \texttt{Visible\allowbreak Windows.lean} (165 lines), and \texttt{Cutoff\allowbreak Ambient.lean} (123 lines) formalize difference normalization, the equivalence of unit-step windows with visible lattice vectors, and ambient cutoff minimization. \item \texttt{Cyclic\allowbreak Theorem\allowbreak Six.lean} (70 lines) combines these modules to prove the fixed-order and cutoff formula $1 + ER$ for arbitrary signed inputs. \item \texttt{Orbit\allowbreak Equality2L.lean} (1{,}765 lines) formalizes the composite divisor span, the primitivity of $\Phi_d$, the complete even-modulus $2L$ classification, and the centered-hexagonal span in unit-window form. \item \texttt{Orbit\allowbreak Windows\allowbreak Bridge.lean} (542 lines) links the unit-window definitions to visible congruence-lattice spans, formalizes Proposition~\ref{prop:obstruction} and Lemma~\ref{lem:crt-kernel}, and adds explicit distinctness, generation, least-prime-factor, and integer floor-inequality clauses to Theorems~\ref{thm:composite-blowup}, \ref{thm:2L-classification}, and~\ref{thm:hexagonal}. \end{enumerate} Table~\ref{tab:lean-map} records the exact Lean-to-TeX correspondence, including convention conversions (Lean's \texttt{Unit\allowbreak Window} and \texttt{Order\allowbreak Window} measure span $W_{\mathrm{Lean}} = W - 1$, whereas \texttt{covering\allowbreak Lengths} counts positions $W = 1 + ER$). Every module compiles with zero \texttt{sorry}, zero \texttt{admit}, zero \texttt{native\_\allowbreak decide}, zero custom axioms, and zero compiler warnings under Lean~4.33.1 (reproducible directly via \texttt{lake build}). In addition, all seven compiled modules and their \texttt{lean4\allowbreak export} streams have been checked by four checker implementations spanning three independent kernel lineages: the official Lean~4.33.1 kernel (\texttt{lean} and \texttt{lean\allowbreak checker}), \texttt{con-leche} together with its Rust port \texttt{con-ron}, and \texttt{nanoda\_\allowbreak bin\_\allowbreak patched} (in both RAM and disk-arena modes), accompanied by \texttt{lean-\allowbreak export-\allowbreak stream}, confirming dependence solely on \texttt{propext}, \texttt{Classical.\allowbreak choice}, and \texttt{Quot.\allowbreak sound}. Specifically, the external toolchain consists of: \begin{itemize} \item \texttt{lean4\allowbreak export} 3.1.0 (\url{https://github.com/leanprover/lean4export} at commit \texttt{15f6055e}, toolchain bumped to \texttt{v4.33.1}, binary SHA-256 \texttt{cd51ec53\allowbreak 33203959\dots}); \item \texttt{con-leche} (\url{https://github.com/leanprover/con-leche} at \texttt{bc667610}, SHA-256 \texttt{c5e8e336\allowbreak 9f47a217\dots}) and its Rust port \texttt{con-ron} (\url{https://github.com/leanprover/con-ron} at \texttt{3f22699b}, SHA-256 \texttt{e07e0837\allowbreak d460ce0c\dots}); \item \texttt{nanoda\_\allowbreak bin\_\allowbreak patched} (\url{https://github.com/ammkrn/nanoda_lib} at \texttt{0da9f98f} plus a local storage/reporting patch in \texttt{src/\allowbreak disk\_\allowbreak expr.rs} adding an optional disk-backed expression arena and JSON axiom output while leaving the type-checking kernel \texttt{src/tc.rs} unmodified, SHA-256 \texttt{d693ba08\allowbreak 54538ca7\dots}); \item \texttt{lean-\allowbreak export-\allowbreak stream} (local Rust stream liveness and axiom auditor, SHA-256 \texttt{1d806c31\allowbreak d530a44e\dots}). \end{itemize} Because all external export checkers inspect the \emph{same} \texttt{.export} stream produced by \texttt{lean4\allowbreak export}, this multi-checker pipeline provides checker-implementation redundancy across three independent kernel lineages rather than independent verification of the prose-to-Lean alignment. Note also that reported declaration counts differ slightly across checkers on the same export stream---for example, on \texttt{Orbit\allowbreak Equality2L.\allowbreak export}, \texttt{con-\allowbreak leche}/\allowbreak\texttt{con-\allowbreak ron} report $9{,}517$ top-level declarations while \texttt{nanoda} reports $10{,}316$ because \texttt{nanoda} counts inductive constructors and recursors individually alongside inductive blocks. The replay driver (\texttt{verify\_\allowbreak lean\_\allowbreak 4kernel\_\allowbreak replay.py}), all machine-readable receipts and checksums, the exact $M(m)$ census script (\texttt{compute\_\allowbreak max\_\allowbreak R\_\allowbreak census.py}) and datasets (\texttt{max\_\allowbreak R\_\allowbreak census\_\allowbreak 3\_\allowbreak to\_\allowbreak 1000.json} and \texttt{oeis\_\allowbreak candidate\_\allowbreak max\_\allowbreak R.txt}), and an independent Python exhaustive verifier (\texttt{verify\_\allowbreak orbit\_\allowbreak windows\_\allowbreak exhaustive.py}) are archived in the companion supplementary package (\texttt{doi:\allowbreak 10.5281/\allowbreak zenodo.\allowbreak 24722949}). \begin{table}[ht] \centering \caption{Exact correspondence between manuscript results and formal/computational verification scope. All listed Lean declarations pass four checker implementations spanning three independent kernel lineages under Lean~4.33.1 with standard axioms only.} \label{tab:lean-map} \footnotesize \setlength{\tabcolsep}{3pt} \begin{tabular}{@{} >{\raggedright\arraybackslash}p{0.21\textwidth} >{\raggedright\arraybackslash}p{0.40\textwidth} >{\raggedright\arraybackslash}p{0.33\textwidth}@{}} \toprule Manuscript result & Verified declaration / artifact & Exact formal scope \\ \midrule Theorem~\ref{thm:fixed-order} & \texttt{Cyclic\allowbreak Order\allowbreak Window.\allowbreak order\allowbreak Window\_\allowbreak orders\_\allowbreak iff}, \texttt{least\_\allowbreak order\allowbreak Window\_\allowbreak mul}, \texttt{Cyclic\allowbreak Article.\allowbreak theorem\_\allowbreak six} & Admissible orders $em$, $e$-scaling, cutoff length $1 + ER$ (positions), visible lattice bridge \\ Proposition~\ref{prop:obstruction} & \texttt{Orbit\allowbreak Windows\allowbreak Bridge.\allowbreak proposition\_\allowbreak visibility\_\allowbreak obstruction} & Odd $k \ge 5$: distinctness, $d = 1$, non-visible $(2, 4)$ of span $4$, exact $R = (k+1)/2$ (asymptotic ratio $(k+1)/8 \to \infty$ in prose) \\ Theorem~\ref{thm:composite-blowup} & \texttt{Orbit\allowbreak Equality2L.\allowbreak isLeast\_\allowbreak composite\_\allowbreak divisor\_\allowbreak span}, \texttt{Orbit\allowbreak Windows\allowbreak Bridge.\allowbreak corollary\_\allowbreak composite\_\allowbreak minFac\_\allowbreak blowup} & Explicit witness $R(\{0,1,q\}; pq) = q$ ($p, q \ge 2$), distinctness, generation, $q = m/\lpf(m)$ for composite $m \ge 4$ ($\max_S$ lower bound immediate in prose) \\ Lemma~\ref{lem:primitivity} & \texttt{Orbit\allowbreak Equality2L.\allowbreak hypCMType\_\allowbreak stab\_\allowbreak trivial\_\allowbreak of\_\allowbreak odd} & Trivial stabilizer of $\Phi_d$ for all odd $d \ge 3$ \\ Lemma~\ref{lem:crt-kernel} & \texttt{Orbit\allowbreak Windows\allowbreak Bridge.\allowbreak lemma\_\allowbreak crt\_\allowbreak kernel\_\allowbreak separation} & Surjectivity of $\pi_d$ and kernel separation for $d_1 \nmid d_2$ (odd $L \ge 3$) \\ Theorem~\ref{thm:2L-classification} & \texttt{Orbit\allowbreak Equality2L.\allowbreak even\_\allowbreak extremal\_\allowbreak classification\_\allowbreak 2L}, \texttt{Orbit\allowbreak Windows\allowbreak Bridge.\allowbreak theorem\_\allowbreak 2L\_\allowbreak classification\_\allowbreak lattice} & All $L \ge 2$: $R \le L$, antipodal $\Leftrightarrow$ unique orbit of $\{0,1,L\}$ $\Leftrightarrow R = L$, else $R \le L - 1$ \\ Theorem~\ref{thm:hexagonal} & \texttt{Orbit\allowbreak Equality2L.\allowbreak centered\_\allowbreak hexagonal\_\allowbreak exact\_\allowbreak span}, \texttt{Orbit\allowbreak Windows\allowbreak Bridge.\allowbreak theorem\_\allowbreak centered\_\allowbreak hexagonal\_\allowbreak full} & All $k \ge 1$: distinctness, generation, $R = 2k + 1$, $3(2k+1)^2 = 4m - 1 < 4m < 3(2k+2)^2$, $\lfloor \sqrt{\lfloor 4m/3 \rfloor} \rfloor = 2k + 1$ \\ Proposition~\ref{prop:prime-hermite}, Section~\ref{sec:algorithm}, Tables~\ref{tab:comparison}--\ref{tab:odd-composites} & Paper proofs + Python verifiers (\texttt{verify\_\allowbreak orbit\_\allowbreak windows\_\allowbreak exhaustive.py}, \texttt{compute\_\allowbreak max\_\allowbreak R\_\allowbreak census.py}) & Analytic proofs; exhaustive census ($3 \le m \le 1000$, brute-force cross-check $m \le 72$) and floor-sum oracle ($m \le 36$) \\ \bottomrule \end{tabular} \end{table} \subsection*{AI-Assisted Formalization and Verification Methodology} In accordance with editorial guidelines on documenting AI-assisted research methods, this work was carried out in November--December~2026 under the direction of the author (Robert Kadlec) using large language models and coding assistants from Google DeepMind (\texttt{Google Gemini 4 Neon} in the Antigravity agentic environment), OpenAI (\texttt{Codex} / \texttt{gpt-6.1-terra}), and Anthropic (\texttt{Claude Code}, \texttt{Claude Sonnet 5.5}, \texttt{Claude Opus 5.5}, and \texttt{Fable 5.2}). The author personally defined the research problem (motivated by Remark~\ref{rem:origin}), selected the theorem scope and open problems, reviewed the mathematical proofs and literature citations (including~\cite{Cassels1971,Huber1994,Lev2000,Rodseth1993,Straus1976}), and audited the semantic correspondence between the Lean~4 theorem signatures and manuscript statements in Table~\ref{tab:lean-map}. The AI systems assisted with proof exploration, Lean~4.33.1 formalization scripts, Python census and verification harnesses, manuscript drafting, and automated cross-model consistency checks (which serve strictly as automated consistency checks and not peer review). Every formalized proof was verified deterministically without trust in the generating models: Lean~4.33.1 sources were compiled with \texttt{auto\allowbreak Implicit=\allowbreak false} and zero compiler warnings, exported via \texttt{lean4\allowbreak export}, and re-checked across four checker implementations spanning three independent kernel lineages (the official Lean kernel/\texttt{leanchecker}, \texttt{con-leche} and its Rust port \texttt{con-ron}, and \texttt{nanoda\_\allowbreak bin\_\allowbreak patched}), restricting axioms strictly to \texttt{propext}, \texttt{Classical.\allowbreak choice}, and \texttt{Quot.\allowbreak sound}. Non-formalized claims (Proposition~\ref{prop:prime-hermite}, Section~\ref{sec:algorithm}, and Tables~\ref{tab:comparison}--\ref{tab:odd-composites}) were checked by review of the analytic proofs, automated consistency checks, and deterministic Python verification suites (\texttt{verify\_\allowbreak orbit\_\allowbreak windows\_\allowbreak exhaustive.py} and \texttt{compute\_\allowbreak max\_\allowbreak R\_\allowbreak census.py}). \begin{remark}[Motivating origin]\label{rem:origin} This problem arose from analyzing an integer-separation predicate \texttt{NoRel} used to prevent three-point arithmetic-progression collisions in orbit-separation lemmas of a community Comparator Lean~4 formalization repository~\cite{ComparatorRH} (specifically \texttt{src/\allowbreak Formalism/\allowbreak FrobeniusOrbits/\allowbreak HostThickExists.lean}). For a finite set $T \subset \Z_{\ge 0}$ and width parameter $L \ge 2$, \texttt{NoRel}$(T, L)$ forbids any linear relation $j(s_2 - s_1) = i(s_3 - s_1)$ among distinct $s_1, s_2, s_3 \in T$ with $0 < |i|, |j| \le L$ and $i \neq j$. For $T = \{0, 1, 2\}$, $L = 2$, and any $n \ge 17$, the size bound $4Ls < n$ holds for all $s \in T$ while $2(1 - 0) = 1(2 - 0)$ violates \texttt{NoRel}$(T, 2)$; nevertheless, the minimal progression window covering $T$ in $\Z/n\Z$ has span $2$ (length~$3$, attained at step $h = 1$), motivating the exact determination of minimal covering windows over all steps of prescribed additive order in $\Z/n\Z$. \end{remark} \section*{Data availability} All seven Lean~4.33.1 formalization modules, Lake manifest files, verification receipts, Python verification and census scripts, the exact $M(m)$ JSON dataset (\texttt{max\_\allowbreak R\_\allowbreak census\_\allowbreak 3\_\allowbreak to\_\allowbreak 1000.json}), and the OEIS candidate b-file (\texttt{oeis\_\allowbreak candidate\_\allowbreak max\_\allowbreak R.txt}) are archived in the companion supplementary package (\texttt{doi:\allowbreak 10.5281/\allowbreak zenodo.\allowbreak 24722949}) and are freely reproducible from the pinned software versions documented in Section~\ref{sec:formal}. This Version~2.2 manuscript supersedes the initial preprint \texttt{hexagon:\allowbreak 2611.\allowbreak 01310v1} (\url{https://hexagonmath.org/2611.01310v1}, November~29, 2026), correcting an $(x, y)$-variable swap in the proof of Theorem~\ref{thm:hexagonal} relative to \texttt{v1} and adding the exact $3 \le m \le 1000$ census, OEIS candidate verification, enumeration of the ten odd composite exceedances, Open Problems~\ref{prob:odd-composites}--\ref{prob:higher-k}, and complete seven-module Lean~4.33.1 formalization. \section*{Declaration of generative AI and AI-assisted technologies in the manuscript preparation process} During the preparation of this work in November--December~2026, the author (Robert Kadlec, Masaryk University, Brno) used generative AI and AI-assisted systems---specifically \texttt{Google Gemini 4 Neon} in Google DeepMind's Antigravity agentic environment, OpenAI's \texttt{Codex} (\texttt{gpt-\allowbreak 6.1-\allowbreak terra}), and Anthropic's \texttt{Claude Code}, \texttt{Claude Sonnet 5.5}, \texttt{Claude Opus 5.5}, and \texttt{Fable 5.2}---under the author's direction and supervision to assist with mathematical proof exploration, Lean~4 formalization, Python verification and census scripting, automated consistency checks (strictly automated checks, not peer review), and manuscript drafting and editing. After using these tools, the author personally reviewed the mathematical arguments, literature references, Lean-to-manuscript alignment (Table~\ref{tab:lean-map}), four-checker kernel verification receipts, and deterministic Python verification suites, edited the manuscript as needed, and takes full scholarly responsibility for the integrity, accuracy, and content of the published article. \begin{thebibliography}{11} \bibitem{AtCoderLibrary} AtCoder Library, \emph{Mathematics module: \texttt{floor\_sum} API specification}, \url{https://atcoder.github.io/ac-library/production/document_en/math.html}. \bibitem{AtCoderEditorial} AtCoder Library Practice Contest, \emph{Problem C (\texttt{Floor Sum}) Editorial}, \url{https://atcoder.jp/contests/practice2/editorial/579}. \bibitem{Cassels1971} J.~W.~S.~Cassels, \emph{An Introduction to the Geometry of Numbers}, 2nd printing, Grundlehren der mathematischen Wissenschaften, vol.~99, Springer, Berlin, 1971 (Classics in Mathematics reprint, 1997). \bibitem{ComparatorRH} Community Comparator Formalization Repository, \emph{Lean~4 Riemann Hypothesis Formalization} (commit \texttt{79c7\allowbreak 51e0\allowbreak b0a5\allowbreak ea3b\allowbreak bfc2\allowbreak 0198\allowbreak c852\allowbreak fa85\allowbreak f286\allowbreak 61e6}, predicate \texttt{NoRel} in \texttt{src/\allowbreak Formalism/\allowbreak FrobeniusOrbits/\allowbreak HostThickExists.lean}), \url{https://github.com/leanprover-community/riemann-hypothesis}. \bibitem{Cremona1997} J.~E.~Cremona, \emph{Algorithms for Modular Elliptic Curves}, 2nd ed., Cambridge University Press, Cambridge, 1997, \S 2.2. \bibitem{Huber1994} K.~Huber, \emph{Codes over Eisenstein--Jacobi integers}, Contemporary Mathematics \textbf{168} (1994), 165--179, \texttt{doi:10.1090/conm/168/01696}. \bibitem{Lev2000} V.~F.~Lev, \emph{Simultaneous approximations and covering by arithmetic progressions in $\F_p$}, J.\ Combin.\ Theory Ser.\ A \textbf{92} (2000), 103--118, \href{https://doi.org/10.1006/jcta.1999.3034}{doi:10.1006/jcta.1999.3034}. \bibitem{Manin1972} Yu.~I.~Manin, \emph{Parabolic points and zeta-functions of modular curves}, Math.\ USSR-Izvestiya \textbf{6} (1972), 19--64, \S 2.3. \bibitem{OEIS} OEIS Foundation Inc., \emph{The On-Line Encyclopedia of Integer Sequences}, published electronically at \url{https://oeis.org} (accessed November~30, 2026). \bibitem{Rodseth1993} \O.~J.~R\o dseth, \emph{Sums of distinct residues mod $p$}, Acta Arith.\ \textbf{65} (1993), 181--184. \bibitem{Straus1976} E.~G.~Straus, \emph{Differences of residues (mod $p$)}, J.\ Number Theory \textbf{8} (1976), 40--42, \href{https://doi.org/10.1016/0022-314X(76)90019-6}{doi:10.1016/0022-314X(76)90019-6}. \end{thebibliography} \end{document}