A266953: Least prime p such that p-2 and 6n-p and either 6n+2-p or 6n+4-p is also prime, or 0 if no such prime exists.
Statement
Up to 10^5, the only indices for which a(n)=0 are {0, 1, 16, 86, 131, 151, 186, 191, 211, 226, 541, 701}. (Only 2 and 67 require the alternative primality of 6n+4-p and have thus A266952(n)=0.) I conjecture that this list is finite, and probably complete. Is it a coincidence that all odd numbers in this list are primes?
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/oeis-a266953.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Text: OEIS Foundation, CC BY-SA 4.0. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/oeis-a266953.lean
import Mathlib /-! # A266953: Least prime p such that p-2 and 6n-p and either 6n+2-p or 6n+4-p is also prime, or 0 if no such prime exists. Source: https://oeis.org/A266953 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_oeis_a266953 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a266953