{
  "id": "8371",
  "ident": "NS.08371",
  "slug": "wikipedia-refactorablenumber",
  "title": "Refactorable Numbers",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "**Kennedy–Cooper Theorem (1990):** Refactorable integers have natural density $0$.",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [],
  "collection": "wikipedia",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "RefactorableNumber.refactorable_hasDensity_zero",
  "statement_lean": "theorem refactorable_hasDensity_zero :\n    {n : ℕ | n.IsRefactorable}.HasDensity 0",
  "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# Refactorable Numbers\n\nAn integer $n \\ge 1$ is called *refactorable* (or a *$\\tau$-number*, OEIS A033950) when its divisor\ncount $d(n) = |\\operatorname{divisors}(n)|$ divides $n$. Kennedy and Cooper (1990) introduced\n$\\tau$-numbers and proved their natural density vanishes; Simon Colton (1999) independently studied\nthem as refactorable numbers (see `FormalConjectures.OEIS.«111291»` for Colton's counting bound).\nJoshua Zelinsky (2002) proved that three consecutive integers cannot all be refactorable. Both\nColton's conjecture on infinitely many refactorable pairs $(n, n + 1)$ and Zelinsky's conjecture on\nrefactorable integers in arithmetic progressions remain open.\n\n*References:*\n- [Wikipedia: Refactorable number](https://en.wikipedia.org/wiki/Refactorable_number)\n- [OEIS A033950](https://oeis.org/A033950)\n- R. E. Kennedy and C. N. Cooper (1990), *Int. J. Math. Math. Sci.* **13**(2), 383–386.\n- S. Colton (1999), *J. Integer Seq.* **2**, Art. 99.1.2.\n- J. Zelinsky (2002), *J. Integer Seq.* **5**, Art. 02.2.8.\n-/\n\n@[expose] public section\n\nnamespace RefactorableNumber\n\n/-- Both $8$ ($d(8) = 4 \\mid 8$) and $9$ ($d(9) = 3 \\mid 9$) are refactorable. -/\n@[category test, AMS 11]\ntheorem isRefactorable_eight_and_nine : Nat.IsRefactorable 8 ∧ Nat.IsRefactorable 9 := by\n  decide\n\n/-- Neither $0$ nor $10$ ($d(10) = 4 \\nmid 10$) is refactorable. -/\n@[category test, AMS 11]\ntheorem not_isRefactorable_zero_and_ten : ¬ Nat.IsRefactorable 0 ∧ ¬ Nat.IsRefactorable 10 := by\n  decide\n\n/-- **Kennedy–Cooper Theorem (1990):** Refactorable integers have natural density $0$. -/\n@[category research solved, AMS 11]\ntheorem refactorable_hasDensity_zero :\n    {n : ℕ | n.IsRefactorable}.HasDensity 0 := by\n  sorry\n\n/-- **Zelinsky's Theorem (2002):** Three consecutive integers cannot all be refactorable. -/\n@[category research solved, AMS 11]\ntheorem no_three_consecutive_refactorable (n : ℕ) :\n    ¬ (n.IsRefactorable ∧ (n + 1).IsRefactorable ∧ (n + 2).IsRefactorable) := by\n  sorry\n\n/-- **Colton's Conjecture (1999, Conjecture 2):** Infinitely many positive integers $n$ satisfy\nboth $n$ and $n + 1$ refactorable. -/\n@[category research open, AMS 11]\ntheorem infinitely_many_consecutive_refactorable_pairs :\n    {n : ℕ | n.IsRefactorable ∧ (n + 1).IsRefactorable}.Infinite := by\n  sorry\n\n/-- **Zelinsky's Conjecture (2002, Conjecture 32):** Every arithmetic progression of positive\nintegers containing a refactorable number contains infinitely many; equivalently, for every modulus\n$m \\ge 1$ and refactorable $n_0$, some refactorable $n > n_0$ satisfies $n \\equiv n_0 \\pmod m$. -/\n@[category research open, AMS 11]\ntheorem zelinsky_refactorable_progression_conjecture :\n    ∀ m n₀ : ℕ, 1 ≤ m → n₀.IsRefactorable →\n      ∃ n : ℕ, n₀ < n ∧ n.IsRefactorable ∧ n ≡ n₀ [MOD m] := by\n  sorry\n\nend RefactorableNumber\n",
  "statement_hash": "24fa894e82a992ef86f8fe3f4d7b33d7d149bac4c1724725028597c0e315bd89",
  "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."
}