A217788: Least integer s > pn such that sum{k=1}^n pk*s^(n-k) (the number [p1,...,pn] in base s) is prime, where pk denotes the k-th prime.
Statement
Conjecture: For any integers n >= m > 0, there are infinitely many positive integers s > pn such that the number sum{k=m}^n pk*s^{n-k} (i.e., [pm,...,p_n] in base s) is prime; moreover the smallest such an integer s (denoted by s(m,n)) does not exceed (n+1)*(m+n+1). · A related conjecture of the author states that for each n=2,3,... the polynomial sum{k=1}^n pk*x^(n-k) is irreducible modulo some prime. See also the author's comments on A000040. · The conjecture can be further extended as follows: If a1 < ... < an are distinct integers with an prime, then there are infinitely many integers b > an such that [a1,a2,...,a_n] in base b is prime.
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-a217788.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-a217788.lean
import Mathlib
/-!
# A217788: Least integer s > pn such that sum{k=1}^n pk*s^(n-k) (the number [p1,...,pn] in base s) is prime, where pk denotes the k-th prime.
Source: https://oeis.org/A217788
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_a217788
-- definitions the statement needs (no sorry, no axiom)
theorem main : sorry := by
sorry
end OMA.S_oeis_a217788