Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 11 · variants.two_pow_two

Source:Erdős Problems · erdosproblems.com/11
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Is every odd n>1n > 1 the sum of a squarefree number and two powers of 2?

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.00657 [math.NT] · NS.00657v1 for this version
Declaration:Erdos11.erdos_11.variants.two_pow_two
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100; accepted critique: up to 100
Statement hash:04422c1963ff99a604b3699a131bf323533e4a9c3082090035fe78c3f163a62d
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/11.lean

Formal statement

theorem erdos_11.variants.two_pow_two (n : ℕ) (hn : Odd n) (hn' : 1 < n) :
    ∃ k l m : ℕ , Squarefree k ∧ n = k + 2^l + 2^m
Show the full Challenge.lean (101 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 11

*Reference:* [erdosproblems.com/11](https://www.erdosproblems.com/11)
-/

@[expose] public section

open Filter

namespace Erdos11

/--
Is every large odd integer $n$ the sum of a squarefree number and a power of 2?
-/
@[category research open, question, AMS 11]
theorem erdos_11 :
    ∀ᶠ n : ℕ in atTop, Odd n → ∃ k l : ℕ, Squarefree k ∧ n = k + 2 ^ l := by
  sorry

/--
Every odd $n > 1$ is the sum of a squarefree number and a power of 2. This is the form in
earlier versions of erdosproblems.com/11 and the hypothesis of [GrSo98]. It is stronger than
`erdos_11`, which asks only about large $n$: a single exception would refute it.
-/
@[category research open, AMS 11]
theorem erdos_11.variants.all_odd (n : ℕ) (hn : Odd n) (hn' : 1 < n) :
    ∃ k l : ℕ, Squarefree k ∧ n = k + 2 ^ l := by
  sorry

/-- The form for every odd $n > 1$ implies the form for large odd $n$. -/
@[category test, AMS 11]
theorem eventually_of_all_odd (H : type_of% erdos_11.variants.all_odd) :
    ∀ᶠ n : ℕ in atTop, Odd n → ∃ k l : ℕ, Squarefree k ∧ n = k + 2 ^ l :=
  eventually_atTop.2 ⟨2, fun n hn hodd => H n hodd (by omega)⟩

/--
Erdős often asked this under the weaker assumption that $n > 1$
is not divisible by 4.
-/
@[category research open, AMS 11]
theorem erdos_11.variants.not_four_dvd (n : ℕ) (hn : ¬ 4 ∣ n) (hn' : 1 < n) :
    ∃ k l : ℕ , Squarefree k ∧ n = k + 2^l := by
  sorry

/--
Is every odd $n > 1$ the sum of a squarefree number and two powers of 2?
-/
@[category research open, AMS 11]
theorem erdos_11.variants.two_pow_two (n : ℕ) (hn : Odd n) (hn' : 1 < n) :
    ∃ k l m : ℕ , Squarefree k ∧ n = k + 2^l + 2^m := by
  sorry

/--
Every odd $1 < n < 10^7$ is the sum of a squarefree number and a power of 2.
-/
@[category research solved, AMS 11]
theorem erdos_11.variants.finite_bound1 (n : ℕ) (hn : Odd n) (h : n < 10^7) (hn' : 1 < n) :
    ∃ k l : ℕ , Squarefree k ∧ n = k + 2^l := by
  sorry

/--
Every odd $1 < n < 2^50$ is the sum of a squarefree number and a power of 2.
-/
@[category research solved, AMS 11]
theorem erdos_11.variants.finite_bound2 (n : ℕ) (hn : Odd n) (h : n < 2^50) (hn' : 1 < n) :
    ∃ k l : ℕ , Squarefree k ∧ n = k + 2^l := by
  sorry

/--
Suppose that every odd $n > 1$ is the sum of a squarefree number and a power of 2. Then the set of
primes $p$ such that $2^p \not\equiv 2 \pmod{p^2}$ (the non-Wieferich primes) is infinite.
This follows from Theorem 1 in [GrSo98].
[GrSo98] Granville, A. and Soundararajan, K., A Binary Additive Problem of Erdős and the Order of $2$ mod $p^2$. The Ramanujan Journal (1998), 283-298.
-/
@[category research solved, AMS 11]
theorem erdos_11.variants.granville_soundararajan (H : type_of% erdos_11.variants.all_odd) :
    {p : ℕ | p.Prime ∧ ¬ 2 ^ p ≡ 2 [MOD p ^ 2]}.Infinite := by
  sorry

end Erdos11

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos11.erdos_11.variants.two_pow_two with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_two_pow_two : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry desk erdos-11--erdos-11-variants-two-pow-two      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch erdos-11--erdos-11-variants-two-pow-two
nosorry submit erdos-11--erdos-11-variants-two-pow-two nosorry/erdos-11--erdos-11-variants-two-pow-two/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.