Research notes on every problem, and a library of the papers behind them. Built from the open erdos repository.
Updated
Proof of the consecutive unique-difference bound
Let B⊂Z have m≥2 elements and suppose that every
integer 1≤d≤L has exactly one representation d=b′−b with
b,b′∈B. If L=0, the bound is immediate. Otherwise put
u=⌊(L+1)/2⌋≥1, so 2u−1≤L≤2u.
For every integer j define
F(j)=∣B∩[j,j+u−1]∣,r(d)=∣{(b,b′)∈B2:b′−b=d}∣.
All sums below have finite support. Counting the intervals that contain
two specified points gives
j∑F(j)2=mu+2d=1∑u−1(u−d)r(d)=u(m+u−1).(1)
For a point b in [j,j+u−1] and a point b′ in the adjacent interval
[j+u,j+2u−1], the positive difference d=b′−b lies between 1 and
2u−1. There are u−∣u−d∣ choices of j for this pair. Thus
j∑F(j)F(j+u)=d=1∑2u−1(u−∣u−d∣)r(d)=u2.(2)
The only representation counts used in (1) and (2) are r(d)=1 for
1≤d≤2u−1. Translation of the index j then gives
j∑(F(j+u)−F(j))2=2u(m−1).(3)
For each a∈{0,…,u−1} let fa(n)=F(a+nu) for n∈Z.
These values count B in a partition of the integers into disjoint
intervals, so fa≥0 and ∑nfa(n)=m. Write
Ta=n∑fa(n)2,Ea=n∑(fa(n+1)−fa(n))2.
The bijection j=a+nu and (1), (3) yield
u1a∑Ta=m+u−1,u1a∑Ea=2(m−1).(4)
Fix a positive integer k and average k translates of each sequence:
ga(n)=k1i=0∑k−1fa(n+i).
Nonnegativity and the mass identity give 0≤ga(n)≤m/k and
∑nga(n)=m. Therefore
∑nga(n)2≤m2/k. Telescoping consecutive translates and
applying the triangle inequality in ℓ2(Z) give