Title:Erdős Problem 429
Statement:Is it true that, if is sparse enough and does not cover all residue classes modulo for any prime , then there exists some such that is prime for all ?
Weisenberg [We24] has shown the answer is no: can be arbitrarily sparse and missing at least one residue class modulo every prime , and yet is not contained in the primes for any . (Weisenberg gives several constructions of such an .)
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question, formal_proof |
| Cite as: | NS.02118 [math.NT] · NS.02118v1 for this version |
| Declaration: | Erdos429.erdos_429 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10; accepted critique: up to 100 |
| Statement hash: | 3533aa7c35a19dd76a491be0e36f8bbe5486a254f6c838c9baa584031db097a6 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/429.lean |
Formal statement
theorem erdos_429 :
¬ ∃ f : ℕ → ℕ, Tendsto f atTop atTop ∧
∀ A : Set ℕ, A.Infinite → (∀ N, (A ∩ Set.Icc 1 N).ncard ≤ f N) →
(∀ p : ℕ, p.Prime → ∃ b : ZMod p, ∀ a ∈ A, (a : ZMod p) ≠ b) →
∃ n : ℤ, ∀ a ∈ A, (n + a).toNat.PrimeShow the full Challenge.lean (58 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 429
*References:*
- [erdosproblems.com/429](https://www.erdosproblems.com/429)
- [ErGr80] Erdős, P. and Graham, R., *Old and new problems and results in combinatorial number
theory*. Monographies de L'Enseignement Mathematique (1980).
- [Er80] Erdős, Paul, *A survey of problems in combinatorial number theory*.
Ann. Discrete Math. (1980), 89-115.
- [We24] D. Weisenberg, *Sparse Admissible Sets and a Problem of Erdős and Graham*.
Integers (2024).
-/
@[expose] public section
open Filter
namespace Erdos429
set_option linter.style.formal_proof_palomar false in
/--
Is it true that, if $A\subseteq \mathbb{N}$ is sparse enough and does not cover all residue
classes modulo $p$ for any prime $p$, then there exists some $n\in \mathbb{Z}$ such that $n+a$ is
prime for all $a\in A$?
Weisenberg [We24] has shown the answer is no: $A$ can be arbitrarily sparse and missing at
least one residue class modulo every prime $p$, and yet $A+n$ is not contained in the primes
for any $n\in \mathbb{Z}$. (Weisenberg gives several constructions of such an $A$.)
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/1d7b3f00780b85ed0462e79a1cd5650ee9055655/src/v4.29.1/ErdosProblems/Erdos429.lean"]
theorem erdos_429 :
¬ ∃ f : ℕ → ℕ, Tendsto f atTop atTop ∧
∀ A : Set ℕ, A.Infinite → (∀ N, (A ∩ Set.Icc 1 N).ncard ≤ f N) →
(∀ p : ℕ, p.Prime → ∃ b : ZMod p, ∀ a ∈ A, (a : ZMod p) ≠ b) →
∃ n : ℤ, ∀ a ∈ A, (n + a).toNat.Prime := by
sorry
end Erdos429
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos429.erdos_429 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_429 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry desk erdos-429 # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch erdos-429 nosorry submit erdos-429 nosorry/erdos-429/Solution.lean --wait
Contributions
No contributions yet — be the first. Submit a proof or a finding.
Research in progress
People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.
Nobody has shared research on this problem yet.
Sign in to share your research.
Statement review
Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.
Sign in to open a critique.