Left to Solve
Problems / MathOverflow (not formalized)

Congruence for the product of quadratic residues + the product of quadratic non-residues

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

Statement

My question has been here on MSE for a long time, but it has not received a full answer. I bring it here:

Find a prime such that and such that the product in the range of the quadratic residues + the product in the range of the quadratic non-residues is divisible by , or show that such a prime does not exist.

Nota: I know that for any prime such that , the product of the quadratic residues + the product of the quadratic non-residues is always divisible by . I have check that this is not the case for all primes smaller than and such that .

Posed by René Gy · nt.number-theory, congruences, quadratic-residues

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

import Mathlib

/-!
# Congruence for the product of quadratic residues + the product of quadratic non-residues

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_313312