{
  "id": "3341",
  "ident": "NS.03341",
  "slug": "erdos-830",
  "title": "Erdős Problem 830",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "**Erdos Problem 830, Part 1**\nWe say that $a,b\\in \\mathbb{N}$ are an amicable pair if $\\sigma(a)=\\sigma(b)=a+b$. Are there\ninfinitely many amicable pairs?",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos830.erdos_830.parts.i",
  "statement_lean": "theorem erdos_830.parts.i : {(a, b) | IsAmicable a b}.Infinite",
  "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 830\n\n*References:*\n- [erdosproblems.com/830](https://www.erdosproblems.com/830)\n- [Er55b] Erdős, P., *On amicable numbers*. Publ. Math. Debrecen (1955), 108-111.\n- [Gu04] Guy, Richard K., *Unsolved problems in number theory*. (2004), xviii+437.\n- [Po15] Pomerance, Carl, *On amicable numbers*. (2015), 321-327.\n- [Po81] Pomerance, Carl, *On the distribution of amicable numbers. II*. J. Reine Angew. Math.\n  (1981), 183-188.\n-/\n\n@[expose] public section\n\nopen scoped ArithmeticFunction.sigma\nopen Filter Real\n\nnamespace Erdos830\n\nopen scoped Classical in\n/--\nLet $A(x)$ count the number of amicable pairs $1\\leq a\\leq b\\leq x$.\n-/\nnoncomputable abbrev A (x : ℝ) : ℝ :=\n  ((Finset.Icc 1 ⌊x⌋₊ ×ˢ Finset.Icc 1 ⌊x⌋₊).filter fun (a, b) ↦ a ≤ b ∧ IsAmicable a b).card\n\n/-- **Erdos Problem 830, Part 1**\nWe say that $a,b\\in \\mathbb{N}$ are an amicable pair if $\\sigma(a)=\\sigma(b)=a+b$. Are there\ninfinitely many amicable pairs?\n-/\n@[category research open, question, AMS 11]\ntheorem erdos_830.parts.i : {(a, b) | IsAmicable a b}.Infinite := by\n  sorry\n\n/-- **Erdos Problem 830, Part 2**\nWe say that $a,b\\in \\mathbb{N}$ are an amicable pair if $\\sigma(a)=\\sigma(b)=a+b$.\nIf $A(x)$ counts the number of amicable $1\\leq a\\leq b\\leq x$ then is it true that\n$$A(x) > x^{1-o(1)}?$$\n-/\n@[category research open, question, AMS 11]\ntheorem erdos_830.parts.ii : ∃ o : ℝ → ℝ, o =o[atTop] (1 : ℝ → ℝ) ∧ ∀ᶠ x in atTop,\n    x ^ (1 - o x) < A x := by\n  sorry\n\n/--\nWe say that $a,b\\in \\mathbb{N}$ are an amicable pair if $\\sigma(a)=\\sigma(b)=a+b$.\nIf $A(x)$ counts the number of amicable $1\\leq a\\leq b\\leq x$ then one can show that $A(x) = o(x)$.\n-/\n@[category research solved, AMS 11]\ntheorem erdos_830.variants.erdos : A =o[atTop] id := by\n  sorry\n\n/--\nWe say that $a,b\\in \\mathbb{N}$ are an amicable pair if $\\sigma(a)=\\sigma(b)=a+b$.\nIf $A(x)$ counts the number of amicable $1\\leq a\\leq b\\leq x$ then one can show that\n$A(x) \\leq x \\exp(-(\\log x)^{1/3})$.\n-/\n@[category research solved, AMS 11]\ntheorem erdos_830.variants.pomerance : ∀ᶠ x in atTop, A x ≤ x * rexp (- Real.nthRoot 3 x.log) := by\n  sorry\n\n/--\nWe say that $a,b\\in \\mathbb{N}$ are an amicable pair if $\\sigma(a)=\\sigma(b)=a+b$.\nIf $A(x)$ counts the number of amicable $1\\leq a\\leq b\\leq x$ then one can show that\n$A(x) \\leq x \\exp(-(\\tfrac{1}{2}+o(1))(\\log x\\log\\log\\log x)^{1/2})$.\n(erdosproblems.com has $\\log\\log x$; [Po15, Theorem 1.1] has $\\log\\log\\log x$.)\n-/\n@[category research solved, AMS 11]\ntheorem erdos_830.variants.pomerance_stronger :\n    ∃ o : ℝ → ℝ, o =o[atTop] (1 : ℝ → ℝ) ∧\n    ∀ᶠ x in atTop, A x ≤ x * rexp (- (1/ 2 + o x) * √(x.log * x.log.log.log)) := by\n  sorry\n\nend Erdos830\n",
  "statement_hash": "8f02c25f0db19b01773ea85a82aa43ea76d19c2054dd419a42902d32a8f18b91",
  "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."
}