Title:Erdős Problem 236
Statement:Let count the number of solutions to for prime and . Show that .
| Subjects: | Combinatorics (math.CO); Number Theory (math.NT) |
| MSC classes: | 05, 11 |
| Cite as: | NS.01419 [math.CO] · NS.01419v1 for this version |
| Declaration: | Erdos236.erdos_236 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60 |
| Statement hash: | 1a50e0e07ad3c6d8203bcf568b9cac68cad147e299034623445e7f4fc08a576a |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/236.lean |
Formal statement
theorem erdos_236: (fun n => (f n : ℝ)) =o[atTop] (fun n => Real.log (n : ℝ))Show the full Challenge.lean (46 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 236
*Reference:* [erdosproblems.com/236](https://www.erdosproblems.com/236)
-/
@[expose] public section
open Filter Asymptotics
namespace Erdos236
/--
$f(n)$ counts the number of solutions to $n=p+2^k$ for prime $p$ and $k\geq 0$.
-/
def f (n : ℕ) : ℕ :=
((List.range (Nat.log2 n + 1)).filter (fun k => Nat.Prime (n - 2^k))).length
/--
Let $f(n)$ count the number of solutions to $n=p+2^k$ for prime $p$ and $k\geq 0$. Show that $f(n)=o(\log n)$.
-/
@[category research open, AMS 5 11]
theorem erdos_236: (fun n => (f n : ℝ)) =o[atTop] (fun n => Real.log (n : ℝ)) := by
sorry
end Erdos236
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos236.erdos_236 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_236 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-236 nosorry submit erdos-236 nosorry/erdos-236/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.