{
  "id": "1486",
  "ident": "NS.01486",
  "slug": "erdos-261",
  "title": "Erdős Problem 261",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Are there infinitely many positive integers $n$ such that there exist some $t \\ge 2$ and\ndistinct integers $a_1, \\ldots, a_t \\ge 1$ satisfying\n$$\\frac{n}{2^n} = \\sum_{1 \\le k \\le t} \\frac{a_k}{2^{a_k}}?$$\n\nIn [Er88c], Erdős notes that Cusick had a simple proof that infinitely many such $n$ exist.",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [
    "question",
    "formal_proof"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos261.erdos_261.parts.i",
  "statement_lean": "theorem erdos_261.parts.i : {n : ℕ | 0 < n ∧ Erdos261Prop n}.Infinite",
  "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# Erdős Problem 261\n\n*References:*\n - [erdosproblems.com/261](https://www.erdosproblems.com/261)\n - [BoLo90] Borwein, Peter and Loring, Terry A., Some questions of Erdős and Graham on numbers\n    of the form $\\sum g_n/2^{g_n}$. Math. Comp. (1990), 377--394.\n - [Er88c] Erdős, P., On the irrationality of certain series: problems and results. New advances\n    in transcendence theory (Durham, 1986) (1988), 102--109.\n - [TUZ20] Tengely, Szabolcs and Ulas, Maciej and Zygadlo, Jakub, On a Diophantine equation of\n    Erdős and Graham. J. Number Theory (2020), 445--459.\n - [PALOMAR-2026-10-11-000016](https://palomar-registry.org/entry.html?id=PALOMAR-2026-10-11-000016&version=1)\n-/\n\n@[expose] public section\n\nopen scoped Cardinal\n\nnamespace Erdos261\n\n/-- A natural number $n$ is said to have property `Erdos261Prop` if there exist $t \\ge 2$\npairwise distinct positive integers $a_1, \\ldots, a_t$ such that\n$n / 2^n = \\sum_{1 \\le k \\le t} a_k / 2^{a_k}$. -/\ndef Erdos261Prop (n : ℕ) : Prop := ∃ᵉ (t ≥ 2) (a : Fin t → ℕ), a.Injective ∧\n  (1 ≤ a) ∧ n / (2 ^ n : ℚ) = ∑ k, (a k) / (2 ^ (a k) : ℚ)\n\n/-- A canonical infinite representation of a rational number $x$ by positive integers. The\ndenominators are strictly increasing so that reorderings are not counted as different\nrepresentations. -/\ndef Erdos261InfiniteRepresentation (x : ℚ) (a : ℕ → ℕ) : Prop :=\n  StrictMono a ∧ (1 ≤ a) ∧ Summable (fun k => (a k) / (2 ^ (a k) : ℚ)) ∧\n    x = ∑' k, (a k) / (2 ^ (a k) : ℚ)\n\n/-- For every positive integer $m$, if $n = 2^{m+1} - m - 2$, then\n$$\\frac{n}{2^n} = \\sum_{n < k \\le n + m} \\frac{k}{2^k}.$$\n\nThis construction is due to Borwein and Loring [BoLo90]. -/\n@[category textbook, AMS 11, formal_proof using lean4 at \"https://github.com/linrock/math-proofs/blob/b53791ff6294b4b90e3653970367f127a52fd16e/erdos-261/Solution.lean#L73\"]\ntheorem erdos_261.variants.borwein_loring (m : ℕ) (hm : 0 < m) :\n    let n := 2 ^ (m + 1) - m - 2\n    n / (2 ^ n : ℚ) = ∑ k ∈ Finset.Ioc n (n + m), k / (2 ^ k : ℚ) := by\n  sorry\n\n/-- The Borwein--Loring construction gives the required property when $m \\ge 2$. This lower\nbound ensures that the representation contains at least two terms. -/\n@[category textbook, AMS 11, formal_proof using lean4 at \"https://github.com/linrock/math-proofs/blob/b53791ff6294b4b90e3653970367f127a52fd16e/erdos-261/Solution.lean#L78\"]\ntheorem erdos_261.variants.borwein_loring_property (m : ℕ) (hm : 2 ≤ m) :\n    Erdos261Prop (2 ^ (m + 1) - m - 2) := by\n  sorry\n\nset_option linter.style.formal_proof_palomar false in\n/-- Are there infinitely many positive integers $n$ such that there exist some $t \\ge 2$ and\ndistinct integers $a_1, \\ldots, a_t \\ge 1$ satisfying\n$$\\frac{n}{2^n} = \\sum_{1 \\le k \\le t} \\frac{a_k}{2^{a_k}}?$$\n\nIn [Er88c], Erdős notes that Cusick had a simple proof that infinitely many such $n$ exist. -/\n@[category research solved, question, AMS 11, formal_proof using lean4 at \"https://github.com/anatoliiohorodnyk/lean-fc-proofs/blob/5da9642575b26c2c816a49bcb56b33fed5456619/Proofs/T_Erdos261_erdos_261_parts_i.lean#L102\"]\ntheorem erdos_261.parts.i : {n : ℕ | 0 < n ∧ Erdos261Prop n}.Infinite := by\n  sorry\n\nset_option linter.style.formal_proof_palomar false in\n/-- Tengely, Ulas, and Zygadlo [TUZ20] verified that every positive integer $n \\le 10000$ has\nthe required property. -/\n@[category research solved, AMS 11, formal_proof using lean4 at \"https://github.com/linrock/math-proofs/blob/b53791ff6294b4b90e3653970367f127a52fd16e/erdos-261/Solution.lean#L85\"]\ntheorem erdos_261.variants.le_10000 {n : ℕ} (hn_pos : 0 < n) (hn : n ≤ 10000) :\n    Erdos261Prop n := by\n  sorry\n\n/-- Do all positive integers $n$ have the required property? -/\n@[category research open, question, AMS 11]\ntheorem erdos_261.parts.ii : ∀ n > 0, Erdos261Prop n := by\n  sorry\n\n/-- Is there a rational number $x$ such that\n$$x = \\sum_{k=1}^{\\infty} \\frac{a_k}{2^{a_k}}$$\nhas at least $2^{\\aleph_0}$ representations by pairwise distinct positive integers $a_k$? -/\n@[category research open, question, AMS 11]\ntheorem erdos_261.parts.iii : ∃ x : ℚ,\n    𝔠 ≤ #{a : ℕ → ℕ | Erdos261InfiniteRepresentation x a} := by\n  sorry\n\nset_option linter.style.formal_proof_palomar false in\n/-- In [Er88c], Erdős asks the weaker question of whether there exists a rational $x$ with at\nleast two representations\n$$x = \\sum_{k=1}^{\\infty} \\frac{a_k}{2^{a_k}}$$\nby pairwise distinct positive integers $a_k$.\n\nThe answer is yes: Z. Rafik (erdosproblems.com forum, 27 Apr 2026) observed that\n$4/2^4 = 5/2^5 + 6/2^6$ and $\\sum_{m \\ge 1} m/2^m = 2$, so $7/4$ is represented both by\n$\\mathbb{N}_{>0} \\setminus \\{4\\}$ and by $\\mathbb{N}_{>0} \\setminus \\{5, 6\\}$. It is generally believed that\n\"two\" here is a misprint for $2^{\\aleph_0}$ (see `erdos_261.parts.iii`, which remains open). -/\n@[category research solved, question, AMS 11, formal_proof using lean4 at\n  \"https://github.com/g8r-b8/erdos261-lean/blob/976bddf21eafc93ea86a7a1bfd92b847070a6f31/Erdos261.lean#L87\"]\ntheorem erdos_261.variants.two_representations : ∃ x : ℚ,\n    2 ≤ #{a : ℕ → ℕ | Erdos261InfiniteRepresentation x a} := by\n  sorry\n\nend Erdos261\n",
  "statement_hash": "a22b5012c270bb354d2db73cd8f019c321bd4bfeb633fc44635c69fb53c23acb",
  "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."
}