Title:Conjectures associated with A105210
Statement:Cormier and Selfridge found 5 starting values for which the sequences appear to not merge. The sequences were checked up to 10^8.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.04531 [math.NT] · NS.04531v1 for this version |
| Declaration: | OeisA105210.conjecture_disjoint_starting_values |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60 |
| Statement hash: | 11b6c23d302eb1d45c1d418c8f9f2b822d97058b4129dcc5ed531cdd12462f81 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/OEIS/105210.lean |
Formal statement
theorem conjecture_disjoint_starting_values :
∀ j k : ℕ,
j ∈ ({1, 393, 412, 668, 932} : Set ℕ) →
k ∈ ({1, 393, 412, 668, 932} : Set ℕ) →
j ≠ k →
sequenceSet j ∩ sequenceSet k = ∅Show the full Challenge.lean (111 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Conjectures associated with A105210
$a(1) = 393$; for $n > 1$, $a(n) = a(n-1)$ + 1 + sum of distinct prime factors of $a(n-1)$
that are $< a(n-1)$.
*References:*
- [A105210](https://oeis.org/A105210)
-/
@[expose] public section
namespace OeisA105210
open Nat Finset
/-- The sum of distinct prime factors of $n$ that are strictly less than $n$. -/
def sumRelevantPrimeFactors (n : ℕ) : ℕ :=
(Nat.primeFactors n).sum (fun p => if p < n then p else 0)
/-- The primary defining sequence `a`.
$a(1) = 393$; for $n > 1$, $a(n)$ = $a(n-1)$ + 1 + sum of distinct prime factors of $a(n-1)$
that are < $a(n-1)$. -/
def a : ℕ → ℕ
| 0 => 0
| 1 => 393
| n + 2 =>
let aPrev := a (n + 1)
aPrev + 1 + sumRelevantPrimeFactors aPrev
termination_by n => n
/-- Term theorems verifying the first few values of the sequence against the official OEIS b-file -/
@[category test, AMS 11]
theorem a_1 : a 1 = 393 := by native_decide
@[category test, AMS 11]
theorem a_2 : a 2 = 528 := by native_decide
@[category test, AMS 11]
theorem a_3 : a 3 = 545 := by native_decide
@[category test, AMS 11]
theorem a_4 : a 4 = 660 := by native_decide
@[category test, AMS 11]
theorem a_5 : a 5 = 682 := by native_decide
/-- The transition function for these sequences: $f(n) = n + 1 + S(n)$. -/
def nextTermFn (n : ℕ) : ℕ :=
n + 1 + sumRelevantPrimeFactors n
/-- The sequence starting at positive integer $k$, where seq $k$ $n$ is the $n$-th term (1-indexed).
This is the general form of the sequence A105210 for a starting value $k$. -/
def sequenceStartingAt (k : ℕ) : ℕ → ℕ
| 0 => 0
| 1 => k
| n + 1 => nextTermFn (sequenceStartingAt k n)
termination_by n => n
/-- The set of all terms generated by the sequence starting at $k$. -/
def sequenceSet (k : ℕ) : Set ℕ :=
{ m | ∃ n : ℕ, 1 ≤ n ∧ sequenceStartingAt k n = m }
/--
Cormier and Selfridge found 5 starting values for which the sequences appear to not merge.
The sequences were checked up to 10^8.
-/
@[category research open, AMS 11]
theorem conjecture_disjoint_starting_values :
∀ j k : ℕ,
j ∈ ({1, 393, 412, 668, 932} : Set ℕ) →
k ∈ ({1, 393, 412, 668, 932} : Set ℕ) →
j ≠ k →
sequenceSet j ∩ sequenceSet k = ∅ := by
sorry
/--
This suggests that there may be infinitely many different (non-merging) sequences obtained
by choosing different starting values.
-/
@[category research open, AMS 11]
theorem conjecture :
∃ K : Set ℕ,
Set.Infinite K ∧
(∀ k ∈ K, 1 ≤ k) ∧
(∀ j k : ℕ,
j ∈ K → k ∈ K → j ≠ k →
sequenceSet j ∩ sequenceSet k = ∅) := by
sorry
end OeisA105210
To prove it: keep every definition of Challenge.lean unchanged and prove OeisA105210.conjecture_disjoint_starting_values with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_conjecture_disjoint_starting_values : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch oeis-105210 nosorry submit oeis-105210 nosorry/oeis-105210/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- conjecture — open
Contributions
No contributions yet — be the first. Submit a proof or a finding.
Research in progress
People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.
Nobody has shared research on this problem yet.
Sign in to share your research.
Statement review
Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.
Sign in to open a critique.