{
  "id": "6724",
  "ident": "NS.06724",
  "slug": "oeis-67720",
  "title": "Conjectures associated with A067720",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "For members of the sequence other than $8$, we have $k + 1$ is prime.",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [],
  "collection": "oeis",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "OeisA67720.prime_add_one_of_a",
  "statement_lean": "theorem prime_add_one_of_a {k : ℕ} (h : A k) (hne : k ≠ 8) : (k + 1).Prime",
  "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# Conjectures associated with A067720\n\nA067720 lists numbers $k$ such that $\\varphi(k^2 + 1) = k \\cdot \\varphi(k + 1)$,\nwhere $\\varphi$ is Euler's totient function.\n\nThe sequence exhibits a strong connection to primes: for almost all terms $k$,\n$k + 1$ is prime. The conjecture states that $k = 8$ is the only exception.\n\n*References:*\n- [A067720](https://oeis.org/A067720)\n-/\n\n@[expose] public section\n\nnamespace OeisA67720\n\nopen Nat\n\n/-- A number $k$ is in the sequence A067720 if $\\varphi(k^2 + 1) = k \\cdot \\varphi(k + 1)$. -/\ndef A (k : ℕ) : Prop :=\n  φ (k ^ 2 + 1) = k * φ (k + 1)\n\n/-- $1$ is in the sequence A067720. -/\n@[category test, AMS 11]\ntheorem a_1 : A 1 := by norm_num [A]\n\n/-- $2$ is in the sequence A067720. -/\n@[category test, AMS 11]\ntheorem a_2 : A 2 := by\n  simp +decide only [A]\n\n/-- $4$ is in the sequence A067720. -/\n@[category test, AMS 11]\ntheorem a_4 : A 4 := by\n  simp +decide only [A]\n\n/-- $6$ is in the sequence A067720. -/\n@[category test, AMS 11]\ntheorem a_6 : A 6 := by\n  simp +decide only [A]\n\n/-- $8$ is in the sequence A067720. -/\n@[category test, AMS 11]\ntheorem a_8 : A 8 := by\n  simp +decide only [A]\n\n/-- $10$ is in the sequence A067720. -/\n@[category test, AMS 11]\ntheorem a_10 : A 10 := by\n  simp +decide only [A]\n\n/-- If $k + 1$ and $k^2 + 1$ are both prime, then $k$ is in the sequence. -/\n@[category textbook, AMS 11]\ntheorem a_of_primes {k : ℕ} (hk : (k + 1).Prime) (hk' : (k ^ 2 + 1).Prime) : A k := by\n  rw [A, totient_prime hk', totient_prime hk, Nat.add_sub_cancel, Nat.add_sub_cancel, sq]\n\n/-- For members of the sequence other than $8$, we have $k + 1$ is prime. -/\n@[category research open, AMS 11]\ntheorem prime_add_one_of_a {k : ℕ} (h : A k) (hne : k ≠ 8) : (k + 1).Prime := by\n  sorry\n\nend OeisA67720\n",
  "statement_hash": "e19ed6dbfd4dd49244d4a75dcfbc2c71b58cf5ecfb9f799ee00f4253fa5c1255",
  "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."
}