A291545: a(n) is the smallest integer k > n such that (k+1)(k+2)...(2k-n)/(k(k-1)...(k-n+1)) is an integer.
Statement
From Jon E. Schoenfield, Aug 29 2017: Observations up through a(294)=2010880 (and a lower bound on a(295)): - for even n (except at n=4), a(n) = a(n-1); - for odd n > 1, a(n) = a(n-1) + 1 except at n = 3, 5, 7, 11, 15, 27, 35, 39, 43, 67, 71, 87, 103, 143, 171, 191, 223, 227, 235, 263, 295, ... A lower bound is given by a(n) >= A104138(j) + j where j = floor((n+1)/2) and A104138(j) is the smallest prime that is followed by j or more nonprimes. Conjecture: this bound is tight for all n > 6.
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-a291545.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-a291545.lean
import Mathlib /-! # A291545: a(n) is the smallest integer k > n such that (k+1)(k+2)...(2k-n)/(k(k-1)...(k-n+1)) is an integer. Source: https://oeis.org/A291545 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_a291545 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a291545