A369378: a(n) is the smallest k such that 2^(2^n+1)-1 + 2^k is prime, or -1 if no such k exists.
Statement
Conjecture: if n > 0, then 2^(2^n+1)-1 + 2^k is not prime for every k < 2^n. · This conjecture seems provable, because it is not too strong for large n > 6. · If, for n > 6, a(n) does not exist, then 2^(2^n+1)-1 + 2^k is composite for every natural k. Thus, by the dual Sierpinski conjecture, for n > 6, 2^(2^n+1)-1 is a Sierpinski number, i.e., if n > 6, then (2^(2^n+1)-1)2^k+1 is composite for every natural k. For example, the Mersenne number 2^(2^8+1)-1 may be a dual Sierpinski number.
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-a369378.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-a369378.lean
import Mathlib /-! # A369378: a(n) is the smallest k such that 2^(2^n+1)-1 + 2^k is prime, or -1 if no such k exists. Source: https://oeis.org/A369378 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_a369378 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a369378