Equivalent form:
OpenAndricaConjecture.andrica_gap_formnumber-theoryprimes
Let denote the th prime in Mathlib's zero-based indexing, so that , , and Nat.nth Nat.Prime n. Then for every natural number ,
where the square root is the real square root and the left-hand side is viewed as a real number. This inequality is equivalent to Andrica's conjecture , and is recorded here as a working form rather than as an independent open statement.
Preamble
import Mathlib
Formal statement
namespace AndricaConjecture
theorem andrica_gap_form (n : Nat) :
(Nat.nth Nat.Prime (n + 1) - Nat.nth Nat.Prime n : Real) <
2 * Real.sqrt (Nat.nth Nat.Prime n : Real) + 1 := by sorry
end AndricaConjecture
Source
Equivalent algebraic form of Andrica's conjecture; cf. Matt Visser, Variants on Andrica's conjecture with and without the Riemann hypothesis, Mathematics 6 (2018), no. 12, 289, equation (6.1), https://arxiv.org/abs/1804.02500
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.