{
  "id": "6602",
  "ident": "NS.06602",
  "slug": "oeis-5153",
  "title": "Practical numbers",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Conjecture: every odd number, beginning with 3, is the sum of a prime number and a practical\nnumber.\n- Hal M. Switkay, Jan 28 2023",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [],
  "collection": "oeis",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "OeisA5153.conjecture",
  "statement_lean": "theorem conjecture (n : ℕ) (hn : 3 ≤ n) (hodd : Odd n) :\n    ∃ p q : ℕ, p.Prime ∧ A q ∧ n = p + q",
  "challenge_source": "/-\nCopyright 2026 The Formal Conjectures Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Practical numbers\n\nA positive integer $n$ is called a *practical number* (or *panarithmic number*) if every positive\ninteger $m \\le n$ can be represented as a sum of distinct divisors of $n$.\n\n*References:*\n- [A005153](https://oeis.org/A005153)\n-/\n\n@[expose] public section\n\nnamespace OeisA5153\n\n/-- A positive integer $n$ is practical if every $m \\le n$ can be represented as a sum of\ndistinct divisors of $n$. -/\ndef A (n : ℕ) : Prop :=\n  0 < n ∧ Nat.IsPractical n\n\n/-- $1$ is a practical number. -/\n@[category test, AMS 11]\ntheorem a_1 : A 1 := by\n  refine ⟨by decide, fun m hm => ?_⟩\n  interval_cases m\n  · exact ⟨∅, by simp, by simp⟩\n  · exact ⟨{1}, by simp, by simp⟩\n\n/-- $2$ is a practical number. -/\n@[category test, AMS 11]\ntheorem a_2 : A 2 := by\n  refine ⟨by decide, fun m hm => ?_⟩\n  interval_cases m\n  · exact ⟨∅, by simp, by simp⟩\n  · exact ⟨{1}, by simp, by simp⟩\n  · exact ⟨{2}, by simp, by simp⟩\n\n/-- $4$ is a practical number. -/\n@[category test, AMS 11]\ntheorem a_4 : A 4 := by\n  refine ⟨by decide, fun m hm => ?_⟩\n  have hd : Nat.divisors 4 = {1, 2, 4} := by decide\n  interval_cases m\n  · exact ⟨∅, by simp, by simp⟩\n  · exact ⟨{1}, by rw [hd, Finset.coe_subset]; decide, by simp⟩\n  · exact ⟨{2}, by rw [hd, Finset.coe_subset]; decide, by simp⟩\n  · exact ⟨{1, 2}, by rw [hd, Finset.coe_subset]; decide, by decide⟩\n  · exact ⟨{4}, by rw [hd, Finset.coe_subset]; decide, by simp⟩\n\n/-- $6$ is a practical number. -/\n@[category test, AMS 11]\ntheorem a_6 : A 6 := by\n  refine ⟨by decide, fun m hm => ?_⟩\n  have hd : Nat.divisors 6 = {1, 2, 3, 6} := by decide\n  interval_cases m\n  · exact ⟨∅, by simp, by simp⟩\n  · exact ⟨{1}, by rw [hd, Finset.coe_subset]; decide, by simp⟩\n  · exact ⟨{2}, by rw [hd, Finset.coe_subset]; decide, by simp⟩\n  · exact ⟨{3}, by rw [hd, Finset.coe_subset]; decide, by simp⟩\n  · exact ⟨{1, 3}, by rw [hd, Finset.coe_subset]; decide, by decide⟩\n  · exact ⟨{2, 3}, by rw [hd, Finset.coe_subset]; decide, by decide⟩\n  · exact ⟨{6}, by rw [hd, Finset.coe_subset]; decide, by simp⟩\n\n/-- $8$ is a practical number. -/\n@[category test, AMS 11]\ntheorem a_8 : A 8 := by\n  refine ⟨by decide, fun m hm => ?_⟩\n  have hd : Nat.divisors 8 = {1, 2, 4, 8} := by decide\n  interval_cases m\n  · exact ⟨∅, by simp, by simp⟩\n  · exact ⟨{1}, by rw [hd, Finset.coe_subset]; decide, by simp⟩\n  · exact ⟨{2}, by rw [hd, Finset.coe_subset]; decide, by simp⟩\n  · exact ⟨{1, 2}, by rw [hd, Finset.coe_subset]; decide, by decide⟩\n  · exact ⟨{4}, by rw [hd, Finset.coe_subset]; decide, by simp⟩\n  · exact ⟨{1, 4}, by rw [hd, Finset.coe_subset]; decide, by decide⟩\n  · exact ⟨{2, 4}, by rw [hd, Finset.coe_subset]; decide, by decide⟩\n  · exact ⟨{1, 2, 4}, by rw [hd, Finset.coe_subset]; decide, by decide⟩\n  · exact ⟨{8}, by rw [hd, Finset.coe_subset]; decide, by simp⟩\n\n/--\nConjecture: every odd number, beginning with 3, is the sum of a prime number and a practical\nnumber.\n- Hal M. Switkay, Jan 28 2023\n-/\n@[category research open, AMS 11]\ntheorem conjecture (n : ℕ) (hn : 3 ≤ n) (hodd : Odd n) :\n    ∃ p q : ℕ, p.Prime ∧ A q ∧ n = p + q := by\n  sorry\n\nend OeisA5153\n",
  "statement_hash": "4b8af6e878a861a7dd760f70ac674bd818423b1f79e8310b889f165a1f2188df",
  "toolchain": "leanprover/lean4:v4.33.1",
  "upstream_commit": "f9b3868d5ca994a7bf95039bcec05338c0c21e2f",
  "workspace": "formal-conjectures",
  "field": "math",
  "formalization": "formal",
  "verification": "lean-kernel",
  "license": "Apache-2.0",
  "attribution": "google-deepmind/formal-conjectures contributors",
  "metric_name": null,
  "metric_direction": null,
  "critiques": [],
  "public_partial_proofs": [],
  "research_threads": [],
  "instructions": "Read research_threads first: other people's public repositories and what they already tried. Write Solution.lean starting from challenge_source. Keep every definition identical, prove decl_name with exactly the same type, no sorry in its dependency closure, no new axioms, no native_decide, no metaprogramming. Submit with POST /api/v1/submissions."
}