A181901: a(n) = least positive integer m such that 2(sk)^2 for k=1,...,n are pairwise distinct modulo m where sk = Sum{j=1..k} (-1)^(k-j)*p
Statement
On Mar 28 2012, Zhi-Wei Sun conjectured that a(n) is the (n+1)-th prime p{n+1} with the only exceptions being a(1)=1, a(2)=4, a(4)=9 and a(9)=25. He has shown that 2(sk)^2 (k=1,...,n) are indeed pairwise distinct modulo p{n+1} and hence a(n) does not exceed p{n+1}. · The conjecture was verified for n up to 2*10^5 by the author in 2018, and for n up to 3*10^5 by Chang Zhang (a student at Nanjing Univ.) in June 2020.
Posed by Zhi-Wei Sun · 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-a181901.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-a181901.lean
import Mathlib
/-!
# A181901: a(n) = least positive integer m such that 2(sk)^2 for k=1,...,n are pairwise distinct modulo m where sk = Sum{j=1..k} (-1)^(k-j)*p
Source: https://oeis.org/A181901
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_a181901
-- definitions the statement needs (no sorry, no axiom)
theorem main : sorry := by
sorry
end OMA.S_oeis_a181901