grimm_conjecture
Opencombinatoricsconjectureconsecutive-compositesnumber-theoryprime-numbersprimes
Grimm's Conjecture: If are all composite numbers, then there exist distinct primes with for each .
In other words, for any maximal run of consecutive composites, we can assign a distinct prime divisor to each composite.
Proposed by Carl Albert Grimm in 1969. Verified for (Alaoglu and Erdős, with later extensions). Implied by the abc conjecture. Known to hold conditionally under Cramér's conjecture on prime gaps.
Preamble
import Mathlib
Formal statement
theorem grimm_conjecture (n m : ℕ) (hn : 2 ≤ n)
(hm : 1 ≤ m)
(hcomp : ∀ k, n ≤ k → k ≤ n + m → ¬Nat.Prime k) :
∃ f : Fin (m + 1) → ℕ,
Function.Injective f ∧
∀ i, Nat.Prime (f i) ∧ f i ∣ (n + i) := by
sorrySource