{
  "id": "4990",
  "ident": "NS.04990",
  "slug": "oeis-1599",
  "title": "Ore's harmonic numbers",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "\"Ore conjectured that 1 is the only odd harmonic number.\"\n\n*Reference:* [A001599](https://oeis.org/A001599)",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [],
  "collection": "oeis",
  "source_url": "https://oeis.org/A001599",
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "OeisA1599.eq_one_of_odd_of_a",
  "statement_lean": "theorem eq_one_of_odd_of_a {n : ℕ} (hn : A n) (hodd : Odd n) : n = 1",
  "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-/\n\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Ore's harmonic numbers\n\nA001599 lists the positive integers whose positive divisors have an integral harmonic mean.\nEquivalently, $n$ belongs to the sequence when\n$\\sigma_1(n) \\mid n\\sigma_0(n)$, where $\\sigma_1(n)$ is the sum of the divisors of $n$ and\n$\\sigma_0(n)$ is their number.\n\n*References:*\n- [A001599](https://oeis.org/A001599)\n-/\n\n@[expose] public section\n\nnamespace OeisA1599\n\nopen scoped ArithmeticFunction.sigma\n\n/-- A positive integer $n$ belongs to A001599 when\n$\\sigma_1(n) \\mid n\\sigma_0(n)$. -/\ndef A (n : ℕ) : Prop :=\n  0 < n ∧ σ 1 n ∣ n * σ 0 n\n\n@[category test, AMS 11]\ntheorem not_a_0 : ¬ A 0 := by\n  simp [A]\n\n@[category test, AMS 11]\ntheorem not_a_2 : ¬ A 2 := by\n  unfold A\n  decide\n\n@[category test, AMS 11]\ntheorem not_a_3 : ¬ A 3 := by\n  unfold A\n  decide\n\n@[category test, AMS 11]\ntheorem a_1 : A 1 := by\n  refine ⟨by norm_num, ?_⟩\n  decide\n\n@[category test, AMS 11]\ntheorem a_6 : A 6 := by\n  refine ⟨by norm_num, ?_⟩\n  decide\n\n@[category test, AMS 11]\ntheorem a_28 : A 28 := by\n  refine ⟨by norm_num, ?_⟩\n  decide\n\n@[category test, AMS 11]\ntheorem a_140 : A 140 := by\n  refine ⟨by norm_num, ?_⟩\n  decide\n\n@[category test, AMS 11]\ntheorem a_270 : A 270 := by\n  refine ⟨by norm_num, ?_⟩\n  decide\n\n/--\n\"Ore conjectured that 1 is the only odd harmonic number.\"\n\n*Reference:* [A001599](https://oeis.org/A001599)\n-/\n@[category research open, AMS 11]\ntheorem eq_one_of_odd_of_a {n : ℕ} (hn : A n) (hodd : Odd n) : n = 1 := by\n  sorry\n\nend OeisA1599\n",
  "statement_hash": "f22a7042ff49b4d8cab324690f5421e21f69d42263b0e908047ffac40ef367c6",
  "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."
}