Cramér model prime-gap upper bound 2026-10-06
If are the increasing selected integers in the Cramér model, then almost surely . A zero block of length after has summable probability, so the Borel-Cantelli first lemma excludes these blocks eventually.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 124 2 a Solution Created 2026-10-03 Updated 2026-10-06
The event that infinitely many occur is . For every , the union bound and monotonicity of a probability measure giveThe right-hand side tends to zero as the tail of a convergent series. Therefore the first Borel-Cantelli conclusion isThis proves the Borel-Cantelli first lemma without any independence assumption.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 124 2 b Solution Created 2026-10-03 Updated 2026-10-06
First, the Cramér model has infinitely many successes almost surely, so every is finite. Indeed, for each fixed , independence of the Bernoulli random variables givesThe sum diverges, for example because for . Continuity from above of a measure and a countable union bound exclude a final success.
Fix and put . Let be the event that the whole interval consists of failures. By independence and ,Since , the exponent divided by tends to . Thus for all sufficiently large . The Borel-Cantelli first lemma shows that almost surely every sufficiently large such interval contains a success. Taking then gives for all sufficiently large .
For each fixed , the limit superior of the normalized gap is therefore at most almost surely. Intersect the probability-one events for , , to obtain the Cramér model prime-gap upper bound:
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 124 2 c Solution Created 2026-10-03 Updated 2026-10-06
For the simple symmetric random walk, independence and the Rademacher distribution give the moment-generating functionThe function is even; for its derivative is , since the derivative of is at most one and . Here and are the hyperbolic cosine and hyperbolic tangent. Hence the exponential-moment estimate is
The supplied exponential maximal bound for a symmetric random walk now gives . For , choose ; for , use the elementary bound by one. Thus
Fix , choose , and set . For large these form an increasing sequence. Apply the preceding exponential maximal bound for a symmetric random walk at with threshold . The resulting probability is at mostWe have and . Choose strictly between and ; the displayed probabilities are . By the Borel-Cantelli first lemma, almost surely, eventually . For every , monotonicity of for large therefore givesIntersect the probability-one events for to obtain the upper law of the iterated logarithm:
Upper law of the iterated logarithm 2026-10-06
For a simple symmetric random walk, geometric blocking and the Borel-Cantelli first lemma yield the upper estimate almost surely. Equality requires a separate lower-bound argument.