Documentation

FormalConjectures.ErdosProblems.«233»

Erdős Problem 233 #

References:

noncomputable def primeGap (n : ) :

The prime gap: the difference between the $n+1$-th and $n$-th prime.

Equations
Instances For
    theorem sum_of_squares_of_prime_gaps_lower_bound :
    (fun (N : ) => N * Real.log N ^ 2) =O[Filter.atTop] fun (N : ) => nFinset.range N, (primeGap n) ^ 2

    The prime number theorem immediately implies a lower bound of $\gg N(\log N)^2$ for the sum of squares of gaps between consecutive primes.

    theorem erdos_233 :
    (fun (N : ) => nFinset.range N, (primeGap n) ^ 2) =O[Filter.atTop] fun (N : ) => N * Real.log N ^ 2

    A conjecture by Heath-Brown: The sum of squares of the first $N$ gaps between consecutive primes behaves like $N * (log N)^2$.

    theorem erdos_233.variant (h : RiemannHypothesis) :
    (fun (N : ) => nFinset.range N, (primeGap n) ^ 2) =O[Filter.atTop] fun (N : ) => N * Real.log N ^ 4

    Cramér proved an upper bound of $O(N(\log N)^4)$ conditional on the Riemann hypothesis.