An elementary proof of a lower bound for a quadratic floor sum
Statement
Let be a prime with , and define How can one prove that
I know that this inequality can be proved using the class number formula. However, I am wondering whether there is a more elementary proof, avoiding class numbers and analytic machinery.
For example, is it possible to prove the inequality using a combinatorial or double-counting argument, perhaps by exploiting properties of quadratic residues modulo , Gauss's lemma, or some suitable rearrangement or pairing of the terms in the sum? I would be particularly interested in a proof that gives a direct explanation for the positivity rather than deriving it from a class number formula.
Posed by RFZ · 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-515251.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-515251.lean
import Mathlib /-! # An elementary proof of a lower bound for a quadratic floor sum Source: https://mathoverflow.net/questions/515251 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_515251 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_515251