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 1081

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Let A(x)A(x) count the number of n≤xn\leq x which are the sum of two squarefull numbers (a number mm is squarefull if p∣mp\mid m implies p2∣mp^2\mid m). Is it true that A(x)∼cxlog⁡xA(x) \sim c \frac{x}{\sqrt{\log x}} for some c>0c>0?

Odoni [Od81] proved this is false.

Subjects:Number Theory (math.NT)
MSC classes:11
Tags:question
Cite as:NS.00599 [math.NT] · NS.00599v1 for this version
Declaration:Erdos1081.erdos_1081
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:f14600cf5a603134b91b332a90c9948e527946372027ab4d904f07ec271065bc
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/1081.lean

Formal statement

theorem erdos_1081 :
    ¬ ∃ c > (0 : ℝ),
      (fun x : ℝ ↦ (A x : ℝ)) ~[atTop] fun x ↦ c * x / Real.sqrt (Real.log x)
Show the full Challenge.lean (86 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 1081

*References:*
- [erdosproblems.com/1081](https://www.erdosproblems.com/1081)
- [Er76e] Erdős, P., *Problems and results on consecutive integers*.
  Publ. Math. Debrecen 23 (1976), 271-282.
- [Od81] Odoni, R. W. K., *A problem of Erdős on sums of two squarefull numbers*.
  Acta Arith. 39 (1981), 145-162.
- [BlGr06] Blomer, V. and Granville, A., *Estimates for representation numbers of quadratic
  forms*. Duke Math. J. 135 (2006), 261-302.
-/

@[expose] public section

open Filter Asymptotics

namespace Erdos1081

/-- `IsSumOfTwoSquarefull n`: $n = a + b$ for squarefull numbers $a, b \geq 1$ (here $1$ is
squarefull). Allowing $a = 0$ or $b = 0$ would only add the $O(\sqrt{x})$ squarefull numbers up
to $x$, which does not affect the statements below. -/
def IsSumOfTwoSquarefull (n : ℕ) : Prop :=
  ∃ a b : ℕ, 0 < a ∧ 0 < b ∧ a.Powerful ∧ b.Powerful ∧ n = a + b

/-- $A(x)$: the number of integers $1 \leq n \leq x$ which are the sum of two squarefull
numbers. -/
noncomputable def A (x : ℝ) : ℕ :=
  {n : ℕ | 0 < n ∧ (n : ℝ) ≤ x ∧ IsSumOfTwoSquarefull n}.ncard

/-- $\alpha = 1 - 2^{-1/3} \approx 0.206299$, the exponent in the Blomer–Granville estimate. -/
noncomputable def alpha : ℝ := 1 - 2 ^ (-(1 : ℝ) / 3)

/-- $2 = 1 + 1$ is a sum of two squarefull numbers. -/
@[category test, AMS 11]
theorem isSumOfTwoSquarefull_two : IsSumOfTwoSquarefull 2 :=
  ⟨1, 1, one_pos, one_pos, Nat.Full.one_right 2, Nat.Full.one_right 2, rfl⟩

/--
Let $A(x)$ count the number of $n\leq x$ which are the sum of two squarefull numbers (a number
$m$ is squarefull if $p\mid m$ implies $p^2\mid m$). Is it true that
$$A(x) \sim c \frac{x}{\sqrt{\log x}}$$
for some $c>0$?

Odoni [Od81] proved this is false.
-/
@[category research solved, question, AMS 11]
theorem erdos_1081 :
    ¬ ∃ c > (0 : ℝ),
      (fun x : ℝ ↦ (A x : ℝ)) ~[atTop] fun x ↦ c * x / Real.sqrt (Real.log x) := by
  sorry

/--
Blomer and Granville [BlGr06] proved
$$A(x)= (\log\log x)^{O(1)}\frac{x}{(\log x)^{\alpha}}$$
where $\alpha=1-2^{-1/3}\approx 0.206299$: for some $C$ and all large $x$, $A(x)$ lies between
$(\log\log x)^{-C}$ and $(\log\log x)^{C}$ times $x/(\log x)^{\alpha}$.
-/
@[category research solved, AMS 11]
theorem erdos_1081.variants.blomer_granville :
    ∃ C : ℝ, 0 < C ∧ ∀ᶠ x : ℝ in atTop,
      x / Real.log x ^ alpha / Real.log (Real.log x) ^ C ≤ A x ∧
        (A x : ℝ) ≤ x / Real.log x ^ alpha * Real.log (Real.log x) ^ C := by
  sorry

end Erdos1081

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

nosorry fetch erdos-1081
nosorry submit erdos-1081 nosorry/erdos-1081/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

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.