Left to Solve
Problems / MathOverflow (not formalized)

Smallest prime $p$ such that $2\mid\operatorname{ord}_p(q)$, the multiplicative order of $q$ modulo $p$

Open, not yet stated in LeanMathOverflow (not formalized)Number Theorydifficulty55/100

Statement

Let be prime. I want to upper bound the smallest odd prime such that (where is the multiplicative order of modulo ).

Using the fact that the smallest quadratic nonresidue in is less than , we can get that such a is less than via quadratic reciprocity. However, this satisfies the a priori much stronger condition that

Whereas this problem simply asks for the first such that

where is some multiplicity of factors of dividing .

So the question naturally becomes, can we find an upper bound less than (edit: , see edit below)? This isn't as elementary as one expects.

Attempts/Heuristics:

Consider the (Eisenstein) polynomial for some (large) and the corresponding Galois extension . Then we may try to upper bound the smallest norm of primes in certain conjugacy classes. For example, unramified split primes …

Posed by Tejas Rao · nt.number-theory, analytic-number-theory, algebraic-number-theory, prime-numbers

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/mo-403147.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. 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/mo-403147.lean

import Mathlib

/-!
# Smallest prime $p$ such that $2\mid\operatorname{ord}_p(q)$, the multiplicative order of $q$ modulo $p$

Source: https://mathoverflow.net/questions/403147
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_mo_403147

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_403147