A399052: a(n) is the least even number c such that (prime(n)#/2) + c is prime.
Statement
Here prime(n)#/2 is the product of the odd primes up to prime(n). A Fortunate-type function for the odd primorial: c must be even, and if c = 2^k*m with m odd then any prime factor of m not exceeding prime(n) divides both the primorial and c, hence divides their sum. So whenever a(n) < prime(n)^2 the odd part of a(n) is either 1 or a single prime exceeding prime(n). For all n=1..694, a(n) < prime(n)^2, the largest ratio being far from 1. By analogy with Fortune's conjecture for A005235, it is conjectured that a(n) < prime(n)^2 always.
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-a399052.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-a399052.lean
import Mathlib /-! # A399052: a(n) is the least even number c such that (prime(n)#/2) + c is prime. Source: https://oeis.org/A399052 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_a399052 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a399052