A213536: Cousin prime recurrence sequence: a(1) = 14, and for n > 1, a(n) = a(n-1) + gcd(n+5, a(n-1)), if n is even, otherwise a(n) = a(n-1
Statement
Conjecture: Record differences a(n) - a(n-1) (A213537) are a strict subset of the smaller of cousin primes (A023200). (Cousin primes differ by 4.) · Conjecture: Record differences are an infinite sequence. It is widely believed there are infinitely many cousin primes. (Similarly, by Dickson's conjecture and the second Hardy-Littlewood conjecture, there are infinitely many pairs of (not necessarily consecutive) primes (p, p+2k) for each natural number k.) · Conjecture: The following pattern makes sequences for every (necessarily even) difference (slight change for 2). For difference d, p is first prime > d that is the smaller of a prime pair (p, p+d). a(1) = 2p and a(n) = gcd(n+p-2, a(n-1)) for even n, otherwise gcd(n+p-2-d, a(n-1)).
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-a213536.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-a213536.lean
import Mathlib /-! # A213536: Cousin prime recurrence sequence: a(1) = 14, and for n > 1, a(n) = a(n-1) + gcd(n+5, a(n-1)), if n is even, otherwise a(n) = a(n-1 Source: https://oeis.org/A213536 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_a213536 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a213536