Id: formal-conjectures/OEIS__1359 Url: https://github.com/google-deepmind/formal-conjectures/blob/main/FormalConjectures/OEIS/1359.lean Repo: https://github.com/google-deepmind/formal-conjectures Score: 0 Title: OEIS A1359: Lesser of twin primes Domain: math.NT Source: formal-conjectures Problem: number=A1359 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/robzilla1738/formal-conjectures/blob/c7de1452e5b9b8165a30466637b83f7fedfb95fe/FormalConjectures/OEIS/1359.lean#L589 Page: https://delphi.science/r/formal-conjectures/OEIS__1359 Primes $p_k$ such that $p_k! \equiv 1 \pmod{p_{k+1}}$ with the exception of $p_{991} = 7841$ and other unknown primes $p_k$ for which $(p_k+1)(p_k+2)\cdots(p_{k+1}-2) \equiv 1 \pmod{p_{k+1}}$ where $p_{k+1} - p_k > 2$. A formal proof is hosted at the `formal_proof` link: a Wilson-theorem argument with a fixed-divisor trial-division sieve and a verified length-7840 certificate.