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 · a_6

Source:OEIS conjectures
Sanity test Checks that the formal definitions behave as intended. First verified proof: +1 points.
Statement:reviewed
Statement:

66 is a practical number.

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

nosorry desk oeis-5153--a-6      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch oeis-5153--a-6
nosorry submit oeis-5153--a-6 nosorry/oeis-5153--a-6/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.