Title:Erdős Problem 365
2 results recorded on aiXiv
- Lean formalization Lean 4 proof (Golomb–Walker) that there are infinitely many with and both powerful and neither a square. The construction iterates a cubic Pell step preserving , starting from the seed , . — aiXiv:2610.02673, 2026-10-25 · claimed by its authors; no independent check recorded on aiXiv
- bound The number of such that and are both powerful is , improving Reuss's exponent . — aiXiv:2611.02076, 2026-11-19 · claimed by its authors; no independent check recorded on aiXiv
From aixiv.online, an open archive of AI-assisted research, synced daily. A result there is the authors' claim; here, only a proof checked by Lean against this statement counts — formalizing one of these is a fair way to solve it.
Statement:Do all pairs of consecutive powerful numbers and come from solutions to Pell equations? In other words, must either or be a square?
The answer to the first question is no: Golomb [Go70] observed that both and are powerful.
We require since
Nat.Powerfulalso includes .
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question |
| Cite as: | NS.01902 [math.NT] · NS.01902v1 for this version |
| Declaration: | Erdos365.erdos_365.parts.i |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 1517c6455927b84159b07f4aa81a299bb4422923fec4da551b122237062e082a |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/365.lean |
Formal statement
theorem erdos_365.parts.i :
¬ ∀ n : ℕ, 0 < n → Nat.Powerful n → Nat.Powerful (n + 1) →
IsSquare n ∨ IsSquare (n + 1)Show the full Challenge.lean (99 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 365
*References:*
- [erdosproblems.com/365](https://www.erdosproblems.com/365)
- [Go70] Golomb, S. W., *Powerful numbers*. Amer. Math. Monthly (1970), 848-855.
- [Gu04] Guy, R. K., *Unsolved problems in number theory* (2004), Problem B16.
- [Wa76] Walker, D. T., *Consecutive integer pairs of powerful numbers and related
Diophantine equations*. Fibonacci Quart. (1976), 111-116.
-/
@[expose] public section
namespace Erdos365
/-- Golomb's consecutive powerful pair $12167=23^3$ and $12168=2^3 3^2 13^2$.
Neither number is a square [Go70]. -/
@[category test, AMS 11]
theorem golomb_pair :
Nat.Powerful 12167 ∧ Nat.Powerful 12168 ∧
¬ IsSquare (12167 : ℕ) ∧ ¬ IsSquare (12168 : ℕ) := by
have hA : Nat.Powerful 12167 := by
intro p hp
obtain ⟨hp, hd, _⟩ := Nat.mem_primeFactors.mp hp
have hpow : p ∣ (23 : ℕ) ^ 3 := by norm_num at hd ⊢; exact hd
have heq : p = 23 := Nat.prime_eq_prime_of_dvd_pow hp (by norm_num) hpow
subst p
norm_num
have hB : Nat.Powerful 12168 := by
intro p hp
obtain ⟨hp, hd, _⟩ := Nat.mem_primeFactors.mp hp
have hprod : p ∣ (2 : ℕ) ^ 3 * 3 ^ 2 * 13 ^ 2 := by norm_num at hd ⊢; exact hd
rcases hp.dvd_mul.mp hprod with hab | hc
· rcases hp.dvd_mul.mp hab with ha | hb
· have heq : p = 2 := Nat.prime_eq_prime_of_dvd_pow hp (by norm_num) ha
subst p
norm_num
· have heq : p = 3 := Nat.prime_eq_prime_of_dvd_pow hp (by norm_num) hb
subst p
norm_num
· have heq : p = 13 := Nat.prime_eq_prime_of_dvd_pow hp (by norm_num) hc
subst p
norm_num
have hns : ∀ n : ℕ, 12100 < n → n < 12321 → ¬ IsSquare n := by
intro n hlo hhi ⟨r, hr⟩
have hrlo : 110 < r := by nlinarith
have hrhi : r < 111 := by nlinarith
omega
exact ⟨hA, hB, hns _ (by norm_num) (by norm_num), hns _ (by norm_num) (by norm_num)⟩
/--
Do all pairs of consecutive powerful numbers $n$ and $n+1$ come from solutions to Pell
equations? In other words, must either $n$ or $n+1$ be a square?
The answer to the first question is no: Golomb [Go70] observed that both $12167=23^3$ and
$12168=2^3 3^2 13^2$ are powerful.
We require $n>0$ since `Nat.Powerful` also includes $0$.
-/
@[category research solved, question, AMS 11]
theorem erdos_365.parts.i :
¬ ∀ n : ℕ, 0 < n → Nat.Powerful n → Nat.Powerful (n + 1) →
IsSquare n ∨ IsSquare (n + 1) := by
intro h
obtain ⟨hA, hB, hnA, hnB⟩ := golomb_pair
rcases h 12167 (by norm_num) hA hB with hs | hs
· exact hnA hs
· exact hnB hs
/-- Is the number of positive $n\leq x$ such that $n$ and $n+1$ are both powerful bounded
by $(\log x)^{O(1)}$? -/
@[category research open, question, AMS 11]
theorem erdos_365.parts.ii :
∃ C : ℝ, 0 < C ∧ ∃ k : ℕ, ∀ᶠ x : ℕ in Filter.atTop,
({n : ℕ | 0 < n ∧ n ≤ x ∧ Nat.Powerful n ∧ Nat.Powerful (n + 1)}.ncard : ℝ) ≤
C * (Real.log x) ^ k := by
sorry
end Erdos365
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos365.erdos_365.parts.i with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_i : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-365 nosorry submit erdos-365 nosorry/erdos-365/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-365-parts-ii — open
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.