{
  "id": "1510",
  "ident": "NS.01510",
  "slug": "erdos-269",
  "title": "Erdős Problem 269",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Let $P$ be a finite set of primes with $|P| \\ge 2$ and let\n$\\{a_1 < a_2 < \\dots\\}$ be the set of positive integers whose prime factors\nare all in $P$. Is the sum\n$$ \\sum_{n=1}^\\infty \\frac{1}{[a_1,\\ldots,a_n]} $$\nrational?",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": "https://www.erdosproblems.com/269",
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos269.erdos_269.variants.rational",
  "statement_lean": "theorem erdos_269.variants.rational :\n    ∀ᵉ (P : Finset ℕ) (h : ∀ p ∈ P, p.Prime) (h_card : P.card ≥ 2),\n    ∃ (q : ℚ), q = (series (P : Set ℕ))",
  "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 269\n\n*Reference:* [erdosproblems.com/269](https://www.erdosproblems.com/269)\n-/\n\n@[expose] public section\n\nnamespace Erdos269\n/--\nA positive integer $n$ has all its prime factors in the set $P$.\nBy convention, $1$ satisfies this for any $P$ as it has no prime divisors.\n-/\ndef HasPrimeFactorsIn (P : Set ℕ) (n : ℕ) : Prop :=\n  n > 0 ∧ ∀ p, p.Prime → p ∣ n → p ∈ P\n\n/--\nThe infinite, strictly increasing sequence $\\{a_0, a_1, \\dots\\}$ of integers\nwhose prime factors all belong to $P$.\n-/\nnoncomputable def a (P : Set ℕ) : ℕ → ℕ := Nat.nth <| HasPrimeFactorsIn P\n\n/--\nThe $n$-th partial least common multiple, $[a_0, \\dots, a_{n-1}]$, which is\nthe LCM of the first $n$ integers in the sequence.\n-/\nnoncomputable def partialLcm (P : Set ℕ) (n : ℕ) : ℕ :=\n  -- We take the LCM of `{a P 0, ..., a P n}`.\n  (Finset.range n).lcm (a P)\n\n/--\nThe sum $\\sum_{n=1}^\\infty \\frac{1}{[a_0,\\ldots,a_{n - 1}]}$.\n-/\nnoncomputable def series (P : Set ℕ) : ℝ :=  ∑' n, (1 : ℝ) / (partialLcm P n)\n\n/--\nLet $P$ be a finite set of primes with $|P| \\ge 2$ and let\n$\\{a_1 < a_2 < \\dots\\}$ be the set of positive integers whose prime factors\nare all in $P$. Is the sum\n$$ \\sum_{n=1}^\\infty \\frac{1}{[a_1,\\ldots,a_n]} $$\nrational?\n-/\n@[category research open, question, AMS 11]\ntheorem erdos_269.variants.rational :\n    ∀ᵉ (P : Finset ℕ) (h : ∀ p ∈ P, p.Prime) (h_card : P.card ≥ 2),\n    ∃ (q : ℚ), q = (series (P : Set ℕ)) := by\n  sorry\n\n/--\nLet $P$ be a finite set of primes with $|P| \\ge 2$ and let\n$\\{a_1 < a_2 < \\dots\\}$ be the set of positive integers whose prime factors\nare all in $P$. Is the sum\n$$ \\sum_{n=1}^\\infty \\frac{1}{[a_1,\\ldots,a_n]} $$\nirrational?\n-/\n@[category research open, question, AMS 11]\ntheorem erdos_269.variants.irrational :\n    ∀ᵉ (P : Finset ℕ) (h : ∀ p ∈ P, p.Prime) (h_card : P.card ≥ 2),\n    Irrational (series (P : Set ℕ)) := by\n  sorry\n\n/--\nThis theorem addresses the case where the set of primes $P$ is infinite. In this case the sum is\nirrational.\n-/\n@[category research solved, AMS 11]\ntheorem erdos_269.variants.infinite (P : Set ℕ) (h : ∀ p ∈ P, p.Prime) (h_inf : P.Infinite) :\n  Irrational (series P) := by\n  sorry\n\nend Erdos269\n",
  "statement_hash": "d59f7a7cd707f11ba4d54bd1b6e0addaad247abdd4059b0e02fb0a8612c0b2fd",
  "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."
}