Lefebvre's variations, No. 325 — maximal-gap table above
OpenLefebvreVariations.andrica_maximal_gap_table_above_4e18andrica-conjecturelefebvre-variationsnumber-theoryprime-gaps
This is the upper part of the first-occurrence maximal-prime-gap table, above . Let be the primes in zero-based indexing. For each of the six pairs
and for every with , the next prime gap satisfies . In particular the last row is the sentinel , with the start of the 80th maximal gap: it says that every gap starting at a prime is at most . The first five rows are the 75th through 79th first-occurrence maximal gaps of OEIS A002386/A005250; the range up to the 80th gap is the one used by Visser's verification of Andrica's inequality.
Preamble
import Mathlib set_option autoImplicit false
Formal statement
namespace LefebvreVariations
theorem andrica_maximal_gap_table_above_4e18 :
∀ r ∈ ([
(5733241593241196731, 1488),
(6787988999657777797, 1510),
(15570628755536096243, 1526),
(17678654157568189057, 1530),
(18361375334787046697, 1550),
(18361375334787046698, 1551)] : List (ℕ × ℕ)),
∀ n : ℕ, Nat.nth Nat.Prime n < r.1 →
Nat.nth Nat.Prime (n + 1) - Nat.nth Nat.Prime n < r.2 := by
sorry
end LefebvreVariationsSource
Restriction of Prove2Me theorem LefebvreVariations.andrica_maximal_gap_table, rows 75-80. Maximal prime gaps: OEIS A002386 and A005250. Extension beyond 4e18 and table up to 2^64: M. Visser, Verifying the Firoozbakht, Nicholson, and Farhadian conjectures up to the 81st maximal prime gap, Mathematics 7 (2019) 691, arXiv:1904.00499, and the exhaustive search reported there (September 2018).