{
  "id": "4129",
  "ident": "NS.04129",
  "slug": "green-45",
  "title": "Ben Green's Open Problem 45",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Can we pick residue classes $a_p \\pmod{p}$, one for each prime $p \\leq N$, such that every\ninteger $\\leq N$ lies in at least $10$ of them?\n\nErdős remarks that he does not know how to answer it with $10$ replaced by $2$;\nthis is `Erdos689.erdos_689`.",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [
    "question"
  ],
  "collection": "green",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Green45.green_45",
  "statement_lean": "theorem green_45 :\n    ∀ᶠ N in .atTop, ∃ a : ℕ → ℕ, ∀ m ∈ Finset.Icc 1 N,\n      10 ≤ (Finset.Icc 1 N |>.filter fun p => p.Prime ∧ a p ≡ m [MOD p]).card",
  "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\npublic import FormalConjectures.ErdosProblems.«689»\n\n/-!\n# Ben Green's Open Problem 45\n\nCan we pick residue classes $a_p \\pmod{p}$, one for each prime $p \\leq N$,\nsuch that every integer $\\leq N$ lies in at least 10 of them?\n\n*References:*\n- [Ben Green's Open Problem 45](https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf#problem.45)\n- [erdosproblems.com/689](https://www.erdosproblems.com/689)\n\nThe version of this problem with $10$ replaced by $2$ is `Erdos689.erdos_689` in\n`FormalConjectures.ErdosProblems.«689»`.\n-/\n\n@[expose] public section\n\nnamespace Green45\n\n/--\nCan we pick residue classes $a_p \\pmod{p}$, one for each prime $p \\leq N$, such that every\ninteger $\\leq N$ lies in at least $10$ of them?\n\nErdős remarks that he does not know how to answer it with $10$ replaced by $2$;\nthis is `Erdos689.erdos_689`.\n-/\n@[category research open, question, AMS 11]\ntheorem green_45 :\n    ∀ᶠ N in .atTop, ∃ a : ℕ → ℕ, ∀ m ∈ Finset.Icc 1 N,\n      10 ≤ (Finset.Icc 1 N |>.filter fun p => p.Prime ∧ a p ≡ m [MOD p]).card := by\n  sorry\n\nend Green45\n",
  "statement_hash": "ec225e1f69a028bd0f49e2241e5715b56c90f296ac7f13f1426b41f52d0e5938",
  "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."
}