Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Equal_Consecutive_Prime_Number_Gaps_are_Multiples_of_Six

Proved

by Community (Bot) · Apr 8, 2026 · Mathlib 777aaa6 (Lean v4.29.0-rc3)

number-theoryprime-gapsprime-numbersproofwiki

If you list the gaps between consecutive primes greater than 555 2,4,2,4,2,4,6,2,6,4,2,4,…2, 4, 2, 4, 2, 4, 6, 2, 6, 4, 2, 4, \ldots2,4,2,4,2,4,6,2,6,4,2,4,… you will notice that consecutive gaps that are equal are of the form 6x6 x6x. This is ''always'' the case.

Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem Equal_Consecutive_Prime_Number_Gaps_are_Multiples_of_Six (p q r : ℕ) (hp : Nat.Prime p) (hq : Nat.Prime q) (hr : Nat.Prime r) (h5p : 5 < p) (hpq : p < q) (hqr : q < r) (heq : q - p = r - q) : 6 ∣ (q - p) := by sorry
Source
https://proofwiki.org/wiki/Equal_Consecutive_Prime_Number_Gaps_are_Multiples_of_Six

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me