arXiv reader

Restricted Coprime Representations Modulo 6P: Exact CRT Formulas and Positivity Thresholds

Andres M. Salazar

arXiv
2609.22305v2 · PDF · 3 October 2026
Categories
math.GM
Licence
CC BY 4.0 The site shows the text.

Abstract

Let 5\leq p_1<\cdots<p_r be primes, put P=p_1\cdots p_r, and let g_P(2n) count the unordered decompositions 2n=h+k for which both summands are coprime to 6P. We derive an explicit finite inclusion–exclusion formula for g_P(2n) by parametrizing the admissible residue classes and combining the local restrictions through the Chinese remainder theorem. The associated complete-modulus correlation is a specialization of Nagell’s totient function and determines both the finite local density and the affine increment g_P(2(n+6P))-g_P(2n)=\kappa_P(n). A parameter-density decomposition gives a residue-sensitive positivity criterion and the uniform sufficient condition n\geq 3(3^r-1)\prod_{i=1}^{r}\frac{p_i}{p_i-2}+2\Longrightarrow g_P(2n)>0. Maximizing this bound over squarefree moduli whose prime factors do not exceed a prime p gives an explicit threshold \mathcal N(p) satisfying \log\mathcal N(p)\sim(\log3)p/\log p. We also describe the complete prime cutoff at \sqrt{2n} and its exact additive-prime interpretation. We also evaluate g_P(2tP) explicitly using the real character of period 3. The positivity thresholds are elementary and fully explicit; lower-bound sieves provide smaller asymptotic scales, and the present thresholds do not establish positivity at the complete cutoff for all n\geq13.

Items 62

Lemma

Lemma 2.1 (Local divisibility residues)

KRK2

Let p\geq5 be prime. For every z\in\mathbb Z,

\delta_p(6z+1)=0 \quad\Longleftrightarrow\quad \delta_p(z)=a(p),

and

\delta_p(6z+5)=0 \quad\Longleftrightarrow\quad \delta_p(z)=b(p).
Proof of Lemma 2.1

By (?),

(6z+1)-(6a(p)+1)=6\bigl(z-a(p)\bigr).

Since p\nmid6 and p\mid6a(p)+1, one has p\mid6z+1 if and only if p\mid z-a(p), which proves (2.1). The second equivalence follows from (?) in the same way.

Proposition

Proposition 2.2 (The 6-wheel parametrization)

WF21

Suppose that \delta_3(n)=0. Then

z\longmapsto\{H_z(n),K_z(n)\}

is a bijection from \mathcal Z(n) onto the unordered representations of 2n whose two summands are coprime to 6.

Suppose that \delta_3(n)\in\{1,2\}. Then the same map is surjective onto the unordered representations of 2n whose summands are coprime to 6, and its fibers are precisely the orbits of the involution

\tau_n(z)=m(n)-z.

A fixed parameter exists exactly when m(n) is even. When it exists, it gives

H_z(n)=K_z(n)=n.
Used by Proof
Proof of Proposition 2.2

Every integer coprime to 6 has canonical remainder 1 or 5 under \delta_6. Since

\delta_6(2n) = \begin{cases} 0, & \delta_3(n)=0,\\ 2, & \delta_3(n)=1,\\ 4, & \delta_3(n)=2, \end{cases}

the only possible pairs of canonical residues of two summands coprime to 6 are

(1,5)\ \text{or}\ (5,1), \qquad (1,1), \qquad (5,5),

respectively.

If \delta_3(n)=0, exactly one summand has canonical remainder 1 under \delta_6. Writing that summand uniquely as 6z+1 gives the first row of (?). The positivity conditions give precisely z\in\mathcal Z(n). Hence every unordered representation occurs exactly once.

If \delta_3(n)=1, both summands have canonical remainder 1. If \delta_3(n)=2, both have canonical remainder 5. In either case,

H_{m(n)-z}(n)=K_z(n), \qquad K_{m(n)-z}(n)=H_z(n).

Thus interchanging the summands corresponds exactly to replacing z by m(n)-z, and the fibers are the orbits of \tau_n.

A fixed parameter satisfies

z=m(n)-z,

or equivalently 2z=m(n). At such a parameter, (?) gives

H_z(n)=K_z(n)=n.
Lemma

Lemma 3.1 (Collision lemma)

5JOO

For every i\in\{1,\dots,r\},

x_i(n)=y_i(n) \quad\Longleftrightarrow\quad \delta_{p_i}(n)=0.
Proof of Lemma 3.1

Suppose first that e(n)=0. By (?), equality of the two canonical residues is equivalent to

\delta_{p_i}(a_i) = \delta_{p_i}\bigl(m(n)-b_i\bigr).

Using (?) and a_i+b_i=p_i-1, this is equivalent to

p_i\mid m(n)+1.

Since

n=3\bigl(m(n)+1\bigr)

and p_i\neq3, the last condition is equivalent to \delta_{p_i}(n)=0.

Suppose now that e(n)=1. Equality of the excluded residues is equivalent to

p_i\mid m(n)-2a_i.

Since n=3m(n)+1,

3\bigl(m(n)-2a_i\bigr) = n-\bigl(6a_i+1\bigr).

By (?), the quantity 6a_i+1 is divisible by p_i. Hence

p_i\mid m(n)-2a_i \quad\Longleftrightarrow\quad p_i\mid n.

Finally, suppose that e(n)=2. Equality is now equivalent to

p_i\mid m(n)-2b_i.

Because n=3m(n)+5,

3\bigl(m(n)-2b_i\bigr) = n-\bigl(6b_i+5\bigr).

The quantity 6b_i+5 is divisible by p_i by (?). Therefore,

p_i\mid m(n)-2b_i \quad\Longleftrightarrow\quad p_i\mid n.

This completes the proof.

Lemma

Lemma 3.2 (Canonical interval count)

A22G

Let m\geq-1, let q\geq1, and let 0\leq a\leq q-1. Then

L(m,q,a) := \#\left\{ z\in\mathbb Z \mathrel{}\middle|\mathrel{} 0\leq z\leq m,\ \delta_q(z)=a \right\} = 1+\left\lfloor\frac{m-a}{q}\right\rfloor.
Used by Proof
Proof of Lemma 3.2

If a\leq m, the integers being counted are

a,\ a+q,\ a+2q,\dots

up to m, which gives the stated formula.

If a>m, then

-1\leq\frac{m-a}{q}<0.

Consequently,

1+\left\lfloor\frac{m-a}{q}\right\rfloor=0.

This includes m=-1, for which the interval \{z\in\mathbb Z:0\leq z\leq m\} is empty.

Theorem

Theorem 3.3 (Exact CRT formula)

7U9R

For every positive integer n,

\mathcal C_P(n) = \sum_{\boldsymbol\alpha\in\{0,1,2\}^{r}} W_{\boldsymbol\alpha}(n) L\left( m(n), Q_{\boldsymbol\alpha}, \eta_{\boldsymbol\alpha}(n) \right).

Moreover,

g_P(2n) = \begin{cases} \mathcal C_P(n), & \delta_3(n)=0, \\[5pt] \dfrac{\mathcal C_P(n)+F_P(n)}{2}, & \delta_3(n)\in\{1,2\}. \end{cases}
Proof of Theorem 3.3

For z\in\mathcal Z(n), define

I_i(z) = \mathbf 1_{\{ \delta_{p_i}(z)\notin\{x_i(n),y_i(n)\} \}}.

By (?),

\prod_{i=1}^{r}I_i(z)=1

exactly when

\gcd\bigl(H_z(n)K_z(n),P\bigr)=1.

Therefore,

\mathcal C_P(n) = \sum_{z\in\mathcal Z(n)} \prod_{i=1}^{r}I_i(z).

Expanding each factor by means of (?) gives

\prod_{i=1}^{r}I_i(z) = \sum_{\boldsymbol\alpha\in\{0,1,2\}^{r}} W_{\boldsymbol\alpha}(n) \mathbf 1_{\{ \delta_{Q_{\boldsymbol\alpha}}(z) = \eta_{\boldsymbol\alpha}(n) \}}.

For \boldsymbol\alpha=\boldsymbol0, this indicator is identically 1 because

Q_{\boldsymbol0}=1, \qquad \eta_{\boldsymbol0}(n)=0, \qquad \delta_1(z)=0.

Summing the expansion over z\in\mathcal Z(n) and applying Lemma 3.2 gives (3.3).

Suppose that \delta_3(n)=0. By Proposition 2.2, every admissible parameter corresponds to exactly one unordered representation. Hence

g_P(2n)=\mathcal C_P(n).

Suppose now that \delta_3(n)\in\{1,2\}. The involution

z\longmapsto m(n)-z

preserves admissibility because it interchanges H_z(n) and K_z(n). Burnside’s lemma gives

g_P(2n) = \frac{\mathcal C_P(n)+F_P(n)}{2},

provided that F_P(n) is exactly the number of admissible fixed parameters. We now verify this identification.

A fixed parameter exists exactly when m(n) is even. In the two cases under consideration,

n=3m(n)+1 \qquad\text{or}\qquad n=3m(n)+5.

Since both constant terms are odd, m(n) is even exactly when n is odd. If \gcd(n,6P)=1, then n is odd, so the fixed parameter

z=\frac{m(n)}2

exists and gives H_z(n)=K_z(n)=n. It is admissible. Conversely, every admissible fixed parameter gives the decomposition 2n=n+n and therefore requires \gcd(n,6P)=1. Hence the number of admissible fixed parameters is exactly F_P(n), which proves (3.3).

Corollary

Corollary 3.4 (One-prime specialization)

Z8N1

If r=1 and P=p, then

\mathcal C_p(n) = m(n)+1 - \bigl(1-\varepsilon_1(n)\bigr) L\bigl(m(n),p,x_1(n)\bigr) - L\bigl(m(n),p,y_1(n)\bigr).

Together with (3.3), this specializes the general formula to an equivalent form of the one-prime result in [Salazar2026].

Proof of Corollary 3.4

When r=1, the three possible values of \alpha_1 are 0, 1, and 2, with respective weights

1, \qquad -(1-\varepsilon_1(n)), \qquad -1.

The term corresponding to \alpha_1=0 is

L(m(n),1,0)=m(n)+1.
Remark

Remark 3.5

N5Y8

For fixed P, the inverses in (?) may be precomputed. Since w_{i,1}(n)=0 exactly when \varepsilon_i(n)=1, the number of terms with nonzero weight in (3.3) is

\prod_{i=1}^{r}\bigl(3-\varepsilon_i(n)\bigr),

and is therefore at most 3^r. Some of these summands can still vanish because their interval counts are zero. The expansion is a finite Legendre-type inclusion–exclusion formula in which the surviving residue classes are represented explicitly by the Chinese remainder theorem; compare the classical Legendre sieve [FriedlanderIwaniec2010].

Proposition

Proposition 4.1 (Nagell correlation for the squarefree modulus)

TYLU

For every positive integer n,

\theta(2n,M) = \#\mathcal R_P(n) = \kappa_P(n).
Used by Proof
Proof of Proposition 4.1

Let q be a prime divisor of M. The two local coprimality conditions exclude the residues

0 \qquad\text{and}\qquad \delta_q(2n)

under \delta_q. They coincide exactly when q\mid2n. Hence the number of allowed residues is q-1 in the collision case and q-2 otherwise. The factor at q=2 is 1, the factor at q=3 is 1+\mathbf 1_{\{\delta_3(n)=0\}}, and the factor at q=p_i is p_i-2+\varepsilon_i(n). Since M is squarefree, the Chinese remainder theorem gives the product (?).

Corollary

Corollary 4.2 (Finite singular-factor identity)

IBWJ

One has

\frac{\kappa_P(n)}{M} = \left(\frac{\varphi(M)}{M}\right)^2 \mathfrak S_M^{\mathrm{fin}}(2n).
Proof of Corollary 4.2

By Proposition 4.1,

\frac{\kappa_P(n)}{M} = \prod_{q\mid M} \left(1-\frac{\nu_q(2n)}q\right),

whereas

\frac{\varphi(M)}M = \prod_{q\mid M}\left(1-\frac1q\right).

Factoring the square of the latter local term proves the identity.

Proposition

Proposition 4.3 (Reflection identity)

A0N4

For every positive integer n,

2g_P(2n)-F_P(n) = \# \left( \widetilde{\mathcal R}_P(n)\cap[1,2n] \right).

Consequently,

g_P(2n) \geq \frac12 \left\lfloor\frac{2n}{M}\right\rfloor \kappa_P(n).
Used by Proof, Proof, Proof
Proof of Proposition 4.3

Neither 0 nor 2n belongs to \widetilde{\mathcal R}_P(n). The involution a\mapsto2n-a pairs the remaining elements in [1,2n], except for the fixed point a=n, which is present exactly when F_P(n)=1. The resulting orbits are precisely the unordered admissible decompositions counted by g_P(2n), proving (4.3).

The interval [1,2n] contains \lfloor2n/M\rfloor disjoint complete blocks of length M. Each contains \kappa_P(n) elements of the lift. Applying (4.3) and discarding the nonnegative term F_P(n) gives (4.3).

Proposition

Proposition 4.4 (Half-period identity)

5C9Q

For every positive integer n,

\begin{aligned} 2g_P\bigl(2(n+3P)\bigr)-F_P(n+3P) &=2g_P(2n)-F_P(n)+\kappa_P(n). \end{aligned}
Proof of Proposition 4.4

The shift n\mapsto n+3P changes 2n by M=6P. Thus the periodic lifts are identical, while the interval in (4.3) gains exactly one complete block of M integers. This block contains \kappa_P(n) admissible integers. Subtracting the two reflection identities proves the formula.

Theorem

Theorem 4.5 (Affine periodicity)

RSXH

For every positive integer n,

g_P\bigl(2(n+M)\bigr)-g_P(2n) = \kappa_P(n).
Used by Proof
Proof of Theorem 4.5

The sets \widetilde{\mathcal R}_P(n+M) and \widetilde{\mathcal R}_P(n) are identical, because \delta_M(2M)=0. Enlarging [1,2n] to [1,2n+2M] adds two complete periods and therefore 2\kappa_P(n) elements. Moreover F_P(n+M)=F_P(n). Subtracting the two instances of (4.3) gives the result.

Corollary

Corollary 4.6 (Quasipolynomial form)

91EX

Write uniquely

n=a+tM, \qquad 1\leq a\leq M, \qquad t\in\mathbb Z_{\geq0}.

Then

g_P(2n) = g_P(2a)+t\kappa_P(a).

Hence M=6P is a quasiperiod of the degree-one quasipolynomial g_P(2n).

Proof of Corollary 4.6

Iterate Theorem 4.5 and use \kappa_P(a+jM)=\kappa_P(a).

Theorem

Theorem 4.7 (Exact formula on the ray n=tP)

BNDP

For every positive integer t,

g_P(2tP) = \frac{ \left(1+\mathbf 1_{\{\delta_3(t)=0\}}\right)t\varphi(P) }{6} + \frac{\chi_3(t)}{3} \prod_{i=1}^{r} \bigl(\chi_3(p_i)-1\bigr).
Proof of Theorem 4.7

Put n=tP. Formula (?) gives

g_P(2tP) = \#\left\{ 1\leq h\leq tP \mathrel{}\middle|\mathrel{} \gcd(h,M)=\gcd(2tP-h,M)=1 \right\}.

For every prime p_i\mid P,

p_i\mid2tP.

Therefore,

p_i\mid2tP-h \quad\Longleftrightarrow\quad p_i\mid h.

The same equivalence holds for the prime 2. Only the restriction contributed by the prime 3 depends on \delta_3(t).

Suppose first that \delta_3(t)=0. Write t=3u. Then

2tP=uM,

so

\gcd(2tP-h,M)=\gcd(h,M).

Consequently, g_P(2tP) is the number of integers coprime to M in the interval

1\leq h\leq tP=\frac{uM}{2}.

The reduced residues under \delta_M occur in pairs

c \qquad\text{and}\qquad M-c.

There is no fixed point: M/2=3P is not coprime to M. Exactly one member of each pair lies in [1,M/2]. Hence

\#\left\{ 1\leq h\leq \frac M2 \mathrel{}\middle|\mathrel{} \gcd(h,M)=1 \right\} = \frac{\varphi(M)}2 = \varphi(P).

Here \varphi(M)=2\varphi(P) because M=6P and \gcd(P,6)=1. Dividing the interval [1,uM/2] into complete periods and, when necessary, one half-period gives

g_P(2tP) = \frac{u\varphi(M)}2 = u\varphi(P) = \frac{t\varphi(P)}3.

This is the first term of (4.7), while the character term vanishes because \chi_3(t)=0.

Suppose now that \delta_3(t)\neq0. Since P is coprime to 3, one also has \delta_3(tP)\neq0. The restrictions at the primes 2 and 3 are equivalent to

\delta_2(h)=1, \qquad \delta_3(h)=\delta_3(tP).

Indeed, the first condition says that h is odd. Under \delta_3, the two excluded residues are 0 and \delta_3(2tP). If \delta_3(tP)=1, the remaining residue is 1, and if \delta_3(tP)=2, the remaining residue is 2.

Let \mu denote the Möbius function. Applying Möbius inversion to the condition \gcd(h,P)=1 gives

g_P(2tP) = \sum_{d\mid P}\mu(d) \# \left\{ 1\leq h\leq tP \mathrel{}\middle|\mathrel{} d\mid h,\ \delta_2(h)=1,\ \delta_3(h)=\delta_3(tP) \right\}.

Write

h=d\ell, \qquad X_d=\frac{tP}{d}.

Every divisor d of P is coprime to 6. In particular, d is odd, so the condition under \delta_2 becomes \delta_2(\ell)=1. Moreover, tP=dX_d, and multiplication by d is invertible under \delta_3. The second condition in (?) therefore becomes

\delta_3(\ell)=\delta_3(X_d).

For every positive integer X satisfying \delta_3(X)\neq0, define

R_6(X) = \# \left\{ 1\leq\ell\leq X \mathrel{}\middle|\mathrel{} \delta_2(\ell)=1,\ \delta_3(\ell)=\delta_3(X) \right\}.

The four possible canonical residues of X under \delta_6 give

\begin{array}{c|c|c} \delta_6(X) & \text{admissible residue of $\ell$ under $\delta_6$} & R_6(X)\\ \hline 1 & 1 & \dfrac{X+5}{6}\\[4pt] 2 & 5 & \dfrac{X-2}{6}\\[4pt] 4 & 1 & \dfrac{X+2}{6}\\[4pt] 5 & 5 & \dfrac{X+1}{6} \end{array}

and hence

R_6(X) = \frac X6 +\frac12\mathbf 1_{\{\delta_2(X)=1\}} +\frac{\chi_3(X)}3.

Since P/d is odd for every d\mid P, one has

\delta_2(X_d)=\delta_2(t).

Substitution of (?) therefore gives

g_P(2tP) = \sum_{d\mid P}\mu(d) \left( \frac{tP}{6d} +\frac12\mathbf 1_{\{\delta_2(t)=1\}} +\frac{\chi_3(tP/d)}3 \right).

Since P>1,

\sum_{d\mid P}\mu(d)=0.

Also,

\sum_{d\mid P}\mu(d)\frac{P}{d} = \varphi(P),

and the multiplicativity of \chi_3 gives

\sum_{d\mid P} \mu(d)\chi_3(tP/d) = \chi_3(t) \prod_{i=1}^{r} \bigl(\chi_3(p_i)-1\bigr).

Combining these three identities proves (4.7).

Remark

Remark 4.8

RN16

For each i, the factor \chi_3(p_i)-1 is -2 when \delta_3(p_i)=2 and 0 when \delta_3(p_i)=1. Hence the second term in (4.7) either vanishes or has absolute value 2^r/3. If some p_i satisfies \delta_3(p_i)=1, the character correction vanishes for every t. If all satisfy \delta_3(p_i)=2, the correction is (-2)^r\chi_3(t)/3.

Proposition

Proposition 5.1 (Parameter-density decomposition)

LU6A

For every positive integer n,

\mathcal C_P(n) = \frac{m(n)+1}{P}A_P(n)+\mathcal B_P(n),

and

\left|\mathcal B_P(n)\right| < \prod_{i=1}^{r} \bigl(3-\varepsilon_i(n)\bigr)-1 \leq3^r-1.
Used by Proof, Proof
Proof of Proposition 5.1

From the local weights,

\sum_{\boldsymbol\alpha\in\{0,1,2\}^r} \frac{W_{\boldsymbol\alpha}(n)}{Q_{\boldsymbol\alpha}} = \prod_{i=1}^{r} \left( 1-\frac{1-\varepsilon_i(n)}{p_i}-\frac1{p_i} \right) = \frac{A_P(n)}P.

Separating the mean term from each summand of (3.3) gives (5.1).

For a nonzero \boldsymbol\alpha, write

m(n)+1=vQ_{\boldsymbol\alpha}+s, \qquad 0\leq s<Q_{\boldsymbol\alpha}.

If s=0, every residue class occurs exactly v times in the parameter interval, so its discrepancy from the mean is zero. If s>0, each residue class occurs either v or v+1 times, and its discrepancy from the mean has absolute value smaller than 1. Therefore

\left| L\left(m(n),Q_{\boldsymbol\alpha}, \eta_{\boldsymbol\alpha}(n)\right) - \frac{m(n)+1}{Q_{\boldsymbol\alpha}} \right| <1.

Finally,

\sum_{\boldsymbol\alpha\neq\boldsymbol0} |W_{\boldsymbol\alpha}(n)| = \prod_{i=1}^{r}\bigl(3-\varepsilon_i(n)\bigr)-1,

and the triangle inequality proves (5.1).

Proposition

Proposition 5.2 (Refined discrepancy bound)

WGYE

For every positive integer n, put

D_P^{\mathrm{ref}}(n)= \prod_{i=1}^{r}(3-\varepsilon_i(n)) -\prod_{i=1}^{r}\left(1+\frac{2-\varepsilon_i(n)}{p_i}\right).

Then

|\mathcal B_P(n)|\leq D_P^{\mathrm{ref}}(n) <\prod_{i=1}^{r}(3-\varepsilon_i(n))-1.
Used by Remark 5.7
Proof of Proposition 5.2

Write m+1=vq+s, where 0\leq s<q. If s=0, the discrepancy of each residue count is zero. Otherwise it is either -s/q or 1-s/q. Hence, for all integers m\geq-1, q\geq1, and 0\leq a<q,

\left|L(m,q,a)-\frac{m+1}{q}\right|\leq1-\frac1q.

Consequently, the triangle inequality gives

|\mathcal B_P(n)|\leq \sum_{\boldsymbol\alpha}|W_{\boldsymbol\alpha}(n)| \left(1-\frac1{Q_{\boldsymbol\alpha}}\right) =D_P^{\mathrm{ref}}(n).

The equality follows by factoring the two sums of absolute weights. The term with \boldsymbol\alpha=\boldsymbol0 contributes zero. Since r\geq1, the second product defining D_P^{\mathrm{ref}}(n) is strictly greater than 1, proving the strict inequality.

Theorem

Theorem 5.3 (Finite-density decomposition)

RKU3

For every positive integer n,

g_P(2n) = \frac{n}{M}\kappa_P(n)+\mathcal E_P(n), \qquad M=6P,

where

\mathcal E_P(n) = \begin{cases} \mathcal B_P(n), & \delta_3(n)=0, \\[5pt] \dfrac{\mathcal B_P(n)+F_P(n)}{2} +\dfrac{A_P(n)}{3P}, & \delta_3(n)=1, \\[9pt] \dfrac{\mathcal B_P(n)+F_P(n)}{2} -\dfrac{A_P(n)}{3P}, & \delta_3(n)=2. \end{cases}

In particular,

|\mathcal E_P(n)|<3^r-1.
Proof of Theorem 5.3

If \delta_3(n)=0, then m(n)+1=n/3, \kappa_P(n)=2A_P(n), and g_P(2n)=\mathcal C_P(n), which gives the first branch.

If \delta_3(n)=1, then m(n)+1=(n+2)/3 and \kappa_P(n)=A_P(n). Combining (3.3) and (5.1) gives the second branch. The case \delta_3(n)=2 is identical with m(n)+1=(n-2)/3 and gives the third branch.

The bound follows from (5.1). In the two latter cases,

|\mathcal E_P(n)| < \frac{3^r-1}{2} +\frac12 +\frac13 < 3^r-1,

because 0<A_P(n)/P<1 and r\geq1.

Example

Example 5.4

H4GP

For P=35 and n=20 one has

g_P(40)=2, \qquad \frac{n\kappa_P(n)}{6P}=\frac{40}{21}, \qquad \mathcal E_P(n)=\frac{2}{21}.

The two admissible representations are 40=11+29 and 40=17+23. Explicitly, m(20)=5 and the excluded residues under \delta_5 are x_1=y_1=0, while under \delta_7 they are x_2=5, y_2=0. The CRT expansion reduces to

\begin{aligned} \mathcal C_{35}(20) &=6-L(5,5,0)-L(5,7,5)-L(5,7,0)\\ &\quad+L(5,35,5)+L(5,35,0)\\ &=6-2-1-1+1+1=4. \end{aligned}

Since F_{35}(20)=0, the unordered count is 4/2=2. For P=385 and n=14,

g_P(28)=0, \qquad \frac{n\kappa_P(n)}{6P}=\frac{54}{55}, \qquad \mathcal E_P(n)=-\frac{54}{55}.

Thus a positive local density can coexist with an empty truncated interval.

Proposition

Proposition 5.5 (Covering equivalence)

072F

For every positive integer n,

g_P(2n)=0 \quad\Longleftrightarrow\quad \mathcal C_P(n)=0 \quad\Longleftrightarrow\quad \mathcal Z(n) \subseteq \bigcup_{i=1}^{r}\bigl(X_i(n)\cup Y_i(n)\bigr).
Used by Proof
Proof of Proposition 5.5

The last equivalence follows directly from (?). If \delta_3(n)=0, the first equivalence follows from g_P(2n)=\mathcal C_P(n). If \delta_3(n)\in\{1,2\}, then g_P(2n)=(\mathcal C_P(n)+F_P(n))/2. Whenever F_P(n)=1, the central parameter z=m(n)/2 is admissible, so \mathcal C_P(n)\geq1. Hence \mathcal C_P(n)=0 forces F_P(n)=0, which proves the first equivalence.

Theorem

Theorem 5.6 (Parameter-density positivity criterion)

0PYF

If

\frac{m(n)+1}{P}A_P(n) \geq \prod_{i=1}^{r}\bigl(3-\varepsilon_i(n)\bigr)-1,

then

g_P(2n)>0.
Used by Proof
Proof of Theorem 5.6

By Proposition 5.1, the strict bound (5.1) and hypothesis (5.6) give \mathcal C_P(n)>0. Proposition 5.5 then gives the result.

Remark

Remark 5.7 (Collisions and the refined criterion)

D400

If c_P(n)=\#\{i:\delta_{p_i}(n)=0\}, then

\prod_i(3-\varepsilon_i(n))-1=2^{c_P(n)}3^{r-c_P(n)}-1.

Proposition 5.2 also gives the sufficient condition

\frac{m(n)+1}{P}A_P(n)>D_P^{\mathrm{ref}}(n) \quad\Longrightarrow\quad g_P(2n)>0.

The strict inequality is required for this inference, because (5.2) can be an equality. For example, when P=5 and n=10, one has \mathcal B_5(10)=D_5^{\mathrm{ref}}(10)=4/5.

Proposition

Proposition 5.8 (Half-period positivity)

P21Y

For every n\geq3P,

g_P(2n)\geq\frac12\kappa_P(n) \geq\frac12\prod_{i=1}^{r}(p_i-2)>0.
Proof of Proposition 5.8

Since 2n\geq M, one has \lfloor2n/M\rfloor\geq1. Apply (4.3) and the definition of \kappa_P(n).

Corollary

Corollary 5.9 (Residue-free positivity threshold)

DHYC

Put

T^*(P) = 3(3^r-1) \prod_{i=1}^{r}\frac{p_i}{p_i-2} +2.

If n\geq T^*(P), then g_P(2n)>0. Moreover,

T^*(P)\leq3P.
Used by Proof, Proof
Proof of Corollary 5.9

For every n,

m(n)+1\geq\frac{n-2}{3}, \qquad A_P(n)\geq\prod_{i=1}^{r}(p_i-2),

while \prod_i(3-\varepsilon_i(n))-1\leq3^r-1. Thus n\geq T^*(P) implies (5.6).

For the second assertion, let A_0=\prod_i(p_i-2). Since A_0\geq3^r,

T^*(P) \leq 3P-\frac{P}{3^{r-1}}+2.

Also P\geq5^r\geq2\cdot3^{r-1}, so the right-hand side is at most 3P.

Corollary

Corollary 5.10 (Product cutoff)

D8B7

If

P\leq\sqrt{2n},

then g_P(2n)>0.

Proof of Corollary 5.10

If P\geq7, then n\geq P^2/2\geq3P\geq T^*(P). For P=5, the hypothesis gives n\geq13, while T^*(5)=12. Corollary 5.9 applies in both cases.

Theorem

Theorem 5.11 (Largest-prime uniform positivity threshold)

TYPK

Define

\mathcal N(p) = 6\bigl(3^{r_p}-1\bigr) \prod_{\substack{q\ \mathrm{prime}\\5\leq q\leq p}} \frac{q}{q-2} +4.

If P'>1 is any squarefree product of primes in [5,p], then

2n\geq\mathcal N(p) \quad\Longrightarrow\quad g_{P'}(2n)>0.
Used by Proof
Proof of Theorem 5.11

Write P'=q_1\cdots q_s. Since s\leq r_p and every factor q/(q-2) is larger than 1,

3(3^s-1) \prod_{j=1}^{s}\frac{q_j}{q_j-2} +2 \leq \frac{\mathcal N(p)}2.

Thus 2n\geq\mathcal N(p) implies n\geq T^*(P'), and Corollary 5.9 applies.

Proposition

Proposition 5.12 (Asymptotic size of the uniform threshold)

XTFJ

As p\to\infty through the primes,

\mathcal N(p) \sim \frac{e^{2\gamma}}{2C_2}\, 3^{\pi(p)-2}(\log p)^2,

and therefore

\log\mathcal N(p) \sim (\log3)\frac{p}{\log p}.
Proof of Proposition 5.12

For every prime q\geq5,

1-\frac2q = \left(1-\frac1q\right)^2 \left(1-\frac{1}{(q-1)^2}\right).

Mertens’ product theorem [HardyWright2008] and the definition of C_2 give

\prod_{\substack{q\ \mathrm{prime}\\5\leq q\leq p}} \left(1-\frac2q\right) \sim \frac{12C_2e^{-2\gamma}}{(\log p)^2}.

Taking reciprocals in this relation and substituting into (5.11) proves (5.12). The prime number theorem, \pi(p)\sim p/\log p, then gives (5.12).

Remark

Remark 5.13 (Comparison of three scales)

FMO9

The half-period threshold, uniformly over squarefree products supported on the primes in [5,p], is

\mathcal H(p) = 6P_{\leq p} = \prod_{q\leq p}q.

Since T^*(P_{\leq p})\leq3P_{\leq p},

\mathcal N(p)\leq\mathcal H(p) \qquad(p\geq5).

The prime number theorem gives

\log\mathcal H(p)\sim p, \qquad \log\mathcal N(p) \sim (\log3)\frac{p}{\log p}.

Thus the explicit density threshold is subexponential in p, whereas the half-period threshold has primorial scale.

The natural condition p\leq\sqrt{2n} corresponds to the quadratic scale 2n\geq p^2. Since \mathcal N(p)/p^2\to\infty, the three scales satisfy

p^2=o(\mathcal N(p)),\qquad \mathcal N(p)=o(\mathcal H(p))

as p\to\infty. This comparison records the ranges delivered by the elementary finite-density argument and the half-period argument.

Remark

Remark 5.14 (Comparison with lower-bound sieves)

NN8F

The parameter problem fits the framework of a sieve of dimension at most 2. This yields polynomial sufficient scales in the largest allowed prime, in contrast to the elementary threshold \mathcal N(p). We record the reason for this comparison.

Put X=m(n)+1. For a squarefree divisor d of P, the excluded parameter classes have cardinality

\rho_n(d)=\prod_{q\mid d}(2-\mathbf1_{\{\delta_q(n)=0\}}).

The corresponding interval count is X\rho_n(d)/d+R_d, where |R_d|\leq\rho_n(d)\leq2^{\omega(d)}, uniformly in n. Here \omega(d) is the number of distinct prime factors of d. For a uniform lower bound, one may enlarge each excluded set to exactly two classes at every prime in [5,p], including primes absent from the original support. Survivors of this more restrictive sieve are admissible in the original problem. Its local density is 2/q, and its remainder is bounded by 2^{\omega(d)}. For each fixed integer K\geq1, the divisor bound

\sum_{d\leq D}K^{\omega(d)}\ll_K D(1+\log D)^{K-1}

(for integer K, by comparison with the K-fold divisor function) controls the weighted remainder sums required by the sieve. Thus one can use D=X/(\log X)^B with a sufficiently large fixed B.

The DHR lower-bound sieve [DiamondHalberstam2008] has a positive lower sieve function when \log D/\log p>\beta_2, where \beta_2\approx4.266; see the comparison table in [Franze2010]. Consequently, for each fixed c>\beta_2 and all sufficiently large p (depending on c), it gives positivity whenever 2n\geq p^c, uniformly over the allowed squarefree products P'>1. Indeed X\sim n/3, so this range permits a sieve level with \log D/\log p bounded strictly above \beta_2 and a negligible weighted remainder. If X is larger, the same argument can be applied to an initial subinterval of suitable length.

The elementary bound \mathcal N(p) is therefore not an asymptotically optimal sieve threshold. Its role here is to give an unconditional, fully explicit inequality for every permitted finite modulus without additional asymptotic parameters. For each fixed c>\beta_2, the scales satisfy

p^2=o(p^c),\qquad p^c=o(\mathcal N(p)),\qquad \mathcal N(p)=o(\mathcal H(p)).
Example

Example 5.15 (Size of the explicit sufficient threshold)

S5D0

The following finite computations compare T^*(P_{\leq p})= \mathcal N(p)/2 with the actual last zero for several small supports.

The paper has a table here, which this page does not show.

The thresholds in the second column are rounded to one decimal place. The last zeros were obtained by direct integer coprimality counts for 1\leq n<\lceil T^*(P_{\leq p})\rceil; the sufficient threshold excludes every later zero. Monotonicity in the prime support implies that the last zero for the complete product is also the maximum last zero over all its nonempty subproducts. The estimates need not be close to the actual transition: for example, over 1\leq n\leq6P, the maximum of |\mathcal B_P(n)| is 12/7 for P=35 and 324/77 for P=385, compared with the bounds 3^2-1=8 and 3^3-1=26.

Proposition

Proposition 6.1 (Monotonicity and extremality)

WKLR

Let P and Q be squarefree products of primes at least 5. If P\mid Q, then, for every positive integer n,

g_Q(2n)\leq g_P(2n).

Consequently, if every prime factor of P is at most \sqrt{2n}, then

g_{\Pi(n)}(2n)\leq g_P(2n).

In particular, g_{\Pi(n)}(2n)>0 if and only if g_P(2n)>0 for every squarefree product P of primes in the interval [5,\sqrt{2n}].

Proof of Proposition 6.1

Every representation whose summands are coprime to 6Q also has both summands coprime to 6P. Hence the set counted by g_Q(2n) is contained in the set counted by g_P(2n), which proves (6.1). Under the stated cutoff on the prime factors, one has P\mid\Pi(n), and (6.1) follows.

For the final assertion, positivity at the complete cutoff implies positivity for every such P by (6.1). The converse follows by taking P=\Pi(n).

Proposition

Proposition 6.2 (Prime detection at the cutoff)

0WNV

Let n\geq13 and let

2\leq u\leq2n-1.

If

\gcd\bigl(u,6\Pi(n)\bigr)=1,

then u is a prime and

u>\sqrt{2n}.
Used by Proof
Proof of Proposition 6.2

Suppose that u is composite. Then u has a prime divisor q satisfying

q\leq\sqrt u<\sqrt{2n}.

If q\in\{2,3\}, then

\gcd\bigl(u,6\Pi(n)\bigr)>1.

If q\geq5, then q occurs among the prime factors of \Pi(n), which gives the same contradiction. Therefore u is prime.

It remains to locate this prime. If u\leq\sqrt{2n}, then u itself occurs among the prime factors of 6\Pi(n). This again contradicts the coprimality hypothesis. Hence u>\sqrt{2n}.

Corollary

Corollary 6.3 (Exact cutoff count)

50SB

For n\geq13, define

G_{>\sqrt{2n}}(2n)= \#\left\{(q_1,q_2): \begin{array}{l} q_1,q_2\text{ are primes},\\ \sqrt{2n}<q_1\leq q_2,\quad q_1+q_2=2n \end{array}\right\}.

Then

g_{\Pi(n)}(2n)=\mathbf1_{\{2n-1\text{ is prime}\}} +G_{>\sqrt{2n}}(2n).

In particular,

g_{\Pi(n)}(2n)>0 \iff \bigl(2n-1\text{ is prime}\bigr) \ \text{or}\ G_{>\sqrt{2n}}(2n)>0.
Proof of Corollary 6.3

An admissible representation with smaller summand 1 must be 1+(2n-1). By Proposition 6.2, it is admissible exactly when 2n-1 is prime: in that case 2n-1>\sqrt{2n}. Every other admissible representation has both summands at least 2. The same proposition shows that both are primes exceeding \sqrt{2n}. Conversely, any such pair consists of two integers coprime to 6\Pi(n). These two disjoint classes of representations give (6.3), and the positivity equivalence follows.

Remark

Remark 6.4 (Additive-prime interpretation)

OJCU

Corollary 6.3 separates the endpoint 1+(2n-1) from the interior of the interval. When 2n-1 is composite, positivity of g_{\Pi(n)}(2n) is equivalent to the existence of primes q_1,q_2>\sqrt{2n} with q_1+q_2=2n. When 2n-1 is prime, the endpoint 1+(2n-1) contributes an additional admissible representation.

Remark

Remark 6.5 (Size of the cutoff product)

MTAI

Let

\vartheta(x) = \sum_{\substack{q\leq x\\q\ \mathrm{prime}}}\log q.

Then

\log\Pi(n) = \vartheta\bigl(\sqrt{2n}\bigr)-\log6,

so the prime number theorem gives

\Pi(n) = \exp\left((1+o(1))\sqrt{2n}\right).

The product cutoff P\leq\sqrt{2n} does not apply to P=\Pi(n) once the prime 7 enters the product, that is, from n=25 onward. Indeed, let q^+ denote the next prime after a prime q. If q\leq\sqrt{2n}<q^+ with q\geq7, Bertrand’s postulate [HardyWright2008] gives \sqrt{2n}<q^+<2q, whereas \Pi(n)\geq5q>\sqrt{2n}.

The distinction between a bound on the product P and a bound on its largest prime is thus substantial. The uniform threshold \mathcal N(p) of Theorem 5.11 provides an explicit intermediate scale, as summarized in Remark 5.13.

Remark

Remark 6.6 (Scope of positivity at the complete cutoff)

5IEU

The residue-free threshold and the residue-sensitive criterion have different scopes. For example, \mathcal N(5)=24 guarantees positivity at the complete cutoff for 13\leq n\leq24, while \mathcal N(7)=116 gives 58\leq n\leq60. In the next prime band, 61\leq n\leq84, the bound \mathcal N(11)=4040/9 exceeds every available value of 2n. Nevertheless, Theorem 5.6 can still apply outside those ranges. At n=30, P=\Pi(n)=35, its two sides are 40/7 and 5. At n=77, P=\Pi(n)=385, they are 900/77 and 11. Thus the residue-sensitive criterion proves positivity in both cases.

Asymptotically, put x=2n and let p be the greatest prime not exceeding \sqrt{x}. The prime number theorem implies p\sim\sqrt{x}, and hence

\log\mathcal N(p)\sim 2(\log3)\frac{\sqrt{x}}{\log x}, \qquad \frac{\log\mathcal N(p)}{\log x}\longrightarrow\infty.

Thus x\geq\mathcal N(p) fails for all sufficiently large x at this cutoff. The polynomial sieve scales in Remark 5.14 also do not reach x\asymp p^2. The results of this paper do not establish g_{\Pi(n)}(2n)>0 for every n\geq13.

Source and licence

The text on this page is from arXiv:2609.22305v2 by Andres M. Salazar, under the licence CC BY 4.0. The corpus made these changes: it read the items out of the LaTeX source, it expanded the macros of the paper, it put each proof after its statement, and it converted the text to HTML. The formulas are the TeX of the paper, and KaTeX renders them. A formula or a reference can look different from the PDF. The page is published under CC BY 4.0.

The record of each item is in analysis/objects/2609/2609.22305.jsonl.