Left to Solve
Problems / MathOverflow (not formalized)

Finite sum involving root of unity

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

Statement

I have the following sum:

where , and are coprime numbers such that , and is odd. I know the result is of the form but the signs depend on the relation of , and it is not easy to guess.

Is there some formula for this type of sums?

I tried to reduce it using exponentials as the following:

and define which is a primitive root of unity but I don't know how this can help.

Please help! Thanks!!!

Posed by heynman · nt.number-theory, roots-of-unity, trigonometric-sums

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

import Mathlib

/-!
# Finite sum involving root of unity

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_331797