Erdős: an arithmetic progression of odd numbers avoiding
ProvedErdos1950.theorem_3There are natural numbers and with such that
- every term () is odd, and
- no term is of the form : for all and every prime ,
This is Theorem 3 of Erdős (1950), answering a question of Romanoff. It exhibits a whole arithmetic progression of odd numbers lies outside the set of sums of a power of two and a prime.
Formalization Note Exponents are included, which only strengthens the statement.
import Definitions.Def_Erdos1950_Defs import Mathlib.Analysis.SpecialFunctions.Log.Basic import Mathlib.NumberTheory.Divisors open Erdos1950
namespace Erdos1950
theorem theorem_3 :
∃ a d : ℕ, 0 < d ∧ (∀ m : ℕ, Odd (a + d * m)) ∧
∀ m k p : ℕ, p.Prime → a + d * m ≠ 2 ^ k + p := by sorry
end Erdos1950Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Statement (no hypotheses). There exist natural numbers such that all three of the following hold:
- ;
- for every , the number is odd;
- for every with prime,
Reading. The arithmetic progression (with starting at , so itself is included) consists entirely of odd numbers, and no term of it can be written as with a natural number (including , i.e. ) and prime (including ). Condition 2 applied at and forces odd and even. Only natural numbers are involved; there is no condition that , that , or that (though condition 2 already excludes ). No definition from the accompanying definitions file is used.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.