The first maximal noncoprime window of a squarefree modulus
The first maximal noncoprime window of a squarefree modulus For a squarefree modulus \(n>1\), let \(L(n)\) be the length of the longest run in which each entry is individually noncoprime to \(n\), and let \(s(n)\) be the first strictly positive start of such a run. The center is \(c_{\min}=s(n)+(L(n)-1)/2\). The OEIS entry A128707 uses the preceding coprime endpoint \(s(n)-1\). Gerhard Paseman's Western Number Theory problem 024:18 asks how far into a period the first maximal run can lie. The answer differs sharply between odd and even numbers of large prime factors. Paseman, p. 6 · OEIS A128707 Subquestion 1. Odd thin moduli Call \(n\) thin when its \(k\) prime factors are all larger than \(k\). Then \(L(n)=k\), since each prime can cover at most one offset among \(k+1\) consecutive positions, and a CRT assignment creates a run of length \(k\). For \(k=1\), \(s(n)=n\). For \(k=2j+1\ge3\), the first start is \(c_{\min}-j\), and \[\begin{aligned} c_{\min}&<n/3 && (k=3),\ c_{\min}&<\frac n3(1-k^{-2}) && (\text{odd }k\ge5),\ c_{\min}&<n/4 && (k=5,7). \end{aligned} \] The three-prime bound recovers Paseman's earlier comparison. The all-odd improvement uses the constraint that, if every center were separated from zero by the proposed distance, the CRT fractions would have to lie close to the third-integer grid. A permutation of the centered offsets cancels the grid parts, forcing a shorter distance. At five and seven primes, four points whose pairwise differences are legal centers give the quarter-period bound. Original subquestion 1 · Paseman's earlier CRT argument Subquestion 2. Both parities and arbitrary squarefree moduli Let \(p_i\) be the prime factors of \(n\), and let \(E_i\) be the CRT projector that is \(1\) modulo \(p_i\) and \(0\) modulo all other factors. A covering vector \(d=(d_i)\) contains one residue \(d_i\bmod p_i\) for each prime, and the resulting residue classes must cover all offsets \(0,\ldots,L-1\). The exact start and center classes are \[S(d)=-\sum_i E_i d_i\bmod n,\qquad C(d)=S(d)+(L-1)/2\bmod n. \] For integer coefficients summing to zero, coordinatewise congruences among covering vectors give the same relations among centers. This applies to the half-integer centers of even-length windows. In an even thin class, two disjoint coordinate swaps give a balanced four-center relation for \(k\ge4\), and at \(k=2\) the centers form a reflected pair. The covering-residue and reversal methods build on earlier CRT analyses. The affine relation keeps track of centers, and the following construction controls their locations as the primes vary. Original subquestion 2 · Ziller–Morack, Proposition 1.3 and Corollary 1.4 · Tucker's CRT lift atlas Fix a squarefree core \(m\ge1\) and \(q\ge1\) distinct added primes exceeding \(m(q+1)\). Write \(U_v(L)=\{0\le d<L:\gcd(v+d,m)=1\}\) for the offsets left by the core at \(v\bmod m\). The maximal length \(L_*\) is the largest \(L<m(q+1)\) with \(\min_v |U_v(L)|\le q\). The feasible classes \(\mathcal V\) have exactly \(q\) uncovered offsets, which are assigned bijectively to the large primes. This enumerates all maximal starts. If \(L_*\ge2\), take \(\theta=t/m\bmod1\) with \(t\) a unit modulo \(m\), or \(\theta=0\) when \(m=1\). For every \(\alpha\in\mathbb R/\mathbb Z\) with \(q\alpha+\theta=0\), the primes can tend to infinity so that \[\lim\frac{s(n)}n=\lim\frac{c_{\min}}n= \min_{v\in\mathcal V}\left\|v\theta-\alpha\sum_{d\in U_v(L_*)}d\right\|_{\mathbb R/\mathbb Z}, \] where the norm denotes distance to the nearest integer. A final prime chosen in a prescribed unit class controls the CRT fractions together. For each fixed even \(k\ge2\), both ratios over thin squarefree moduli with exactly \(k\) prime factors have unattained supremum \(1/2\). The construction takes \(m=1\), \(q=k\) and \(\alpha=1/k\). Reflection alone gives \(c_{\min}\le n/2\) for squarefree \(n\) with \(L(n)\ge2\). Equality is possible, as at \(n=6\) with run \(2,3,4\). With core \(m=3\), \(q=2\), \(\theta=1/3\) and \(\alpha=5/6\), odd nonthin moduli \(3pq\) have normalized first starts and centers tending to \(1/2\). Thus the one-third comparison for three thin prime factors does not extend to all three-prime squarefree moduli.
Authors
- Zixuan He
Institutions
- University of Glasgow (GB)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24801906
- Primary Topic
- Analytic Number Theory Research
- Type
- preprint