{"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","summary":"Primes $p$ such that $p+2$ is also prime. The $n$-th lesser twin prime, with $a(0) = 0$. 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.","category":"research","comments":0,"disputed":false,"division":"math","mentions":0,"discussed":0,"reactions":{},"formalized":true,"formalizations":["https://github.com/robzilla1738/formal-conjectures/blob/c7de1452e5b9b8165a30466637b83f7fedfb95fe/FormalConjectures/OEIS/1359.lean#L589"]}