Wiki
Wiki

Research notes on every problem, and a library of the papers behind them. Built from the open erdos repository.

Updated

Capped prime fractions


This continues prime filtration, using the exact forbidden fraction rather than its possibly very large union-bound potential. The result controls two prime ranges uniformly for arbitrary singleton residues. It does not establish logarithmic density: an intermediate range and the conditioned arithmetic digit transfer both remain unresolved.

Definitions and theorem

Let F\mathcal F be a finite family of distinct moduli q>1q>1, with one residue aqa_q for each. Write a modulus whose largest prime factor is pp uniquely as q=pemq=p^e m, where e≥1e\ge1 and P+(m)<pP^+(m)<p; take P+(1)=1P^+(1)=1. For an integer nn, define

αp(n)=μp ⁣(⋃q=pem∈F, q≤nn≡aq (m)[aq]pe),(1)\alpha_p(n)=\mu_p\!\left( \bigcup_{\substack{q=p^em\in\mathcal F,\ q\le n\\ n\equiv a_q\ (m)}}[a_q]_{p^e} \right), \tag{1}

where μp\mu_p is Haar probability on Zp\mathbb Z_p. Thus 0≤αp(n)≤10\le\alpha_p(n)\le1, and αp(n)=0\alpha_p(n)=0 for p>np>n. The condition q≤nq\le n is the original activation, not a power delay.

Put

Up=1(p−1)2∏ℓ<p1+1/ℓ(1−1/ℓ)2≪log⁡3(2p)p2,TK=∑p>KUp.(2)U_p=\frac1{(p-1)^2} \prod_{\ell<p}\frac{1+1/\ell}{(1-1/\ell)^2} \ll\frac{\log^3(2p)}{p^2}, \qquad T_K=\sum_{p>K}U_p. \tag{2}

Products and sums indexed by p,ℓp,\ell are over primes. In particular TK→0T_K\to0.

For all sufficiently large nn, set

y(n)=exp⁡ ⁣(log⁡n8log⁡log⁡n),y(n)=\exp\!\left(\frac{\log n}{8\log\log n}\right),

and set y(n)=1y(n)=1 on the remaining finite initial segment. Then

lim sup⁡X→∞ sup⁡F1H⌊X⌋∑n≤X1n∑p>Kp≤y(n) or p>n1/3αp(n)2≤TKlog⁡2(K≥60).(3)\limsup_{X\to\infty}\ \sup_{\mathcal F} \frac1{H_{\lfloor X\rfloor}} \sum_{n\le X}\frac1n \sum_{\substack{p>K\\p\le y(n)\ \text{or}\ p>n^{1/3}}} \alpha_p(n)^2 \le \frac{T_K}{\log2} \qquad(K\ge60). \tag{3}

The supremum can depend on XX. Consequently the left side tends to zero as K→∞K\to\infty. The same assertion applies to infinite singleton systems, since only finitely many moduli are active below any fixed cutoff.

The optimized refinement below replaces y(n)y(n) by exp⁡(clog⁡n log⁡log⁡log⁡n/log⁡log⁡n)\exp(c\log n\,\log\log\log n/\log\log n) for every fixed 0<c<1/20<c<1/2, and improves the right side of (3) to TKT_K.

Truncating the smaller part

Average over IN={N+1,…,2N}I_N=\{N+1,\ldots,2N\}. For M≥1M\ge1, let

Ap,M(n)=∑q=pem∈Fm≤Mp−e1n≡aq (m),Rp,M(n)=∑q=pem∈Fm>M, q≤np−e1n≡aq (m).A_{p,M}(n)= \sum_{\substack{q=p^em\in\mathcal F\\m\le M}} p^{-e}\mathbf1_{n\equiv a_q\ (m)}, \qquad R_{p,M}(n)= \sum_{\substack{q=p^em\in\mathcal F\\m>M,\ q\le n}} p^{-e}\mathbf1_{n\equiv a_q\ (m)}.

The small-part potential deliberately omits activation. The large-part potential retains it. Since αp≤min⁡(1,Ap,M+Rp,M)\alpha_p\le\min(1,A_{p,M}+R_{p,M}), the elementary inequality

min⁡(1,A+R)2≤A2+2R(A,R≥0)(4)\min(1,A+R)^2\le A^2+2R\qquad(A,R\ge0) \tag{4}

gives a useful capped estimate. To check (4), it is immediate for A≥1A\ge1; for A<1A<1, the capped square increases with RR at rate at most two.

Two compatible smaller-part congruences form one class modulo [m,r][m,r], and hence have at most N/[m,r]+1N/[m,r]+1 simultaneous solutions in INI_N. There is at most one original congruence at each pemp^em. Therefore

EINAp,M2≤Up+M2N(p−1)2.(5)\mathbb E_{I_N}A_{p,M}^2 \le U_p+\frac{M^2}{N(p-1)^2}. \tag{5}

For the main term, enlarge to all smaller parts supported on primes below pp and use

∑P+(m),P+(r)<p1[m,r]=∏ℓ<p∑i,j≥0ℓ−max⁡(i,j)=∏ℓ<p1+1/ℓ(1−1/ℓ)2.\sum_{P^+(m),P^+(r)<p}\frac1{[m,r]} =\prod_{\ell<p}\sum_{i,j\ge0}\ell^{-\max(i,j)} =\prod_{\ell<p}\frac{1+1/\ell}{(1-1/\ell)^2}.

For the error, the sum of the coefficients of all small-part terms is at most M∑e≥1p−e=M/(p−1)M\sum_{e\ge1}p^{-e}=M/(p-1).

For a term of Rp,MR_{p,M}, normalize aq mod ma_q\bmod m as c∈[0,m)c\in[0,m). Writing n=c+kmn=c+km, activation is exactly k≥pek\ge p^e. Its active count up to 2N2N is therefore at most 2N/m2N/m, with no extra root error. It follows that

EINRp,M≤2p−1∑m>MP+(m)<p1m.\mathbb E_{I_N}R_{p,M} \le \frac2{p-1} \sum_{\substack{m>M\\P^+(m)<p}}\frac1m.

Combining this with (4)--(5) proves

EINαp2≤Up+M2N(p−1)2+4p−1∑m>MP+(m)<p1m.(6)\mathbb E_{I_N}\alpha_p^2 \le U_p+\frac{M^2}{N(p-1)^2} +\frac4{p-1} \sum_{\substack{m>M\\P^+(m)<p}}\frac1m. \tag{6}

The small-prime range

For p≥60p\ge60, Rankin's inequality with θ=1/log⁡p≤1/4\theta=1/\log p\le1/4 gives

∑m>MP+(m)<p1m≤M−θ∏ℓ<p(1−ℓ−1+θ)−1≪(log⁡p)exp⁡ ⁣(−log⁡Mlog⁡p).(7)\sum_{\substack{m>M\\P^+(m)<p}}\frac1m \le M^{-\theta} \prod_{\ell<p}(1-\ell^{-1+\theta})^{-1} \ll (\log p)\exp\!\left(-\frac{\log M}{\log p}\right). \tag{7}

Here the product is O(log⁡p)O(\log p) uniformly in pp. Indeed, its logarithmic difference from ∏ℓ<p(1−1/ℓ)−1\prod_{\ell<p}(1-1/\ell)^{-1} has first-power contribution

∑ℓ<pℓθ−1ℓ≤eθ∑ℓ<plog⁡ℓℓ=O(1),\sum_{\ell<p}\frac{\ell^\theta-1}{\ell} \le e\theta\sum_{\ell<p}\frac{\log\ell}{\ell}=O(1),

and higher-power contribution bounded by O(∑ℓℓ−3/2)=O(1)O(\sum_{\ell}\ell^{-3/2})=O(1). The elementary prime-product and prime-log-sum estimates used here are proved in the coherent power-cutoff notes.

Summing (6)--(7), and using ∑p≤Y(log⁡p)/(p−1)≪log⁡Y\sum_{p\le Y}(\log p)/(p-1)\ll\log Y, gives

EIN∑K<p≤Yαp2≤TK+CM2NK+Clog⁡Yexp⁡ ⁣(−log⁡Mlog⁡Y)(60≤K<Y).(8)\mathbb E_{I_N}\sum_{K<p\le Y}\alpha_p^2 \le T_K+\frac{CM^2}{NK} +C\log Y\exp\!\left(-\frac{\log M}{\log Y}\right) \qquad(60\le K<Y). \tag{8}

Take

M=N1/3,Y(N)=exp⁡ ⁣(log⁡N6log⁡log⁡N).M=N^{1/3},\qquad Y(N)=\exp\!\left(\frac{\log N}{6\log\log N}\right).

For sufficiently large NN, (8) becomes

EIN∑K<p≤Y(N)αp2≤TK+CN−1/3K+Clog⁡Nlog⁡log⁡N.(9)\mathbb E_{I_N}\sum_{K<p\le Y(N)}\alpha_p^2 \le T_K+\frac{C N^{-1/3}}K +\frac{C}{\log N\log\log N}. \tag{9}

If Y(N)≤KY(N)\le K, the sum is empty and the same upper bound is harmless.

The large-prime range

Let Ap(n)A_p(n) be the full union-bound potential, including activation in every term. Then αp2≤Ap2\alpha_p^2\le A_p^2. For a point of INI_N, any active modulus pemp^em has m≤2N/pem\le2N/p^e. Counting compatible pairs on [1,2N][1,2N], rather than INI_N, gives

EINAp2≤2Up+1N(∑e≥1p−e⌊2N/pe⌋)2≤2Up+4N(p2−1)2.(10)\mathbb E_{I_N} A_p^2 \le 2U_p+\frac1N \left(\sum_{e\ge1}p^{-e}\lfloor2N/p^e\rfloor\right)^2 \le 2U_p+\frac{4N}{(p^2-1)^2}. \tag{10}

Chebyshev's prime-counting upper bound and partial summation imply

∑p>Z(p2−1)−2≪1Z3log⁡(2Z).\sum_{p>Z}(p^2-1)^{-2}\ll\frac1{Z^3\log(2Z)}.

Consequently

EIN∑p>N1/3αp2≪(log⁡N)3N1/3+1log⁡N=o(1),(11)\mathbb E_{I_N}\sum_{p>N^{1/3}}\alpha_p^2 \ll \frac{(\log N)^3}{N^{1/3}}+\frac1{\log N}=o(1), \tag{11}

uniformly in the family.

Harmonic summation and the remaining gaps

For N<n≤2NN<n\le2N, eventually y(n)≤Y(N)y(n)\le Y(N). Also p>n1/3p>n^{1/3} implies p>N1/3p>N^{1/3}. Thus (9)--(11) bound the ordinary average on INI_N of the inner sum in (3) by TK+oN(1)T_K+o_N(1), with a uniform error. Multiplication by 1/n≤1/N1/n\le1/N shows that its harmonic mass on that interval has the same upper bound. Sum over N=2jN=2^j; a final partial interval can be enlarged to the whole interval. The number of intervals is (log⁡X)/log⁡2+O(1)(\log X)/\log2+O(1), and their uniform error has vanishing Cesàro average. Finitely many small integers contribute a family-independent bounded amount, since αp(n)=0\alpha_p(n)=0 for p>np>n. Division by HX∼log⁡XH_X\sim\log X proves (3).

The preceding proof leaves the prime interval

n1/(8log⁡log⁡n)<p≤n1/3n^{1/(8\log\log n)}<p\le n^{1/3}

untreated. The optimized refinement below shortens this interval but does not eliminate it. More fundamentally, αp(n)\alpha_p(n) averages over a pp-adic fiber, whereas the integer nn uses one possibly correlated digit in that fiber. Even a bound for the omitted squared fractions would not by itself identify their sum with actual deletions. An arithmetic transfer retaining the old survivor condition is still required. No such transfer, general logarithmic-density theorem, or counterexample is asserted here.

The bounded-height center theorem now controls this middle range when each prime's smaller-part residues admit moderately many integer centers of bounded height. It gives full arithmetic square tails for that subclass, with arbitrary new-prime digits. The unrestricted middle range remains open. Furthermore, bounded full-survivor conditional weights do not turn even pointwise square tails into signed arithmetic cancellation; that specific infinite-marginal transfer is false.

The cap, rather than the distribution of digits, is the extra input

In the squarefree-largest-prime subfamily q=pmq=pm, a uniform bound for the exact squared fractions is equivalent up to an absolute constant to a bound for the squared capped union-bound potential. This concerns unconditioned nonnegative averages, not the missing survivor-conditioned digit transfer.

Fix arbitrary smaller-part residues cp,m(modm)c_{p,m}\pmod m. Independently choose a uniform residue bp,m(modp)b_{p,m}\pmod p and use CRT to install one class modulo pmpm with these two projections. Moduli are still globally distinct, since P+(m)<pP^+(m)<p. At a fixed nn, let

Cp(n)=#{m:pm is selected, pm≤n, n≡cp,m(modm)},Ap(n)=Cp(n)/p.C_p(n)=\#\{m:pm\text{ is selected},\ pm\le n, \ n\equiv c_{p,m}\pmod m\}, \qquad A_p(n)=C_p(n)/p.

The exact forbidden fraction is the fraction of the pp digits occupied by Cp(n)C_p(n) independent uniform choices. Hence

Eαp(n)=1−(1−1/p)Cp(n)≥(1−e−1)min⁡(1,Ap(n)).\mathbb E\alpha_p(n) =1-(1-1/p)^{C_p(n)} \ge(1-e^{-1})\min(1,A_p(n)).

Jensen gives

Eαp(n)2≥(1−e−1)2min⁡(1,Ap(n))2.(12)\mathbb E\alpha_p(n)^2 \ge(1-e^{-1})^2\min(1,A_p(n))^2. \tag{12}

Conversely αp(n)≤min⁡(1,Ap(n))\alpha_p(n)\le\min(1,A_p(n)) for every assignment. After any finite nonnegative weighted summation in n,pn,p, some deterministic digit assignment attains at least the expectation in (12). Thus one cannot resolve the uniform intermediate-prime square estimate merely by seeking additional cancellation between its forbidden digits. A bound for the high multiplicities of the smaller-part congruences, with their activation retained, is needed.

An optimized small-prime cutoff

Theorem. Fix 0<c<1/20<c<1/2 and K≥60K\ge60, and for sufficiently large nn put

yc(n)=exp⁡ ⁣(c log⁡n log⁡log⁡log⁡nlog⁡log⁡n);y_c(n)=\exp\!\left( c\,\frac{\log n\,\log\log\log n}{\log\log n}\right);

set yc(n)=1y_c(n)=1 on the finite initial segment. Then

lim sup⁡X→∞sup⁡F1H⌊X⌋∑n≤X1n∑p>Kp≤yc(n) or p>n1/3αp(n)2≤TK.(13)\limsup_{X\to\infty}\sup_{\mathcal F} \frac1{H_{\lfloor X\rfloor}} \sum_{n\le X}\frac1n \sum_{\substack{p>K\\p\le y_c(n)\ \mathrm{or}\ p>n^{1/3}}} \alpha_p(n)^2 \le T_K. \tag{13}

All exponents e≥1e\ge1, arbitrary singleton residues, and original activation are retained. In particular the remaining middle range is yc(n)<p≤n1/3y_c(n)<p\le n^{1/3}, not the larger range left by (3).

A uniform tilted Euler product

For 0<θ≤1/40<\theta\le1/4, p≤Yp\le Y, and s=θlog⁡Ys=\theta\log Y,

∏ℓ<p(1−ℓ−1+θ)−1≪log⁡(2p)exp⁡(Cses).(14)\prod_{\ell<p}(1-\ell^{-1+\theta})^{-1} \ll \log(2p)\exp(Cse^s). \tag{14}

Indeed, relative to the product at θ=0\theta=0, the first-power logarithmic contribution is at most

∑ℓ<pℓθ−1ℓ≤θYθ∑ℓ<plog⁡ℓℓ≪ses.\sum_{\ell<p}\frac{\ell^\theta-1}{\ell} \le \theta Y^\theta \sum_{\ell<p}\frac{\log\ell}{\ell} \ll se^s.

All higher powers contribute O(1)O(1), uniformly, since their sum is bounded by C∑ℓℓ−3/2C\sum_\ell\ell^{-3/2}. The elementary product and prime-log-sum estimates already used in (7) complete the proof. Thus, with Sp(M)=∑m>M, P+(m)<p1/mS_p(M)=\sum_{m>M,\ P^+(m)<p}1/m, Rankin's inequality gives

Sp(M)≪log⁡(2p)exp⁡(−θlog⁡M+Cses).(15)S_p(M)\ll\log(2p) \exp(-\theta\log M+Cse^s). \tag{15}

A useful specialization, also used in the very-smooth modulus reduction, is M=puM=p^u, s=log⁡u−2log⁡log⁡us=\log u-2\log\log u. Whenever uu is sufficiently large and 0<s/log⁡p≤1/40<s/\log p\le1/4, it gives

Sp(pu)≪log⁡(2p)exp⁡ ⁣(−ulog⁡u+2ulog⁡log⁡u+O ⁣(ulog⁡u)).(16)S_p(p^u)\ll\log(2p) \exp\!\left(-u\log u+2u\log\log u +O\!\left(\frac{u}{\log u}\right)\right). \tag{16}

No asymptotic theorem for smooth numbers is required.

Harmonic truncation with its exact main coefficient

For any residue class modulo dd, discrete partial summation gives

∑N<n≤2Nn≡b (d)1n≤H2N−HNd+1N.(17)\sum_{\substack{N<n\le2N\\n\equiv b\ (d)}}\frac1n \le \frac{H_{2N}-H_N}{d}+\frac1N. \tag{17}

The counting discrepancy on each initial subinterval of {N+1,…,2N}\{N+1,\ldots,2N\} has absolute value at most one; its weighted discrepancy is therefore at most 1/(N+1)1/(N+1).

Use the same Ap,M,Rp,MA_{p,M},R_{p,M} as above. Pairwise CRT in (17) and the coefficient sum M/(p−1)M/(p-1) imply

∑N<n≤2NAp,M(n)2n≤(H2N−HN)Up+M2N(p−1)2.\sum_{N<n\le2N}\frac{A_{p,M}(n)^2}{n} \le (H_{2N}-H_N)U_p+\frac{M^2}{N(p-1)^2}.

Activation gives the unchanged remainder estimate

∑N<n≤2NRp,M(n)n≤2p−1Sp(M).\sum_{N<n\le2N}\frac{R_{p,M}(n)}n \le\frac2{p-1}S_p(M).

Consequently the capped inequality (4) yields

∑N<n≤2N1n∑K<p≤Yαp(n)2≤(H2N−HN)TK+CM2NK+4∑p≤YSp(M)p−1.(18)\sum_{N<n\le2N}\frac1n\sum_{K<p\le Y}\alpha_p(n)^2 \le (H_{2N}-H_N)T_K+\frac{CM^2}{NK} +4\sum_{p\le Y}\frac{S_p(M)}{p-1}. \tag{18}

Take

M=Nlog⁡N,Y=yc(2N),u=log⁡Mlog⁡Y.M=\frac{\sqrt N}{\log N},\qquad Y=y_c(2N),\qquad u=\frac{\log M}{\log Y}.

Then

ulog⁡u=(12c+o(1))log⁡log⁡N.u\log u=\left(\frac1{2c}+o(1)\right)\log\log N.

Choose a fixed aa with 2c<a<12c<a<1, set s=alog⁡us=a\log u, and take θ=s/log⁡Y\theta=s/\log Y. Formula (15), uniformly over p≤Yp\le Y, gives

Sp(M)≪log⁡(2p)exp⁡ ⁣(−aulog⁡u+Caualog⁡u)=log⁡(2p)(log⁡N)−a/(2c)+o(1).S_p(M)\ll\log(2p) \exp\!\left(-a u\log u+Cau^a\log u\right) =\log(2p)(\log N)^{-a/(2c)+o(1)}.

Using ∑p≤Ylog⁡(2p)/(p−1)≪log⁡Y≪log⁡N\sum_{p\le Y}\log(2p)/(p-1)\ll\log Y\ll\log N, the final term in (18) is (log⁡N)1−a/(2c)+o(1)=o(1)(\log N)^{1-a/(2c)+o(1)}=o(1). The other error is O(1/(K(log⁡N)2))O(1/(K(\log N)^2)). The function ycy_c is eventually increasing, so p≤yc(n)p\le y_c(n) implies p≤Yp\le Y on this interval.

The already proved large-prime estimate (11) contributes o(1)o(1) in harmonic mass on the same interval. For c=1/4c=1/4, one may take a=3/4a=3/4, and the combined error is O((log⁡N)−1/4)O((\log N)^{-1/4}). For every fixed c<1/2c<1/2, it is still a uniform vanishing error.

Finally sum (18) over N=2jN=2^j, enlarging the last partial interval. The main terms telescope; the final dyadic endpoint changes HXH_X by only O(1)O(1). The errors have vanishing Cesàro average, and the finite initial segment is uniformly bounded since αp(n)=0\alpha_p(n)=0 for p>np>n. This proves (13).

The sharper cutoff does not address the survivor-conditioned digit transfer. Even a proof for all omitted primes would leave that separate arithmetic step unresolved.