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 · isSumOfTwoSquarefull_two

Source:Erdős Problems
Sanity test Checks that the formal definitions behave as intended. First verified proof: +1 points.
Statement:reviewed
Statement:

2=1+12 = 1 + 1 is a sum of two squarefull numbers.

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.00598 [math.NT] · NS.00598v1 for this version
Declaration:Erdos1081.isSumOfTwoSquarefull_two
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 1; accepted critique: up to 100
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 isSumOfTwoSquarefull_two : IsSumOfTwoSquarefull 2
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.isSumOfTwoSquarefull_two with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_isSumOfTwoSquarefull_two : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

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