{
  "id": "759",
  "ident": "NS.00759",
  "slug": "erdos-1134",
  "title": "Erdős Problem 1134",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Let $A\\subseteq \\mathbb{N}$ be the smallest set which contains $1$ and is closed under the\noperations\n$$x\\mapsto 2x+1,\\quad x\\mapsto 3x+1,\\quad x\\mapsto 6x+1.$$\nDoes $A$ have positive lower density?\n\nLagarias [La16] reports that Erdős asked this in 1972, offering £10 for a solution. (Although\nHilton told Lagarias that this problem may have been formulated by Klarner, and that Erdős liked\nit and offered a prize for its solution.)\n\nErdős had earlier proved (as reported in [KlRa74]) that if $A$ is the smallest set which contains\n$1$ and is closed under the operations $x\\mapsto m_ix+b_i$ for some (possibly infinite) collection\nof $m_i\\geq 1$ and $b_i\\geq 0$ then, if $\\sigma>0$ is such that $\\sum \\frac{1}{m_i^\\sigma}=1$\nthen, for all large $X$, $\\lvert A\\cap [1,X]\\rvert \\ll X^{\\sigma+o(1)}$. This result does not\nhelp with the given problem since $\\frac{1}{2}+\\frac{1}{3}+\\frac{1}{6}=1$.\n\nThis was answered in the negative soon afterwards by Crampin and Hilton (as reported in [Kl82]),\nwho proved that in fact, for all large $X$, $\\lvert A\\cap [1,X]\\rvert \\ll X^{\\tau+o(1)}$ where\n$\\tau\\approx 0.900626$ is the unique positive root of\n$$6^{-\\tau}+\\sum_{k\\geq 0}(3\\cdot 2^k)^{-\\tau}=1.$$\nTheir proof is given in [La16]. This problem is repeated by Guy [Gu83b] in an article called\n'Don't Try to Solve These Problems'. This is Problem E36 in Guy's collection [Gu04].",
  "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": "Erdos1134.erdos_1134",
  "statement_lean": "theorem erdos_1134 : ¬ 0 < A.lowerDensity",
  "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 1134\n\n*References:*\n- [erdosproblems.com/1134](https://www.erdosproblems.com/1134)\n- [La16] Lagarias, Jeffrey C., *Erdős, Klarner, and the $3x+1$ problem*. Amer. Math. Monthly\n  (2016), 753--776.\n- [KlRa74] Klarner, D. A. and Rado, R., *Arithmetic properties of certain recursively defined\n  sets*. Pacific J. Math. (1974), 445--463.\n- [Kl82] Klarner, David A., *A sufficient condition for certain semigroups to be free*. J. Algebra\n  (1982), 140--148.\n- [Gu83b] Guy, Richard K., *Unsolved Problems: Don't Try to Solve These Problems*. Amer. Math.\n  Monthly (1983), 35--38+39--41.\n- [Gu04] Guy, Richard K., *Unsolved problems in number theory*. (2004), xviii+437.\n-/\n\n@[expose] public section\n\nnamespace Erdos1134\n\n/-- The smallest set of natural numbers which contains `1` and is closed under the operations\n`x ↦ 2x + 1`, `x ↦ 3x + 1` and `x ↦ 6x + 1`. -/\ndef A : Set ℕ :=\n  ⋂₀ {S : Set ℕ | 1 ∈ S ∧ ∀ x ∈ S, 2 * x + 1 ∈ S ∧ 3 * x + 1 ∈ S ∧ 6 * x + 1 ∈ S}\n\nset_option linter.style.formal_proof_palomar false in\n/--\nLet $A\\subseteq \\mathbb{N}$ be the smallest set which contains $1$ and is closed under the\noperations\n$$x\\mapsto 2x+1,\\quad x\\mapsto 3x+1,\\quad x\\mapsto 6x+1.$$\nDoes $A$ have positive lower density?\n\nLagarias [La16] reports that Erdős asked this in 1972, offering £10 for a solution. (Although\nHilton told Lagarias that this problem may have been formulated by Klarner, and that Erdős liked\nit and offered a prize for its solution.)\n\nErdős had earlier proved (as reported in [KlRa74]) that if $A$ is the smallest set which contains\n$1$ and is closed under the operations $x\\mapsto m_ix+b_i$ for some (possibly infinite) collection\nof $m_i\\geq 1$ and $b_i\\geq 0$ then, if $\\sigma>0$ is such that $\\sum \\frac{1}{m_i^\\sigma}=1$\nthen, for all large $X$, $\\lvert A\\cap [1,X]\\rvert \\ll X^{\\sigma+o(1)}$. This result does not\nhelp with the given problem since $\\frac{1}{2}+\\frac{1}{3}+\\frac{1}{6}=1$.\n\nThis was answered in the negative soon afterwards by Crampin and Hilton (as reported in [Kl82]),\nwho proved that in fact, for all large $X$, $\\lvert A\\cap [1,X]\\rvert \\ll X^{\\tau+o(1)}$ where\n$\\tau\\approx 0.900626$ is the unique positive root of\n$$6^{-\\tau}+\\sum_{k\\geq 0}(3\\cdot 2^k)^{-\\tau}=1.$$\nTheir proof is given in [La16]. This problem is repeated by Guy [Gu83b] in an article called\n'Don't Try to Solve These Problems'. This is Problem E36 in Guy's collection [Gu04].\n-/\n@[category research solved, question, AMS 11, formal_proof using lean4 at\n  \"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos1134.lean#L79\"]\ntheorem erdos_1134 : ¬ 0 < A.lowerDensity := by\n  sorry\n\nset_option linter.style.formal_proof_palomar false in\n/-- The counting function of $A$ is sublinear: $\\lvert A\\cap [1,X]\\rvert \\ll X^{\\tau+o(1)}$ with\n$\\tau < 1$, so in particular $\\lvert A \\cap [1, X]\\rvert \\ll X^{19/20}$. -/\n@[category research solved, AMS 11, formal_proof using lean4 at\n  \"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos1134/Dirichlet.lean#L376\"]\ntheorem erdos_1134.variants.sublinear :\n    ∃ C : ℝ, 0 < C ∧ ∀ X : ℕ, ((A ∩ Set.Iic X).ncard : ℝ) ≤ C * (X : ℝ) ^ (19 / 20 : ℝ) := by\n  sorry\n\nset_option linter.style.formal_proof_palomar false in\n/--\nKlarner has several (open) variants of this problem - see Section 8.9 of [La16]. For example, it\nis unknown if the smallest set $A$ which contains $0$ and is closed under\n$$x\\mapsto 2x,\\quad x\\mapsto 3x+2,\\quad x\\mapsto 6x+3$$\nhas positive density.\n\nThe answer is negative: Kenta Kitamura (KitaKen1 on GitHub) has given a Lean proof\n([erdos-1134-lean](https://github.com/KitaKen1/erdos-1134-lean)) that $A$ has natural density $0$.\n-/\n@[category research solved, question, AMS 11, formal_proof using lean4 at\n  \"https://github.com/KitaKen1/erdos-1134-lean/blob/57042c7e43ae71cd7008e461cf3b9d81b8d8a20f/lean/Erdos1134KlarnerFC.lean#L2110-L2113\"]\ntheorem erdos_1134.variants.klarner :\n    ¬ 0 < (⋂₀ {S : Set ℕ | 0 ∈ S ∧\n      ∀ x ∈ S, 2 * x ∈ S ∧ 3 * x + 2 ∈ S ∧ 6 * x + 3 ∈ S}).lowerDensity := by\n  sorry\n\nend Erdos1134\n",
  "statement_hash": "cb4bf885cf5adce013ed520985ed6ca3c23c5309abd4de5c91a95a52411657fa",
  "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."
}