Wiki
Wiki

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

Updated

../


Source. Y. Yu and K. Chen, Erdős Problem 354(i): Strong Completeness of Two Dyadic Floor Sequences, manuscript of 13 September 2026, Section 8 "Finite-event decay (FE), including the changing-period comparison" with displays (8.1)--(8.5), (FE) and (FE-R) and Subsections 8.1--8.3, physical pp. 7--9, in the seventeen-page PDF held by its library source card, Yu and Chen (2026). The source presents the section as a re-proof of an internal estimate in the form its formalization uses; the deductions it compresses (the periodic comparison, the arc covering, the block partition and the numerical inequalities) are written out below.

Standing. This is an author-recorded reconstruction. It is not an independent review, changes no status and assigns no tier.

Definitions

The normalized pair with N<M<2NN<M<2N, N≥2N\ge2, the weights ai,bia_i,b_i, the conversions (ui,vi)(u_i,v_i), the event count KnK_n and the prefix objects Pn,Sn,LnP_n,S_n,L_n are as on the normalization page. Write wn=un+vn∈{0,1,2}w_n=u_n+v_n\in\{0,1,2\} and

Bn=Ln−Sn=M+N+∑i<n(ui+vi)>0,Qn=Ln−∣Pn∣,Gn=∣Pn+1∣−2∣Pn∣.B_n=L_n-S_n=M+N+\sum_{i<n}(u_i+v_i)>0,\qquad Q_n=L_n-|P_n|,\qquad G_n=|P_{n+1}|-2|P_n|.

Since Pn⊆[0,Sn]⊆[0,Ln−1]P_n\subseteq[0,S_n]\subseteq[0,L_n-1], QnQ_n counts the integers of [0,Ln−1][0,L_n-1] missing from PnP_n. Let fn:Z→{0,1}f_n:\mathbb Z\to\{0,1\} be the indicator of the missing positions in [0,Ln−1][0,L_n-1], extended with period LnL_n. For a function ff of period LL and an integer tt put

Jt(f)=∑x mod L∣f(x+t)−f(x)∣.J_t(f)=\sum_{x\bmod L}|f(x+t)-f(x)|.

Let en=Sn+1−∣Pn∣e_n=S_n+1-|P_n|, the number of integers of [0,Sn][0,S_n] missing from PnP_n, and let RnR_n be the largest b−ab-a over integer intervals [a,b][a,b] with [a,b]∩Z⊆Pn[a,b]\cap\mathbb Z\subseteq P_n (so Rn≥0R_n\ge0, as 0∈Pn0\in P_n).

Statement

(FE). For every n≥0n\ge0,

Qn≤C0 2ne−aKn,C0=2(M+N+10),a=164N.Q_n\le C_0\,2^n e^{-aK_n},\qquad C_0=2(M+N+10),\qquad a=\frac1{64N}.

(FE-R). For every n≥1n\ge1,

Rn+2≥c0eaKn,c0=M+N2(C0+1)>0.R_n+2\ge c_0e^{aK_n},\qquad c_0=\frac{M+N}{2(C_0+1)}>0.

Both hold for every normalized pair; neither uses irrationality or incompleteness.

Proof

Step 1: the one-layer recurrence (8.1)

Pn+1=Pn+{0,an,bn,Ln}P_{n+1}=P_n+\{0,a_n,b_n,L_n\}, since a subset sum of the weights of indices ≤n\le n is a subset sum of those below nn plus one of 0,an,bn,an+bn0,a_n,b_n,a_n+b_n. The sets Pn⊆[0,Sn]P_n\subseteq[0,S_n] and Pn+Ln⊆[Ln,Sn+Ln]P_n+L_n\subseteq[L_n,S_n+L_n] are disjoint because Sn<LnS_n<L_n, so ∣Pn+1∣≥2∣Pn∣|P_{n+1}|\ge2|P_n| and Gn≥0G_n\ge0. With Ln+1=2Ln+wnL_{n+1}=2L_n+w_n,

Qn+1=2Ln+wn−2∣Pn∣−Gn=2Qn+wn−Gn.(8.1)Q_{n+1}=2L_n+w_n-2|P_n|-G_n=2Q_n+w_n-G_n. \tag{8.1}

Step 2: missing positions against boundary variation (8.2)

J−t=JtJ_{-t}=J_t by the substitution x↦x−tx\mapsto x-t, and Js+t≤Js+JtJ_{s+t}\le J_s+J_t by the triangle inequality ∣f(x+s+t)−f(x)∣≤∣f(x+s+t)−f(x+s)∣+∣f(x+s)−f(x)∣|f(x+s+t)-f(x)|\le|f(x+s+t)-f(x+s)|+|f(x+s)-f(x)| summed over a period. If ff is periodic with values in {0,1}\{0,1\} and not constant, J1(f)J_1(f) is twice the number of maximal cyclic runs of 11s, each run contributing one change at each end.

If Qn=0Q_n=0 then (8.2) below is trivial. Otherwise fnf_n is not constant (fn(0)=0f_n(0)=0 since 0∈Pn0\in P_n). The missing positions of [0,Ln−1][0,L_n-1] fall into the internal maximal runs, inside [1,Sn−1][1,S_n-1] and bounded on both sides by points of PnP_n, each of length at most N−1N-1 because gap⁡(Pn)≤N\operatorname{gap}(P_n)\le N (normalization page, item 6), and the terminal run [Sn+1,Ln−1][S_n+1,L_n-1] of length Bn−1B_n-1, which is preceded by Sn∈PnS_n\in P_n and followed cyclically by 0∈Pn0\in P_n, so it is a maximal cyclic run of its own (empty when Bn=1B_n=1). Hence

Qn≤J1(fn)2 (N−1)+Bn−1≤N2J1(fn)+Bn.(8.2)Q_n\le\frac{J_1(f_n)}2\,(N-1)+B_n-1\le\frac N2J_1(f_n)+B_n. \tag{8.2}

Step 3: shifts by a weight (8.3)

Regard PnP_n as a subset of Z/LnZ\mathbb Z/L_n\mathbb Z; the reduction is injective on [0,Ln−1][0,L_n-1]. Let ρ\rho be a residue of (Pn+an)∖Pn(P_n+a_n)\setminus P_n modulo LnL_n, and y+any+a_n (y∈Pny\in P_n) an integer with that residue. It lies in Pn+1P_{n+1}, and it lies in neither PnP_n nor Pn+LnP_n+L_n, since every element of those two sets has residue in Pn mod LnP_n\bmod L_n. Distinct residues give distinct integers, so the number of such residues is at most GnG_n. Now Jan(fn)J_{a_n}(f_n) counts the residues xx with exactly one of xx, x+anx+a_n in PnP_n; those with x∈Pnx\in P_n, x+an∉Pnx+a_n\notin P_n number ∣(Pn+an)∖Pn∣≤Gn|(P_n+a_n)\setminus P_n|\le G_n, and those with x∉Pnx\notin P_n, x+an∈Pnx+a_n\in P_n number ∣Pn∖(Pn+an)∣=∣(Pn+an)∖Pn∣|P_n\setminus(P_n+a_n)|=|(P_n+a_n)\setminus P_n|, the two sets having equal size. Hence, using bn≡−an(modLn)b_n\equiv-a_n\pmod{L_n} and subadditivity,

Jan(fn)≤2Gn,Jbn(fn)=Jan(fn),J2an(fn)≤4Gn.(8.3)J_{a_n}(f_n)\le2G_n,\qquad J_{b_n}(f_n)=J_{a_n}(f_n),\qquad J_{2a_n}(f_n)\le4G_n. \tag{8.3}

Step 4: the changing-period comparison (8.4)

Fix nn and abbreviate a=ana=a_n, b=bnb=b_n, L=LnL=L_n, u=unu=u_n, v=vnv=v_n, w=u+vw=u+v, L′=Ln+1=2L+wL'=L_{n+1}=2L+w. Inside [0,L′−1][0,L'-1] the set Pn∪(Pn+L)P_n\cup(P_n+L) misses exactly the positions where the word fnfn1wf_nf_n1^w is 11: the pattern fnf_n on [0,L−1][0,L-1], the same pattern on [L,2L−1][L,2L-1], and all ww positions of [2L,2L+w−1][2L,2L+w-1] (as Pn+L⊆[L,2L−1]P_n+L\subseteq[L,2L-1]). The two translates Pn+aP_n+a and Pn+bP_n+b add exactly the GnG_n new elements of Pn+1P_{n+1}, each of which fills one of these missing positions. The old periodic extension of fnf_n agrees with the word on [0,2L−1][0,2L-1] and may differ from 1w1^w on the last ww positions. Therefore

∑0≤x<L′∣fn+1(x)−fn(x)∣≤Gn+w.(8.4)\sum_{0\le x<L'}|f_{n+1}(x)-f_n(x)|\le G_n+w. \tag{8.4}

Step 5: a nonzero conversion controls the unit boundary (8.5)

Assume w>0w>0. We show

J1(fn)≤16Gn+4Gn+1+4w.(8.5)J_1(f_n)\le16G_n+4G_{n+1}+4w. \tag{8.5}

Case u=1u=1. The new shift is a′=an+1=2a+1a'=a_{n+1}=2a+1. By (8.3) at layer n+1n+1, Ja′(fn+1)≤2Gn+1J_{a'}(f_{n+1})\le2G_{n+1}. Restrict the sum to 0≤x<2b+v0\le x<2b+v, for which x+a′≤2L+v<L′x+a'\le2L+v<L', so both xx and x+a′x+a' are actual positions in [0,L′−1][0,L'-1] and fn+1f_{n+1} takes its defining values there. Replacing fn+1f_{n+1} by the old periodic fnf_n at the positions xx and at the positions x+a′x+a' costs at most Gn+wG_n+w each by (8.4), so

∑x=02b+v−1∣fn(x+2a+1)−fn(x)∣≤2Gn+1+2Gn+2w.\sum_{x=0}^{2b+v-1}|f_n(x+2a+1)-f_n(x)|\le2G_{n+1}+2G_n+2w.

Keep the terms x=0,…,2b−1x=0,\ldots,2b-1; these 2b2b values are distinct residues modulo LL because 2b<a+b=L2b<a+b=L. Write τ(y)=∣fn(y+1)−fn(y)∣\tau(y)=|f_n(y+1)-f_n(y)|. By the triangle inequality τ(x+2a)≤∣fn(x+2a+1)−fn(x)∣+∣fn(x+2a)−fn(x)∣\tau(x+2a)\le|f_n(x+2a+1)-f_n(x)|+|f_n(x+2a)-f_n(x)|, and the second terms sum over these xx to at most J2a(fn)≤4GnJ_{2a}(f_n)\le4G_n. Hence

∑x=02b−1τ(x+2a)≤2Gn+1+6Gn+2w.\sum_{x=0}^{2b-1}\tau(x+2a)\le2G_{n+1}+6G_n+2w.

The residues x+2ax+2a for 0≤x<2b0\le x<2b form the arc I=[2a,2a+2b−1]=[L−2b,L−1]I=[2a,2a+2b-1]=[L-2b,L-1] modulo LL, since 2a+2b=2L2a+2b=2L and 2a≡a−b=L−2b2a\equiv a-b=L-2b. The arcs II and I+b=[L−b,L+b−1]I+b=[L-b,L+b-1] cover the circle because L−2b≤bL-2b\le b, that is a≤2ba\le2b. Moreover

∑x mod L∣τ(x+b)−τ(x)∣≤∑x mod L(∣fn(x+b+1)−fn(x+1)∣+∣fn(x+b)−fn(x)∣)=2Jb(fn)≤4Gn,\sum_{x\bmod L}|\tau(x+b)-\tau(x)| \le\sum_{x\bmod L}\bigl(|f_n(x+b+1)-f_n(x+1)|+|f_n(x+b)-f_n(x)|\bigr) =2J_b(f_n)\le4G_n,

using ∣∣A∣−∣B∣∣≤∣A−B∣\bigl||A|-|B|\bigr|\le|A-B| with A=fn(x+b+1)−fn(x+b)A=f_n(x+b+1)-f_n(x+b) and B=fn(x+1)−fn(x)B=f_n(x+1)-f_n(x). Since τ≥0\tau\ge0 and the two arcs cover,

J1(fn)=∑x mod Lτ(x)≤∑Iτ+∑x∈Iτ(x+b)≤2∑Iτ+∑x∈I∣τ(x+b)−τ(x)∣≤4Gn+1+12Gn+4w+4Gn,J_1(f_n)=\sum_{x\bmod L}\tau(x)\le\sum_I\tau+\sum_{x\in I}\tau(x+b) \le2\sum_I\tau+\sum_{x\in I}|\tau(x+b)-\tau(x)| \le4G_{n+1}+12G_n+4w+4G_n,

which is (8.5).

Case u=0u=0, v=1v=1. Now L′=2L+1L'=2L+1 and a′=2aa'=2a. Take the LL positions x=2b+1,…,2b+Lx=2b+1,\ldots,2b+L; they lie in [0,L′−1][0,L'-1] because 2b+L≤2L2b+L\le2L, that is b≤ab\le a, and x+2a≥L′x+2a\ge L', so modulo L′L' the shifted position is x+2a−L′=x−2b−1∈[0,L−1]x+2a-L'=x-2b-1\in[0,L-1]. From J2a(fn+1)≤2Gn+1J_{2a}(f_{n+1})\le2G_{n+1} and two applications of (8.4) with w=1w=1,

∑x=2b+12b+L∣fn(x−2b−1)−fn(x)∣≤2Gn+1+2Gn+2.\sum_{x=2b+1}^{2b+L}|f_n(x-2b-1)-f_n(x)|\le2G_{n+1}+2G_n+2.

Since x−2b−1≡x+2a−1(modL)x-2b-1\equiv x+2a-1\pmod L and the xx run over a full period, the left side is J2a−1(fn)J_{2a-1}(f_n). Then J1=J(2a−1)−2a≤J2a−1+J2a≤2Gn+1+6Gn+2J_1=J_{(2a-1)-2a}\le J_{2a-1}+J_{2a}\le2G_{n+1}+6G_n+2, which is stronger than (8.5). The two cases cover all three nonzero digit pairs.

Step 6: the two-step potential

Let wn>0w_n>0. From (8.2), (8.5) and wn≤2w_n\le2,

Qn≤8NGn+2NGn+1+4N+Bn,soGn+Gn+1≥Qn−Bn−4N8N.Q_n\le8NG_n+2NG_{n+1}+4N+B_n,\qquad\text{so}\qquad G_n+G_{n+1}\ge\frac{Q_n-B_n-4N}{8N}.

Applying (8.1) twice, with 2wn+wn+1≤62w_n+w_{n+1}\le6 and 2Gn+Gn+1≥Gn+Gn+12G_n+G_{n+1}\ge G_n+G_{n+1},

Qn+2=4Qn+2wn+wn+1−2Gn−Gn+1≤(4−18N)Qn+Bn8N+132.Q_{n+2}=4Q_n+2w_n+w_{n+1}-2G_n-G_{n+1} \le\Bigl(4-\frac1{8N}\Bigr)Q_n+\frac{B_n}{8N}+\frac{13}2.

Set zn=Qn/2nz_n=Q_n/2^n, ρ=1−1/(32N)\rho=1-1/(32N) and σ=1−1/(64N)\sigma=1-1/(64N). From (8.1), Qn+1≤2QnQ_{n+1}\le2Q_n when wn=0w_n=0 and Qn+1≤2Qn+2Q_{n+1}\le2Q_n+2 always, so zn+1≤znz_{n+1}\le z_n at a zero conversion and zn+1≤zn+2−nz_{n+1}\le z_n+2^{-n} always. At a nonzero conversion, dividing the last display by 2n+22^{n+2} and using Bn≤M+N+2n<3N+2nB_n\le M+N+2n<3N+2n, N≥2N\ge2,

zn+2≤ρzn+Bn/(8N)+13/22n+2≤ρzn+3/8+n/8+13/24 2−n≤ρzn+2(n+1)2−n.z_{n+2}\le\rho z_n+\frac{B_n/(8N)+13/2}{2^{n+2}} \le\rho z_n+\frac{3/8+n/8+13/2}{4}\,2^{-n}\le\rho z_n+2(n+1)2^{-n}.

Define the potential Vn=zn+9(n+1)2−nV_n=z_n+9(n+1)2^{-n}. For N≥2N\ge2, ρ≥63/64\rho\ge63/64 and ρ≤σ2\rho\le\sigma^2 (as σ2=ρ+1/(64N)2\sigma^2=\rho+1/(64N)^2). The inequality 2(n+1)+9(n+3)/4≤9ρ(n+1)2(n+1)+9(n+3)/4\le9\rho(n+1) holds for all n≥0n\ge0, since the left side is 4.25n+8.754.25n+8.75 and the right side is at least (567/64)(n+1)>8.85(n+1)(567/64)(n+1)>8.85(n+1); multiplied by 2−n2^{-n} it reads 2(n+1)2−n+9(n+3)2−(n+2)≤ρ 9(n+1)2−n2(n+1)2^{-n}+9(n+3)2^{-(n+2)}\le\rho\,9(n+1)2^{-n}. Hence at a nonzero conversion

Vn+2=zn+2+9(n+3)2−(n+2)≤ρzn+ρ 9(n+1)2−n=ρVn≤σ2Vn,V_{n+2}=z_{n+2}+9(n+3)2^{-(n+2)}\le\rho z_n+\rho\,9(n+1)2^{-n} =\rho V_n\le\sigma^2V_n,

at a zero conversion Vn+1≤zn+9(n+2)2−(n+1)≤VnV_{n+1}\le z_n+9(n+2)2^{-(n+1)}\le V_n because (n+2)/2≤n+1(n+2)/2\le n+1, and always zn+1≤zn+2−n≤Vnz_{n+1}\le z_n+2^{-n}\le V_n.

Now fix m≥0m\ge0 and d≥0d\ge0 and partition the conversions at indices m,…,m+d−1m,\ldots,m+d-1 from the left into blocks: a zero conversion is a one-step block; a nonzero conversion at index i≤m+d−2i\le m+d-2 forms a two-step block {i,i+1}\{i,i+1\}; a nonzero conversion at the last index m+d−1m+d-1 is left unpaired. A two-step block contains at most two events and multiplies the potential by at most σ2\sigma^2, which is at most σ\sigma to the number of events in it; a zero block contains no event and does not increase the potential. Over the paired blocks the potential is multiplied by at most σ\sigma to the number of events in paired blocks. If there is no unpaired conversion, zm+d≤Vm+d≤VmσKm+d−Kmz_{m+d}\le V_{m+d}\le V_m\sigma^{K_{m+d}-K_m}. If there is one, zm+d≤Vm+d−1≤VmσKm+d−Km−1≤2VmσKm+d−Kmz_{m+d}\le V_{m+d-1}\le V_m\sigma^{K_{m+d}-K_m-1}\le2V_m\sigma^{K_{m+d}-K_m} because σ≥1/2\sigma\ge1/2. In both cases

zm+d≤2VmσKm+d−Km.z_{m+d}\le2V_m\sigma^{K_{m+d}-K_m}.

Take m=0m=0: P0={0}P_0=\{0\}, Q0=L0−1=M+N−1Q_0=L_0-1=M+N-1, V0=M+N+8V_0=M+N+8, K0=0K_0=0. With 1−x≤e−x1-x\le e^{-x},

Qn=2nzn≤2(M+N+8) 2n(1−164N)Kn≤C0 2ne−aKn,Q_n=2^nz_n\le2(M+N+8)\,2^n\Bigl(1-\frac1{64N}\Bigr)^{K_n} \le C_0\,2^ne^{-aK_n},

which is (FE). All cardinalities count distinct subset-sum values.

Step 7: the contiguous-run bound (FE-R)

The Sn+1−enS_n+1-e_n represented integers of [0,Sn][0,S_n] form at most en+1e_n+1 maximal runs, since each missing integer separates at most one run from the next. Some run has at least (Sn+1−en)/(en+1)(S_n+1-e_n)/(e_n+1) elements, hence width at least that minus 11, so

Rn+2≥Sn+1−enen+1+1=Sn+2en+1.R_n+2\ge\frac{S_n+1-e_n}{e_n+1}+1=\frac{S_n+2}{e_n+1}.

For n≥1n\ge1, Sn≥an−1+bn−1≥2n−1(M+N)S_n\ge a_{n-1}+b_{n-1}\ge2^{n-1}(M+N), and en≤Qne_n\le Q_n because Ln≥Sn+1L_n\ge S_n+1. Also 2ne−aKn≥12^ne^{-aK_n}\ge1, because Kn≤nK_n\le n and a<log⁡2a<\log2. Therefore en+1≤C02ne−aKn+1≤(C0+1)2ne−aKne_n+1\le C_02^ne^{-aK_n}+1\le(C_0+1)2^ne^{-aK_n} and

Rn+2≥2n−1(M+N)(C0+1)2ne−aKn=c0eaKn,R_n+2\ge\frac{2^{n-1}(M+N)}{(C_0+1)2^ne^{-aK_n}}=c_0e^{aK_n},

which is (FE-R).

Scope. The section is unconditional for normalized pairs. The constants C0C_0, aa, c0c_0 depend on MM and NN only. The estimate (FE) says nothing when events are rare (KnK_n small), which is what the later digit-budget and window arguments exploit.