A330221: Numbers d such that -d is a fundamental discriminant and all primes smaller than 2*sqrt(d)/Pi ramify or remain inert in the ring o
Statement
But there are other d such that the ideal class group of O_K has exponent 2. In fact, the exponent is <= 2 if and only if: for all primes p < 2*sqrt(d)/Pi, either (a) Kronecker(-d,p) = 0 or -1, or (b) Kronecker(-d,p) = 1, and 4*p^2 - d is a square. Here 2*sqrt(d)/Pi can be replaced by sqrt(d); conjecturally, if 2*sqrt(d)/Pi is replaced by sqrt(d/4), we get exactly the sequence A003644.
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-a330221.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-a330221.lean
import Mathlib /-! # A330221: Numbers d such that -d is a fundamental discriminant and all primes smaller than 2*sqrt(d)/Pi ramify or remain inert in the ring o Source: https://oeis.org/A330221 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_a330221 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a330221