{
  "id": "1173",
  "ident": "NS.01173",
  "slug": "erdos-164",
  "title": "Erdős Problem 164",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "A set $A\\subset \\mathbb{N}$ is primitive if no member of $A$ divides another. Is the sum\n$$\\sum_{n\\in A}\\frac{1}{n\\log n}$$\nmaximised over all primitive sets when $A$ is the set of primes?\n\nErdős [Er35] proved that this sum always converges for a primitive set. Lichtman [Li23] proved\nthat the answer is yes. An alternative, simpler, proof is given by Alexeev, Barreto, Li, Lichtman,\nPrice, Shah, Tang, and Tao [ABLLPSTT26].",
  "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": "Erdos164.erdos_164",
  "statement_lean": "theorem erdos_164 :\n    ∀ A : Set ℕ, (∀ a ∈ A, 2 ≤ a) → Erdos1196.IsPrimitive A →\n      (∑' a : A, 1 / ((a : ℕ) * Real.log (a : ℕ))) ≤\n        ∑' p : {p : ℕ | p.Prime}, 1 / ((p : ℕ) * Real.log (p : ℕ))",
  "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 FormalConjectures.ErdosProblems.«1196»\npublic import FormalConjecturesUtil\n\n/-!\n# Erdős Problem 164\n\n*References:*\n- [erdosproblems.com/164](https://www.erdosproblems.com/164)\n- [Er76g] Erdős, P., *Problems and results on combinatorial number theory. II*. J. Indian Math. Soc.\n  (N.S.) (1976), 285-298.\n- [Er86] Erdős, P., *Problémes et résultats en théorie des nombres*. (1986).\n- [Va99] Various, *Some of Paul's favorite problems*. Booklet produced for the conference \"Paul\n  Erdős and his mathematics\", Budapest, July 1999 (1999).\n- [ABLLPSTT26] B. Alexeev, K. Barreto, Y. Li, J. D. Lichtman, L. Price, J. I. Shah, Q. Tang, and\n  T. Tao, *Primitive sets and Von Mangoldt Chains: Erdős problem #1196 and beyond*.\n  arXiv:2605.00301 (2026).\n- [Er35] Erdős, Paul, *Note on Sequences of Integers No One of Which is Divisible By Any Other*.\n  J. London Math. Soc. (1935), 126-128.\n- [Li23] Lichtman, J. D., *A proof of the Erdős primitive set conjecture*. arXiv:2202.02384 (2023).\n-/\n\n@[expose] public section\n\nnamespace Erdos164\n\nset_option linter.style.formal_proof_palomar false in\n/--\nA set $A\\subset \\mathbb{N}$ is primitive if no member of $A$ divides another. Is the sum\n$$\\sum_{n\\in A}\\frac{1}{n\\log n}$$\nmaximised over all primitive sets when $A$ is the set of primes?\n\nErdős [Er35] proved that this sum always converges for a primitive set. Lichtman [Li23] proved\nthat the answer is yes. An alternative, simpler, proof is given by Alexeev, Barreto, Li, Lichtman,\nPrice, Shah, Tang, and Tao [ABLLPSTT26].\n-/\n@[category research solved, question, AMS 11, formal_proof using lean4 at \"https://github.com/plby/lean-proofs/blob/1d7b3f00780b85ed0462e79a1cd5650ee9055655/src/v4.29.1/ErdosProblems/Erdos164.lean\"]\ntheorem erdos_164 :\n    ∀ A : Set ℕ, (∀ a ∈ A, 2 ≤ a) → Erdos1196.IsPrimitive A →\n      (∑' a : A, 1 / ((a : ℕ) * Real.log (a : ℕ))) ≤\n        ∑' p : {p : ℕ | p.Prime}, 1 / ((p : ℕ) * Real.log (p : ℕ)) := by\n  sorry\n\nend Erdos164\n",
  "statement_hash": "d32d8aafe1c67e4b0f2433a0e60c0aea084ad1f380ae7cd95ec1eac71cc6554a",
  "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."
}