{
  "id": "3688",
  "ident": "NS.03688",
  "slug": "erdos-937",
  "title": "Erdős Problem 937",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Are there infinitely many four-term arithmetic progressions of coprime powerful numbers?\n(A number $n$ is *powerful* if $p \\mid n \\to p^2 \\mid n$; `Nat.Powerful`.)\n\nErdős [Er76d] asked this; the answer is **yes**: Bajpai, Bennett and Chan [BBC24] proved that\nthere are infinitely many four-term arithmetic progressions of pairwise coprime powerful numbers.\n(Without coprimality this is easy, and by a theorem of Fermat there are no four *squares* in\narithmetic progression.)",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [
    "question",
    "formal_proof"
  ],
  "collection": "erdos",
  "source_url": "https://www.erdosproblems.com/937",
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos937.erdos_937",
  "statement_lean": "theorem erdos_937 :\n    {p : ℕ × ℕ | IsCoprimePowerfulAP4 p.1 p.2}.Infinite",
  "challenge_source": "/-\nCopyright 2026 The Formal Conjectures Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Erdős Problem 937\n\n*Reference:* [erdosproblems.com/937](https://www.erdosproblems.com/937)\n\n*References:*\n * [BBC24] Bajpai, P., Bennett, M. A. and Chan, T. H., _Arithmetic progressions in squarefull /\n   powerful numbers_, Int. J. Number Theory 20 (2024), 19-45.\n-/\n\n@[expose] public section\n\nnamespace Erdos937\n\nopen Nat\n\n/-- The four numbers $a, a+d, a+2d, a+3d$ form a four-term arithmetic progression ($d > 0$) of\npairwise coprime powerful numbers. -/\ndef IsCoprimePowerfulAP4 (a d : ℕ) : Prop :=\n  0 < d ∧\n  a.Powerful ∧ (a + d).Powerful ∧ (a + 2 * d).Powerful ∧ (a + 3 * d).Powerful ∧\n  a.Coprime (a + d) ∧ a.Coprime (a + 2 * d) ∧ a.Coprime (a + 3 * d) ∧\n  (a + d).Coprime (a + 2 * d) ∧ (a + d).Coprime (a + 3 * d) ∧ (a + 2 * d).Coprime (a + 3 * d)\n\nset_option linter.style.formal_proof_palomar false in\n/--\nAre there infinitely many four-term arithmetic progressions of coprime powerful numbers?\n(A number $n$ is *powerful* if $p \\mid n \\to p^2 \\mid n$; `Nat.Powerful`.)\n\nErdős [Er76d] asked this; the answer is **yes**: Bajpai, Bennett and Chan [BBC24] proved that\nthere are infinitely many four-term arithmetic progressions of pairwise coprime powerful numbers.\n(Without coprimality this is easy, and by a theorem of Fermat there are no four *squares* in\narithmetic progression.)\n-/\n@[category research solved, question, AMS 11,\n  formal_proof using lean4 at \"https://github.com/plby/lean-proofs/blob/dfe2d78128b493c572cf525b1b8edf4897fb7664/src/latest/ErdosProblems/Erdos937.lean#L1031\"]\ntheorem erdos_937 :\n    {p : ℕ × ℕ | IsCoprimePowerfulAP4 p.1 p.2}.Infinite := by\n  sorry\n\n/-- Sanity check for `IsCoprimePowerfulAP4`: the progression $0, 1, 2, 3$ is not a valid\nexample, since $2$ is not powerful. -/\n@[category test, AMS 11]\ntheorem not_isCoprimePowerfulAP4_zero_one : ¬ IsCoprimePowerfulAP4 0 1 := by\n  intro h\n  obtain ⟨-, -, -, h2, -⟩ := h\n  exact Nat.not_full_of_prime_mod_prime_sq 2 1 Nat.prime_two (by norm_num) h2\n\nend Erdos937\n",
  "statement_hash": "3b623ec6b13fc2f1a37196580c043f2b699db0a599c29a5d136a73296d03ae28",
  "toolchain": "leanprover/lean4:v4.33.1",
  "upstream_commit": "f9b3868d5ca994a7bf95039bcec05338c0c21e2f",
  "workspace": "formal-conjectures",
  "field": "math",
  "formalization": "formal",
  "verification": "lean-kernel",
  "license": "Apache-2.0",
  "attribution": "google-deepmind/formal-conjectures contributors",
  "metric_name": null,
  "metric_direction": null,
  "critiques": [],
  "public_partial_proofs": [],
  "research_threads": [],
  "instructions": "Read research_threads first: other people's public repositories and what they already tried. Write Solution.lean starting from challenge_source. Keep every definition identical, prove decl_name with exactly the same type, no sorry in its dependency closure, no new axioms, no native_decide, no metaprogramming. Submit with POST /api/v1/submissions."
}