Id: formal-conjectures/OEIS__363347 Url: https://github.com/google-deepmind/formal-conjectures/blob/main/FormalConjectures/OEIS/363347.lean Repo: https://github.com/google-deepmind/formal-conjectures Score: 0 Title: OEIS A363347: Realization of primes $p \equiv \pm 1 \pmod{10}$ by continued fraction denominators Domain: math.NT Source: formal-conjectures Problem: number=A363347 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/363347.wip.lean#L825 Page: https://delphi.science/r/formal-conjectures/OEIS__363347 Denominator of the continued fraction $$\frac{1}{2 - \frac{3}{3 - \frac{4}{4 - \frac{5}{\dots - \frac{n-1}{(n-1) - \frac{n}{-4}}}}}} $$ The value of the continued fraction is $C_n = 1/R_2(n)$. If $R_2(n) = N/D$ in reduced form, $C_n = D/N$. The sequence $a(n)$ is the denominator of the final fraction, which is $\vert N \vert$. Conjecture: The sequence contains all prime numbers which end with a 1 or 9 (i.e., primes $p \equiv 1$ or $9 \pmod{10}$). A formal proof has been found with the methods described in arxiv/2605.22763.