{
  "id": "4531",
  "ident": "NS.04531",
  "slug": "oeis-105210",
  "title": "Conjectures associated with A105210",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Cormier and Selfridge found 5 starting values for which the sequences appear to not merge.\nThe sequences were checked up to 10^8.",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [],
  "collection": "oeis",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "OeisA105210.conjecture_disjoint_starting_values",
  "statement_lean": "theorem conjecture_disjoint_starting_values :\n    ∀ j k : ℕ,\n      j ∈ ({1, 393, 412, 668, 932} : Set ℕ) →\n      k ∈ ({1, 393, 412, 668, 932} : Set ℕ) →\n      j ≠ k →\n      sequenceSet j ∩ sequenceSet k = ∅",
  "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 A105210\n\n$a(1) = 393$; for $n > 1$, $a(n) = a(n-1)$ + 1 + sum of distinct prime factors of $a(n-1)$\nthat are $< a(n-1)$.\n\n*References:*\n- [A105210](https://oeis.org/A105210)\n-/\n\n@[expose] public section\n\nnamespace OeisA105210\n\nopen Nat Finset\n\n/-- The sum of distinct prime factors of $n$ that are strictly less than $n$. -/\ndef sumRelevantPrimeFactors (n : ℕ) : ℕ :=\n  (Nat.primeFactors n).sum (fun p => if p < n then p else 0)\n\n/-- The primary defining sequence `a`.\n$a(1) = 393$; for $n > 1$, $a(n)$ = $a(n-1)$ + 1 + sum of distinct prime factors of $a(n-1)$\nthat are < $a(n-1)$. -/\ndef a : ℕ → ℕ\n| 0 => 0\n| 1 => 393\n| n + 2 =>\n  let aPrev := a (n + 1)\n  aPrev + 1 + sumRelevantPrimeFactors aPrev\ntermination_by n => n\n\n/-- Term theorems verifying the first few values of the sequence against the official OEIS b-file -/\n@[category test, AMS 11]\ntheorem a_1 : a 1 = 393 := by native_decide\n\n@[category test, AMS 11]\ntheorem a_2 : a 2 = 528 := by native_decide\n\n@[category test, AMS 11]\ntheorem a_3 : a 3 = 545 := by native_decide\n\n@[category test, AMS 11]\ntheorem a_4 : a 4 = 660 := by native_decide\n\n@[category test, AMS 11]\ntheorem a_5 : a 5 = 682 := by native_decide\n\n/-- The transition function for these sequences: $f(n) = n + 1 + S(n)$. -/\ndef nextTermFn (n : ℕ) : ℕ :=\n  n + 1 + sumRelevantPrimeFactors n\n\n/-- The sequence starting at positive integer $k$, where seq $k$ $n$ is the $n$-th term (1-indexed).\n  This is the general form of the sequence A105210 for a starting value $k$. -/\ndef sequenceStartingAt (k : ℕ) : ℕ → ℕ\n| 0 => 0\n| 1 => k\n| n + 1 => nextTermFn (sequenceStartingAt k n)\ntermination_by n => n\n\n/-- The set of all terms generated by the sequence starting at $k$. -/\ndef sequenceSet (k : ℕ) : Set ℕ :=\n  { m | ∃ n : ℕ, 1 ≤ n ∧ sequenceStartingAt k n = m }\n\n/--\nCormier and Selfridge found 5 starting values for which the sequences appear to not merge.\nThe sequences were checked up to 10^8.\n-/\n@[category research open, AMS 11]\ntheorem conjecture_disjoint_starting_values :\n    ∀ j k : ℕ,\n      j ∈ ({1, 393, 412, 668, 932} : Set ℕ) →\n      k ∈ ({1, 393, 412, 668, 932} : Set ℕ) →\n      j ≠ k →\n      sequenceSet j ∩ sequenceSet k = ∅ := by\n  sorry\n\n/--\nThis suggests that there may be infinitely many different (non-merging) sequences obtained\nby choosing different starting values.\n-/\n@[category research open, AMS 11]\ntheorem conjecture :\n  ∃ K : Set ℕ,\n    Set.Infinite K ∧\n    (∀ k ∈ K, 1 ≤ k) ∧\n    (∀ j k : ℕ,\n      j ∈ K → k ∈ K → j ≠ k →\n      sequenceSet j ∩ sequenceSet k = ∅) := by\n  sorry\n\nend OeisA105210\n",
  "statement_hash": "11b6c23d302eb1d45c1d418c8f9f2b822d97058b4129dcc5ed531cdd12462f81",
  "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."
}