{
  "id": "1465",
  "ident": "NS.01465",
  "slug": "erdos-257",
  "title": "Erdős Problem 257",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Let $A\\subseteq\\mathbb{N}$ be an infinite set. Is\n$$\n\\sum_{n\\in A} \\frac{1}{2^n - 1}\n$$\nirrational?",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": "https://www.erdosproblems.com/257",
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos257.erdos_257",
  "statement_lean": "theorem erdos_257 : ∀ (A : Set ℕ), A.Infinite →\n    Irrational (∑' n : A, (1 : ℝ) / (2 ^ n.1 - 1))",
  "challenge_source": "/-\nCopyright 2025 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 257\n\n*Reference:* [erdosproblems.com/257](https://www.erdosproblems.com/257)\n-/\n\n@[expose] public section\n\nnamespace Erdos257\n\n/--\nLet $A\\subseteq\\mathbb{N}$ be an infinite set. Is\n$$\n\\sum_{n\\in A} \\frac{1}{2^n - 1}\n$$\nirrational?\n-/\n@[category research open, question, AMS 11]\ntheorem erdos_257 : ∀ (A : Set ℕ), A.Infinite →\n    Irrational (∑' n : A, (1 : ℝ) / (2 ^ n.1 - 1)) := by\n  sorry\n\n/--\nShow that\n$$\n\\sum_{n} \\frac{1}{2^n - 1} = \\sum_{n} \\frac{d(n)}{2^n},\n$$\nwhere $d(n)$ is the number of divisors of $n$.\n-/\n@[category textbook, AMS 11]\ntheorem erdos_257.variants.tsum_top_eq :\n    ∑' n, 1 / (2 ^ n - 1 : ℝ) = ∑' n, n.divisors.card / (2 ^ n : ℝ) := by\n  have hr : ‖(1 / 2 : ℝ)‖ < 1 := by norm_num\n  -- The key Lambert-series identity from Mathlib (`k = 0`):\n  -- `∑' n:ℕ+, (1/2)^n / (1 - (1/2)^n) = ∑' n:ℕ+, σ 0 n * (1/2)^n`, with summands rewritten.\n  have key := tsum_pow_div_one_sub_eq_tsum_sigma (𝕜 := ℝ) hr 0\n  have hpos : ∀ n : ℕ, 0 < n → (2 : ℝ) ≤ 2 ^ n := fun n hn ↦ by\n    simpa using pow_le_pow_right₀ (by norm_num : (1 : ℝ) ≤ 2) hn\n  simp only [pow_zero, one_mul, ArithmeticFunction.sigma_zero_apply,\n    show ∀ n : ℕ+, ((1 : ℝ) / 2) ^ (n : ℕ) / (1 - (1 / 2) ^ (n : ℕ))\n        = 1 / (2 ^ (n : ℕ) - 1) from fun n ↦ by\n      have h := hpos n n.2\n      have hp : (0 : ℝ) < 2 ^ (n : ℕ) := by positivity\n      have h1 : (1 : ℝ) / 2 ^ (n : ℕ) < 1 := (div_lt_one hp).2 (by linarith)\n      rw [div_pow, one_pow, div_eq_div_iff (by linarith) (by linarith)]; field_simp,\n    show ∀ n : ℕ+, ((n : ℕ).divisors.card : ℝ) * (1 / 2) ^ (n : ℕ)\n        = (n : ℕ).divisors.card / 2 ^ (n : ℕ) from fun n ↦ by\n      rw [div_pow, one_pow]; ring] at key\n  -- Domination by geometric series gives `ℕ`-summability of both sides.\n  have hsummL : Summable fun n : ℕ ↦ 1 / (2 ^ n - 1 : ℝ) :=\n    .of_nonneg_of_le\n      (fun n ↦ by have := one_le_pow₀ (one_le_two (α := ℝ)) (n := n); apply div_nonneg <;> linarith)\n      (fun n ↦ by\n        rcases Nat.eq_zero_or_pos n with h | h\n        · simp [h]\n        · have h2 := hpos n h\n          rw [show (2 : ℝ) * (1 / 2) ^ n = 2 / 2 ^ n by rw [div_pow, one_pow]; ring,\n            div_le_div_iff₀ (by linarith) (by positivity)]; nlinarith)\n      ((summable_geometric_of_norm_lt_one hr).mul_left 2)\n  have hsummR : Summable fun n : ℕ ↦ (n.divisors.card : ℝ) / (2 ^ n : ℝ) :=\n    .of_nonneg_of_le (fun n ↦ by positivity)\n      (fun n ↦ by\n        rw [pow_one, show ((1 : ℝ) / 2) ^ n = 1 / 2 ^ n by rw [div_pow, one_pow], mul_one_div]\n        gcongr; exact_mod_cast Nat.card_divisors_le_self n)\n      (summable_pow_mul_geometric_of_norm_lt_one 1 hr)\n  -- Bridge `ℕ+` to `ℕ`: the `n = 0` term is `0` on both sides.\n  rw [← (tsum_zero_pnat_eq_tsum_nat hsummL), ← (tsum_zero_pnat_eq_tsum_nat hsummR)]\n  simpa using key\n\nset_option linter.style.formal_proof_palomar false in\n/--\nShow that\n$$\n\\sum_{n} \\frac{d(n)}{2^n}\n$$\nis irrational.\n\n[Er48] Erdős, P., _On arithmetical properties of Lambert series_. J. Indian Math. Soc. (N.S.) (1948), 63-66.\n-/\n@[category research solved, AMS 11, formal_proof using lean4 at\n  \"https://github.com/wcook04/plectis-erdos-lean/blob/c4eab2571b4692ee9c08d3ec138176f7fbfa09a9/verification/FCMergedIntegerAdapters/research/adapters/FormalConjecturesAdapter.lean#L121-L134\"]\ntheorem erdos_257.variants.tsum_top :\n    Irrational <| ∑' n, n.divisors.card / (2 ^ n : ℝ) := by\n  sorry\n\nset_option linter.style.formal_proof_palomar false in\n/--\nLet $A \\subseteq \\mathbb{N}$ be infinite with $\\sum_{a \\in A} 1/a < \\infty$.\nFor every integer base $b \\ge 2$, the series\n$$\n\\sum_{a \\in A} \\frac{1}{b^a - 1}\n$$\nis irrational. No pairwise coprimality assumption is needed. Exponent zero\ncontributes zero under Lean's real-division convention.\n\nErdős stated the coprimality-free result in *On the irrationality of certain\nseries*, Math. Student 36 (1968), p. 222. A proof and formalisation appear in\nW. Cook,\n*Reciprocal Mersenne Subseries*:\nhttps://github.com/wcook04/plectis-erdos/blob/598cd7bac8b73dcfef3687f46922c1ef6da766ae/docs/papers/full-text/erdos257-mersenne-reasoning-surface.md\n-/\n@[category research solved, AMS 11, formal_proof using lean4 at\n  \"https://github.com/wcook04/plectis-erdos-lean/blob/ec92e5ce12c6117a24e4b532ea565ba332a1df7b/verification/FC257ReciprocalSupport/verification/Solutions/FC257Subtype.lean#L10-L17\"]\ntheorem erdos_257.variants.summable_reciprocal_support\n    (b : ℕ) (A : Set ℕ) (hb : 2 ≤ b) (hA : A.Infinite)\n    (hsum : Summable fun a : A => 1 / (a : ℝ)) :\n    Irrational (∑' n : A, 1 / ((b : ℝ) ^ (n : ℕ) - 1)) := by\n  sorry\n\nend Erdos257\n",
  "statement_hash": "0a731155a22e510897bcb665e60eb286aee924d5f4de0d41c130cf79a906b0b6",
  "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."
}