Source. Terence Tao, The convergence of an alternating series of Erdős,
assuming the Hardy--Littlewood prime tuples conjecture, Lemma 3.1, physical
and printed p. 6 of the sixteen-page arXiv v3 PDF held by its library card,
Tao (2023).
Standing. This is an author-recorded reconstruction of a source lemma. It
is not an independent review, changes no status and assigns no tier. The
lemma is elementary and unconditional; it uses no input beyond the binomial
theorem.
Statement
For nonnegative integers N and r write
fN(r)=k=0∑r(−2)k(kN),
with the convention (kN)=0 for k>N. Then
(−1)N≤fN(r)(r even),(−1)N≥fN(r)(r odd).
The source states the lemma exactly in this form. Its proof is a sketch
("routine calculation shows"); every step is written out below.
Proof
Fix N. The binomial theorem gives, for every r≥N,
fN(r)=k=0∑N(kN)(−2)k=(1−2)N=(−1)N,
and fN(0)=1.
The two-step differences
For every r≥0,
fN(r+2)−fN(r)=(−2)r+1(r+1N)+(−2)r+2(r+2N).
When r+1≤N the identity (r+2N)=(r+1N)r+2N−r−1
holds (both sides vanish if r+1=N), so
where a zero difference is allowed on either side. Since 2N−3r−4 is
decreasing in r, the even-indexed sequence fN(0),fN(2),fN(4),… is
nondecreasing while r≤(2N−4)/3 and nonincreasing afterwards, and the
odd-indexed sequence fN(1),fN(3),… is nonincreasing while
r≤(2N−4)/3 and nondecreasing afterwards; for r+1>N both sequences are
constant. The source states the monotonicity as f(r+2)≥f(r) when
r≤2N/3 and f(r+2)≤f(r) when r≥2N/3. The first clause fails as
written, for instance at N=4, r=2, where f4(2)=17>1=f4(4); the exact
threshold, derived above, is (2N−4)/3. The correction is supplied here and
does not affect the conclusion, which uses only the unimodal shape.
Even r
Let r be even. If r lies in the nondecreasing phase, then
fN(r)≥fN(0)=1≥(−1)N. Otherwise r lies in the nonincreasing
phase, and for any even R≥max(r,N) the sequence is nonincreasing between
r and R, so fN(r)≥fN(R)=(−1)N. In both cases fN(r)≥(−1)N.
Odd r
Let r be odd. First, fN(1)=1−2N, which is ≤(−1)N for N≥1 and
equals 1=(−1)0 for N=0. If r lies in the nonincreasing phase, then
fN(r)≤fN(1)≤(−1)N. Otherwise r lies in the nondecreasing phase,
and for any odd R≥max(r,N) we get fN(r)≤fN(R)=(−1)N. In both
cases fN(r)≤(−1)N. This proves the lemma.
The form used in the main argument
For r≥1 the two inequalities combine to a single two-sided bound: if r
is even then fN(r−1)≤(−1)N≤fN(r) and
fN(r)=fN(r−1)+2r(rN), while if r is odd then
fN(r)≤(−1)N≤fN(r−1) and fN(r)=fN(r−1)−2r(rN). Either way
fN(r)−(−1)N≤2r(rN)(r≥1),
which is the source's display
"∑k=0r(−2)k(kSz)=(−1)Sz+O(2r(rSz))"
on p. 8 with the implied constant 1. The
Theorem 1.4 reconstruction
applies the lemma once to the prime count π(n+d)−π(n),
for one even and one odd truncation, and once to the sifted count
Sz in this two-sided form.
Compilation notes. The source's proof writes (kn) for (kN)
in the definition of f, a typographical slip. The proof of the odd case is
"similar" in the source and is written out above.