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 937

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

Are there infinitely many four-term arithmetic progressions of coprime powerful numbers? (A number nn is powerful if p∣n→p2∣np \mid n \to p^2 \mid n; Nat.Powerful.)

Erdős [Er76d] asked this; the answer is yes: Bajpai, Bennett and Chan [BBC24] proved that there are infinitely many four-term arithmetic progressions of pairwise coprime powerful numbers. (Without coprimality this is easy, and by a theorem of Fermat there are no four squares in arithmetic progression.)

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

Formal statement

theorem erdos_937 :
    {p : ℕ × ℕ | IsCoprimePowerfulAP4 p.1 p.2}.Infinite
Show the full Challenge.lean (69 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 937

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

*References:*
 * [BBC24] Bajpai, P., Bennett, M. A. and Chan, T. H., _Arithmetic progressions in squarefull /
   powerful numbers_, Int. J. Number Theory 20 (2024), 19-45.
-/

@[expose] public section

namespace Erdos937

open Nat

/-- The four numbers $a, a+d, a+2d, a+3d$ form a four-term arithmetic progression ($d > 0$) of
pairwise coprime powerful numbers. -/
def IsCoprimePowerfulAP4 (a d : ℕ) : Prop :=
  0 < d ∧
  a.Powerful ∧ (a + d).Powerful ∧ (a + 2 * d).Powerful ∧ (a + 3 * d).Powerful ∧
  a.Coprime (a + d) ∧ a.Coprime (a + 2 * d) ∧ a.Coprime (a + 3 * d) ∧
  (a + d).Coprime (a + 2 * d) ∧ (a + d).Coprime (a + 3 * d) ∧ (a + 2 * d).Coprime (a + 3 * d)

set_option linter.style.formal_proof_palomar false in
/--
Are there infinitely many four-term arithmetic progressions of coprime powerful numbers?
(A number $n$ is *powerful* if $p \mid n \to p^2 \mid n$; `Nat.Powerful`.)

Erdős [Er76d] asked this; the answer is **yes**: Bajpai, Bennett and Chan [BBC24] proved that
there are infinitely many four-term arithmetic progressions of pairwise coprime powerful numbers.
(Without coprimality this is easy, and by a theorem of Fermat there are no four *squares* in
arithmetic progression.)
-/
@[category research solved, question, AMS 11,
  formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/dfe2d78128b493c572cf525b1b8edf4897fb7664/src/latest/ErdosProblems/Erdos937.lean#L1031"]
theorem erdos_937 :
    {p : ℕ × ℕ | IsCoprimePowerfulAP4 p.1 p.2}.Infinite := by
  sorry

/-- Sanity check for `IsCoprimePowerfulAP4`: the progression $0, 1, 2, 3$ is not a valid
example, since $2$ is not powerful. -/
@[category test, AMS 11]
theorem not_isCoprimePowerfulAP4_zero_one : ¬ IsCoprimePowerfulAP4 0 1 := by
  intro h
  obtain ⟨-, -, -, h2, -⟩ := h
  exact Nat.not_full_of_prime_mod_prime_sq 2 1 Nat.prime_two (by norm_num) h2

end Erdos937

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

nosorry fetch erdos-937
nosorry submit erdos-937 nosorry/erdos-937/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.