Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Amicable numbers · amicable_220_284

Source:Wikipedia lists of open problems · en.wikipedia.org/wiki/Amicable_numbers
Sanity test Checks that the formal definitions behave as intended. First verified proof: +1 points.
Statement:reviewed
Variant of:Amicable numbers
Statement:

The classic amicable pair (220,284)(220, 284).

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.07628 [math.NT] · NS.07628v1 for this version
Declaration:AmicableNumbers.amicable_220_284
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 1; accepted critique: up to 100
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 amicable_220_284 : IsAmicable 220 284
Show 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.amicable_220_284 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_amicable_220_284 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry desk wikipedia-amicablenumbers--amicable-220-284      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch wikipedia-amicablenumbers--amicable-220-284
nosorry submit wikipedia-amicablenumbers--amicable-220-284 nosorry/wikipedia-amicablenumbers--amicable-220-284/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.