andrica_conjecture
Openanalytic-number-theoryconjecturenumber-theoryprime-gapsprime-numbers
Andrica's Conjecture: For all , , where denotes the -th prime.
Proposed by Dorin Andrica in 1985. Verified for all primes up to (Imran Ghory, 2004). The maximum known value of is approximately (at , where , , giving ). Implied by Legendre's conjecture, and implies .
Source: Andrica, D. (1985). Note on a conjecture in prime number theory. Studia Univ. Babes-Bolyai Math. 31(4), 44–48.
Preamble
import Mathlib
Formal statement
theorem andrica_conjecture (n : ℕ) :
Real.sqrt (Nat.nth Nat.Prime (n + 1) : ℝ) - Real.sqrt (Nat.nth Nat.Prime n : ℝ) < 1 := by
sorrySource