{
  "id": "4165",
  "ident": "NS.04165",
  "slug": "green-64",
  "title": "Green's Open Problem 64",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Do there exist infinitely many primes $p$ for which $p - 2$ has an odd number of prime factors,\ncounted with multiplicity (i.e. $\\Omega(p - 2)$ is odd)?",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [
    "question"
  ],
  "collection": "green",
  "source_url": "https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf#problem.64",
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Green64.green_64",
  "statement_lean": "theorem green_64 :\n    {p : ℕ | p.Prime ∧ Odd (Ω (p - 2))}.Infinite",
  "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# Green's Open Problem 64\n\n*Reference:* [Ben Green's Open Problems](https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf#problem.64)\n\nDo there exist infinitely many primes $p$ for which $p - 2$ has an odd number of prime factors,\ncounted with multiplicity?\n-/\n\n@[expose] public section\n\nopen ArithmeticFunction\n\nopen scoped ArithmeticFunction.Omega\n\nnamespace Green64\n\n/--\nDo there exist infinitely many primes $p$ for which $p - 2$ has an odd number of prime factors,\ncounted with multiplicity (i.e. $\\Omega(p - 2)$ is odd)?\n-/\n@[category research open, question, AMS 11]\ntheorem green_64 :\n    {p : ℕ | p.Prime ∧ Odd (Ω (p - 2))}.Infinite := by\n  sorry\n\n/-- $5$ satisfies the condition: $5$ is prime and $5 - 2 = 3$ is prime, so $\\Omega(3) = 1$ is odd. -/\n@[category test, AMS 11]\ntheorem green_64_mem_five : 5 ∈ {p : ℕ | p.Prime ∧ Odd (Ω (p - 2))} := by\n  refine ⟨by norm_num, ?_⟩\n  rw [show (5 : ℕ) - 2 = 3 by norm_num, cardFactors_apply_prime (by norm_num)]\n  exact odd_one\n\n/-- $7$ satisfies the condition: $7$ is prime and $7 - 2 = 5$ is prime, so $\\Omega(5) = 1$ is odd. -/\n@[category test, AMS 11]\ntheorem green_64_mem_seven : 7 ∈ {p : ℕ | p.Prime ∧ Odd (Ω (p - 2))} := by\n  refine ⟨by norm_num, ?_⟩\n  rw [show (7 : ℕ) - 2 = 5 by norm_num, cardFactors_apply_prime (by norm_num)]\n  exact odd_one\n\n/-- $11$ does *not* satisfy the condition: although $11$ is prime, $11 - 2 = 9 = 3 ^ 2$ has\n$\\Omega(9) = 2$ prime factors, which is even. This shows the condition is non-trivial. -/\n@[category test, AMS 11]\ntheorem green_64_not_mem_eleven : 11 ∉ {p : ℕ | p.Prime ∧ Odd (Ω (p - 2))} := by\n  rintro ⟨-, hodd⟩\n  rw [show (11 : ℕ) - 2 = 3 ^ 2 by norm_num, cardFactors_apply_prime_pow (by norm_num)] at hodd\n  exact (by decide : ¬ Odd 2) hodd\n\n/--\nThe same question as `green_64` but with $p - 1$ instead of $p - 2$.\nGreen notes this is \"probably more natural\".\n-/\n@[category research open, question, AMS 11]\ntheorem green_64.variants.p_sub_one :\n    {p : ℕ | p.Prime ∧ Odd (Ω (p - 1))}.Infinite := by\n  sorry\n\nend Green64\n",
  "statement_hash": "d431a2c6001714df7ffbc3f2437f08570b83cb9282aae397ce78f2ee39c45203",
  "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": [
    {
      "kind": "already_solved",
      "status": "open",
      "body": "# Green 64 has a public machine-checked proof\n\nThe statement `{p : ℕ | p.Prime ∧ Odd (Ω (p - 2))}.Infinite` (Green64.green_64) is proved in Lean 4 in\n\n- https://github.com/inozemtsev/formal-math/tree/43f0988e15c2e1b9fb28b931e6fbb0cf9f7a70cc/proofs/green64\n  (Igor Inozemtsev; proof development and formalization by gpt-6 astra; registered as Palomar entry\n  PALOMAR-2026-11-13-000010, indexed as aiXiv:2611.01509, 2026-11-15).\n- Its `Challenge.lean` states exactly `theorem green_64 : {p : ℕ | p.Prime ∧ Odd (Ω (p - 2))}.Infinite`\n  with `open scoped ArithmeticFunction.Omega`, the same statement as here.\n- Toolchain: Lean 4.35.0-rc2, Mathlib 065356127b1d (newer than the formal-conjectures pin used by nosorry).\n- Public CI: \"Palomar Green 64 preflight\" succeeded (github.com/inozemtsev/formal-math/actions/runs/43325891223\n  and /43390233171), and so did the registry's \"Verify submission\" run (github.com/PalomarRegistry/PalomarSubmission/actions/runs/43406667853).\n  The authors report an axiom "
    }
  ],
  "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."
}