Title:Amicable numbers · infinitely_many_amicable
Statement:Infinitely many amicable numbers conjecture.
Are there infinitely many pairs of amicable numbers?
While many amicable pairs are known, it remains open whether there are infinitely many.
Reference: Wikipedia, erdosproblems.com/830
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question |
| Cite as: | NS.07631 [math.NT] · NS.07631v1 for this version |
| Declaration: | AmicableNumbers.infinitely_many_amicable |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60 |
| Statement hash: | 1caf3d3e06d0d606e4ba7e4e0a6e94740cb1aecb5d7ff51490d80baeb006b4c2 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/Wikipedia/AmicableNumbers.lean |
Formal statement
theorem infinitely_many_amicable : type_of% Erdos830.erdos_830.parts.iShow the full Challenge.lean (99 lines) — definitions included
module
public import FormalConjecturesUtil
public import FormalConjectures.ErdosProblems.«830»
/-!
# Amicable numbers
Two distinct positive integers form an amicable pair if each equals the sum of the
proper divisors of the other. Equivalently, $(a, b)$ is an amicable pair if
$\sigma(a) = a + b$ and $\sigma(b) = a + b$, where $\sigma(n)$ denotes the sum of
all positive divisors of $n$.
Several open problems about amicable numbers are formalised here:
* Do there exist relatively prime amicable numbers?
* Are there infinitely many amicable pairs?
* Do there exist amicable numbers with opposite parity (one even, one odd)?
*References:*
- [Wikipedia](https://en.wikipedia.org/wiki/Amicable_numbers)
- [MathWorld](https://mathworld.wolfram.com/AmicableNumbers.html)
- [OEIS A063990](https://oeis.org/A063990)
-/
@[expose] public section
namespace AmicableNumbers
/-- The classic amicable pair $(220, 284)$. -/
@[category test, AMS 11]
theorem amicable_220_284 : IsAmicable 220 284 := by
constructor <;> decide
/-- `IsAmicable` is symmetric. -/
@[category test, AMS 11]
theorem IsAmicable.symm {a b : ℕ} (h : IsAmicable a b) : IsAmicable b a := by
rw [isAmicable_iff] at *
omega
/--
**Relatively prime amicable numbers conjecture.**
Do there exist amicable numbers $(a, b)$ with $\gcd(a, b) = 1$?
All known amicable pairs share a common factor. It is an open question
whether a pair of relatively prime amicable numbers can exist.
*Reference:* [Wikipedia](https://en.wikipedia.org/wiki/Amicable_numbers)
-/
@[category research open, question, AMS 11]
theorem relatively_prime_amicable :
∃ a b : ℕ, IsAmicable a b ∧ a ≠ b ∧ a.Coprime b := by
sorry
/--
**Infinitely many amicable numbers conjecture.**
Are there infinitely many pairs of amicable numbers?
While many amicable pairs are known, it remains open whether there are infinitely many.
*Reference:* [Wikipedia](https://en.wikipedia.org/wiki/Amicable_numbers),
[erdosproblems.com/830](https://www.erdosproblems.com/830)
-/
@[category research open, question, AMS 11]
theorem infinitely_many_amicable : type_of% Erdos830.erdos_830.parts.i := by
sorry
/--
**Amicable numbers with opposite parity conjecture.**
Do there exist amicable numbers $(a, b)$ where one is even and the other is odd?
All known amicable pairs are either both even or both odd. It is widely believed
that mixed-parity amicable pairs do not exist, but this remains open.
*Reference:* [Wikipedia](https://en.wikipedia.org/wiki/Amicable_numbers)
-/
@[category research open, question, AMS 11]
theorem opposite_parity_amicable :
∃ a b : ℕ, IsAmicable a b ∧ (Even a ↔ Odd b) := by
sorry
end AmicableNumbers
To prove it: keep every definition of Challenge.lean unchanged and prove AmicableNumbers.infinitely_many_amicable with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_infinitely_many_amicable : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch wikipedia-amicablenumbers--infinitely-many-amicable nosorry submit wikipedia-amicablenumbers--infinitely-many-amicable nosorry/wikipedia-amicablenumbers--infinitely-many-amicable/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.