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

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Number of distinct sums of distinct proper divisors of nn

Source:OEIS conjectures
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Is the converse true, i.e., if a(n)=na(n) = n, is nn necessarily an even perfect number?

  • Michael Engling, Jul 20 2011

The answer is no: for example, n=492=22⋅3⋅41n = 492 = 2^2 \cdot 3 \cdot 41 and n=1652=22⋅7⋅59n = 1652 = 2^2 \cdot 7 \cdot 59 satisfy a(n)=na(n) = n but are abundant rather than perfect.

Subjects:Number Theory (math.NT)
MSC classes:11
Tags:question
Cite as:NS.05184 [math.NT] · NS.05184v1 for this version
Declaration:OeisA193279.conjecture
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:ff7651f61fff4644938ec10049b1d41873d22ef4f69ee6ad165d64f5d86d690b
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/OEIS/193279.lean

Formal statement

theorem conjecture : ¬ ∀ n : ℕ, 0 < n → a n = n → n.Perfect ∧ Even n
Show the full Challenge.lean (79 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Number of distinct sums of distinct proper divisors of $n$

The sequence $a(n)$ counts the number of distinct sums of non-empty subsets of the proper divisors
of $n$.

*References:*
- [A193279](https://oeis.org/A193279)
-/

@[expose] public section

namespace OeisA193279

/--
Number of distinct sums of distinct proper divisors of $n$ (excluding the empty sum $0$).
-/
def a (n : ℕ) : ℕ :=
  (n.properDivisors.powerset.image (fun s : Finset ℕ => ∑ x ∈ s, x)).card - 1

@[category test, AMS 11]
theorem a_1 : a 1 = 0 := by decide

@[category test, AMS 11]
theorem a_2 : a 2 = 1 := by decide

@[category test, AMS 11]
theorem a_3 : a 3 = 1 := by decide

@[category test, AMS 11]
theorem a_4 : a 4 = 3 := by decide

@[category test, AMS 11]
theorem a_5 : a 5 = 1 := by decide

@[category test, AMS 11]
theorem a_6 : a 6 = 6 := by decide

/--
If $n$ is an even perfect number, then $a(n) = n$.
- _Michael Engling_, Jul 20 2011
-/
@[category textbook, AMS 11]
theorem a_eq_self_of_perfect_of_even (n : ℕ) (hperf : n.Perfect) (heven : Even n) :
    a n = n := by
  sorry

/--
Is the converse true, i.e., if $a(n) = n$, is $n$ necessarily an even perfect number?
- _Michael Engling_, Jul 20 2011

The answer is no: for example, $n = 492 = 2^2 \cdot 3 \cdot 41$ and
$n = 1652 = 2^2 \cdot 7 \cdot 59$ satisfy $a(n) = n$ but are abundant rather than perfect.
-/
@[category research solved, question, AMS 11]
theorem conjecture : ¬ ∀ n : ℕ, 0 < n → a n = n → n.Perfect ∧ Even n := by
  sorry

end OeisA193279

To prove it: keep every definition of Challenge.lean unchanged and prove OeisA193279.conjecture with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_conjecture : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch oeis-193279
nosorry submit oeis-193279 nosorry/oeis-193279/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

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.