Left to Solve
Problems / MathOverflow (not formalized)

Estimate for smallest "total non-residue"

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

Statement

Let be the set of odd primes up to . For each odd prime , let be the set of non square-residues modulo , so that . Define

In other words, is the smallest odd positive integer which is not congruent to a square modulo for every odd prime , and is not a square modulo .

Is there an explicit lower bound for , at least for some sufficiently large (the largeness also made explicit)?

Posed by Stanley Yao Xiao · nt.number-theory

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-474615.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-474615.lean

import Mathlib

/-!
# Estimate for smallest "total non-residue"

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_474615