Left to Solve
Problems / MathOverflow (not formalized)

Improved upper bound for second moment of reduced residues modulo $q$?

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

Statement

The question asked here is a follow up to this question, which was answered by user GH from MO. [EDIT: The question is edited for clarification after receiving a comment on the original posting.]

As there, let be a natural number, let be the "probability" that a randomly chosen integer is relatively prime to q. Then, following Montgomery and Vaughan in On the distribution of reduced residues, the second moment of the number of reduced residues modulo in an interval of length about its mean, , can be stated as Applying the inequality then gives the upper bound while a lower bound is given by where .

Since , we also have that . This allows for a second upper bound, $$\tag{2} M_2(q;h) \leq …

Posed by user45947 · nt.number-theory, analytic-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-360317.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-360317.lean

import Mathlib

/-!
# Improved upper bound for second moment of reduced residues modulo $q$?

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_360317