Legendre's conjecture #
References:
theorem
LegendreConjecture.bounded_gap_legendre
(H :
∃ c > 0,
∀ᶠ (n : ℕ) in Filter.atTop, ↑(Nat.nth Nat.Prime (n + 1)) - ↑(Nat.nth Nat.Prime n) < ↑(Nat.nth Nat.Prime n) ^ (1 / 2 - c))
:
If there exists a constant c > 0 such that
(n + 1).nth Nat.Prime - n.nth Nat.Prime < (n.nth Nat.Prime) ^ (1 / 2 - c) for all large n,
then Legendre's conjecture is asymptotically true.