A087403: a(n) = smallest prime of the form 10*K(n) + 1, where K is a number obtained by concatenation of n with itself, or 0 if no such pri
Statement
Conjecture: No term is zero. · From Farideh Firoozbakht, Jan 07 2015: The conjecture is not true. There exist many numbers n such that a(n)=0. By using the theorem and its corollary mentioned in the comments lines of the sequence A086766, we can prove that for m = 2, 3, ..., 275 a(10^m)=0. What is the smallest odd prime p, such that (10^(p^2)-1)/(10^p-1) is a prime number (a(10^(p-1)) is nonzero)? What is the smallest integer m, such that m > 1 and a(10^m) is nonzero? Conjecture: If n is not of the form 10^m then a(n) is nonzero.
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-a087403.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-a087403.lean
import Mathlib /-! # A087403: a(n) = smallest prime of the form 10*K(n) + 1, where K is a number obtained by concatenation of n with itself, or 0 if no such pri Source: https://oeis.org/A087403 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_a087403 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a087403