Definition
Upper Banach density
The limiting maximal proportion of a set of integers in long intervals.
For , its upper Banach density is
It measures the greatest density that persists in arbitrarily long intervals, allowing their starting positions to vary.
Comparison with ordinary upper density
For , the ordinary upper density is , which cannot exceed . The two can differ: a set containing arbitrarily long intervals separated by sufficiently large gaps has upper Banach density one but can have ordinary upper density zero.
Both positive-density notions imply the existence of arbitrarily long arithmetic progressions by Szemerédi's theorem.