{
  "id": "491",
  "ident": "NS.00491",
  "slug": "erdos-1052",
  "title": "Erdős Problem 1052",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Are there only finitely many unitary perfect numbers?",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": "https://www.erdosproblems.com/1052",
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos1052.erdos_1052",
  "statement_lean": "theorem erdos_1052 :\n    {n | IsUnitaryPerfect n}.Finite",
  "challenge_source": "/-\nCopyright 2025 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 1052\n\n*Reference:* [erdosproblems.com/1052](https://www.erdosproblems.com/1052)\n-/\n\n@[expose] public section\n\nnamespace Erdos1052\n\n/-- A proper unitary divisor of $n$ is a divisor $d$ of $n$\nsuch that $d$ is coprime to $n/d$, and $d < n$. -/\ndef properUnitaryDivisors (n : ℕ) : Finset ℕ :=\n  {d ∈ Finset.Ico 1 n | d ∣ n ∧ d.Coprime (n / d)}\n\n/-- A number $n > 0$ is a unitary perfect number if it is the sum of its proper unitary divisors. -/\ndef IsUnitaryPerfect (n : ℕ) : Prop :=\n  ∑ i ∈ properUnitaryDivisors n, i = n ∧ 0 < n\n\n/--\nAre there only finitely many unitary perfect numbers? -/\n@[category research open, question, AMS 11]\ntheorem erdos_1052 :\n    {n | IsUnitaryPerfect n}.Finite := by\n  sorry\n\nset_option linter.style.formal_proof_palomar false in\n/--\nAll unitary perfect numbers are even.\n\nFormal proof linked here provided by AlphaProof.\n-/\n@[category research solved, AMS 11, formal_proof using formal_conjectures at \"https://github.com/mzhorvath1/formal-conjectures/blob/b70a2ddf5e55f743aac9d4f4a907786b39bc9807/FormalConjectures/ErdosProblems/1052.lean#L46\"]\ntheorem even_of_isUnitaryPerfect (n : ℕ) (hn : IsUnitaryPerfect n) : Even n := by\n  sorry\n\n@[category test, AMS 11]\ntheorem isUnitaryPerfect_6 : IsUnitaryPerfect 6 := by\n  norm_num [IsUnitaryPerfect, properUnitaryDivisors]\n  decide +kernel\n\n@[category test, AMS 11]\ntheorem isUnitaryPerfect_60 : IsUnitaryPerfect 60 := by\n  norm_num [IsUnitaryPerfect, properUnitaryDivisors]\n  decide +kernel\n\n@[category test, AMS 11]\ntheorem isUnitaryPerfect_90 : IsUnitaryPerfect 90 := by\n  norm_num [IsUnitaryPerfect, properUnitaryDivisors]\n  decide +kernel\n\n@[category test, AMS 11]\ntheorem isUnitaryPerfect_87360 : IsUnitaryPerfect 87360 := by\n  -- TODO: Find a quicker proof. This one is too slow.\n  stop\n  norm_num [IsUnitaryPerfect, properUnitaryDivisors]\n  decide +kernel\n\n@[category test, AMS 11, formal_proof using formal_conjectures at \"https://github.com/Sanexxxx777/formal-conjectures/blob/be8aed15e8888a08bbe723170698e26c046412a4/FormalConjectures/ErdosProblems/1052.lean#L346\"]\ntheorem isUnitaryPerfect_146361946186458562560000 : IsUnitaryPerfect 146361946186458562560000 := by\n  sorry\n\nend Erdos1052\n",
  "statement_hash": "f845b976f10ea528f28b6b561b7d074fd76d34734cd5eeb77e3b7dee8397e1d4",
  "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."
}