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

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Practical numbers

Source:OEIS conjectures
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Conjecture: every odd number, beginning with 3, is the sum of a prime number and a practical number.

  • Hal M. Switkay, Jan 28 2023
Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.06602 [math.NT] · NS.06602v1 for this version
Declaration:OeisA5153.conjecture
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:4b8af6e878a861a7dd760f70ac674bd818423b1f79e8310b889f165a1f2188df
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/OEIS/5153.lean

Formal statement

theorem conjecture (n : ℕ) (hn : 3 ≤ n) (hodd : Odd n) :
    ∃ p q : ℕ, p.Prime ∧ A q ∧ n = p + q
Show the full Challenge.lean (109 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Practical numbers

A positive integer $n$ is called a *practical number* (or *panarithmic number*) if every positive
integer $m \le n$ can be represented as a sum of distinct divisors of $n$.

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

@[expose] public section

namespace OeisA5153

/-- A positive integer $n$ is practical if every $m \le n$ can be represented as a sum of
distinct divisors of $n$. -/
def A (n : ℕ) : Prop :=
  0 < n ∧ Nat.IsPractical n

/-- $1$ is a practical number. -/
@[category test, AMS 11]
theorem a_1 : A 1 := by
  refine ⟨by decide, fun m hm => ?_⟩
  interval_cases m
  · exact ⟨∅, by simp, by simp⟩
  · exact ⟨{1}, by simp, by simp⟩

/-- $2$ is a practical number. -/
@[category test, AMS 11]
theorem a_2 : A 2 := by
  refine ⟨by decide, fun m hm => ?_⟩
  interval_cases m
  · exact ⟨∅, by simp, by simp⟩
  · exact ⟨{1}, by simp, by simp⟩
  · exact ⟨{2}, by simp, by simp⟩

/-- $4$ is a practical number. -/
@[category test, AMS 11]
theorem a_4 : A 4 := by
  refine ⟨by decide, fun m hm => ?_⟩
  have hd : Nat.divisors 4 = {1, 2, 4} := by decide
  interval_cases m
  · exact ⟨∅, by simp, by simp⟩
  · exact ⟨{1}, by rw [hd, Finset.coe_subset]; decide, by simp⟩
  · exact ⟨{2}, by rw [hd, Finset.coe_subset]; decide, by simp⟩
  · exact ⟨{1, 2}, by rw [hd, Finset.coe_subset]; decide, by decide⟩
  · exact ⟨{4}, by rw [hd, Finset.coe_subset]; decide, by simp⟩

/-- $6$ is a practical number. -/
@[category test, AMS 11]
theorem a_6 : A 6 := by
  refine ⟨by decide, fun m hm => ?_⟩
  have hd : Nat.divisors 6 = {1, 2, 3, 6} := by decide
  interval_cases m
  · exact ⟨∅, by simp, by simp⟩
  · exact ⟨{1}, by rw [hd, Finset.coe_subset]; decide, by simp⟩
  · exact ⟨{2}, by rw [hd, Finset.coe_subset]; decide, by simp⟩
  · exact ⟨{3}, by rw [hd, Finset.coe_subset]; decide, by simp⟩
  · exact ⟨{1, 3}, by rw [hd, Finset.coe_subset]; decide, by decide⟩
  · exact ⟨{2, 3}, by rw [hd, Finset.coe_subset]; decide, by decide⟩
  · exact ⟨{6}, by rw [hd, Finset.coe_subset]; decide, by simp⟩

/-- $8$ is a practical number. -/
@[category test, AMS 11]
theorem a_8 : A 8 := by
  refine ⟨by decide, fun m hm => ?_⟩
  have hd : Nat.divisors 8 = {1, 2, 4, 8} := by decide
  interval_cases m
  · exact ⟨∅, by simp, by simp⟩
  · exact ⟨{1}, by rw [hd, Finset.coe_subset]; decide, by simp⟩
  · exact ⟨{2}, by rw [hd, Finset.coe_subset]; decide, by simp⟩
  · exact ⟨{1, 2}, by rw [hd, Finset.coe_subset]; decide, by decide⟩
  · exact ⟨{4}, by rw [hd, Finset.coe_subset]; decide, by simp⟩
  · exact ⟨{1, 4}, by rw [hd, Finset.coe_subset]; decide, by decide⟩
  · exact ⟨{2, 4}, by rw [hd, Finset.coe_subset]; decide, by decide⟩
  · exact ⟨{1, 2, 4}, by rw [hd, Finset.coe_subset]; decide, by decide⟩
  · exact ⟨{8}, by rw [hd, Finset.coe_subset]; decide, by simp⟩

/--
Conjecture: every odd number, beginning with 3, is the sum of a prime number and a practical
number.
- Hal M. Switkay, Jan 28 2023
-/
@[category research open, AMS 11]
theorem conjecture (n : ℕ) (hn : 3 ≤ n) (hodd : Odd n) :
    ∃ p q : ℕ, p.Prime ∧ A q ∧ n = p + q := by
  sorry

end OeisA5153

To prove it: keep every definition of Challenge.lean unchanged and prove OeisA5153.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-5153
nosorry submit oeis-5153 nosorry/oeis-5153/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.