A337818: Odd integers k>=3 such that k*(k-1)/2 divides 2^((k-1)/2)+1.
Statement
Conjecture: a(n) == 1 mod 162 for n >= 6. The next few larger terms of the form 162*k+1 are: 44165935747, 46696027123, 85683674179, 88567070707, 101297654083, 131264938963, 131315541283, 177876176419, 195689448883, 196838306227, 213339588643, 310256425603, 378897238243, 502106519683, 588454831747, 611537689459, 641551809187, 735075731107, 745956214867, 755236606483, 771153067603, 872146803043 (and they are all primes). · The conjecture fails, as a(30) = 48269073907 (prime). · For each term k, (k-1)/2 is a term of A006521. Conjecture: sequence consists of primes p == 3 (mod 8) such that (p-1)/2 is in A006521.
Posed by Bill McEachen, Chai Wah Wu, Max Alekseyev · 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-a337818.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-a337818.lean
import Mathlib /-! # A337818: Odd integers k>=3 such that k*(k-1)/2 divides 2^((k-1)/2)+1. Source: https://oeis.org/A337818 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_a337818 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a337818