A089392: Magnanimous primes: primes with the property that inserting a "+" in any place between two digits yields a sum which is prime.
Statement
Partition the digits of n into two groups by placing a '+' sign anywhere inside; the result of the expression is prime in every case. Conjecture: sequence is infinite. 11 is the largest term with all odd digits. 2 is the only member with all even digits. Observation: all two-digit primes with the most significant digit even are members. · In contradiction to the above conjecture, it is rather expected that this sequence is finite, cf. the link to C. Rivera's "Puzzle 401", and G. Resta's web page. Concerning the statement about 2 and 11, one can say that all terms except 2, 11 and 101 consist of even digits followed by a final odd digit.
Posed by M. F. Hasler · OEIS
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-a089392.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-a089392.lean
import Mathlib /-! # A089392: Magnanimous primes: primes with the property that inserting a "+" in any place between two digits yields a sum which is prime. Source: https://oeis.org/A089392 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_a089392 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a089392