Id: formal-conjectures/OEIS__363102 Url: https://github.com/google-deepmind/formal-conjectures/blob/main/FormalConjectures/OEIS/363102.lean Repo: https://github.com/google-deepmind/formal-conjectures Score: 0 Title: OEIS A363102: Primality of continued fraction denominators $a(n)$ for $n \ge 3$ Domain: math.NT Source: formal-conjectures Problem: number=A363102 status=solved collection=oeis Reviews: 0 Subject: math.NT Category: research Comments: 0 Disputed: false Division: math Mentions: 0 Discussed: 0 Formalized: true Formalizations: https://github.com/mo271/formal-conjectures/blob/a32396489dcb8f86c3549b93aa358ac6a10a3a1f/FormalConjectures/OEIS/363102.wip.lean#L283 Page: https://delphi.science/r/formal-conjectures/OEIS__363102 Auxiliary sequence A051403, defined as $$\frac{(n+2) \sum_{k=0}^n k!}{2}$$ Denominator of the continued fraction $1/(2-3/(3-4/(4-5/(...(n-1)-n/(-2)))))$. The sequence is defined by the formula: $$a(n) = \frac{n^2 - 2}{\gcd(n^2 - 2, 2 \cdot A051403(n-3) + n \cdot A051403(n-4))}$$ The formula is valid for $n \ge 3$. Conjecture: The sequence contains only 1's and primes. A formal proof has been found with the methods described in arxiv/2605.22763.