Cosine Modulo $p$?
Statement
Consider the integers modulo a prime . I'm looking for a nice polynomial function that acts as a sort of "cosine" on the integers modulo . Specifically, I'm looking for solutions to the double angle formula:
where is a polynomial on the integers modulo or another ``easily computable'' function in .
I have a class of examples that already satisfy the relation. Let modulo . Then define to be the real part of (in ) (which can be written as some complicated polynomial modulo ). One can check that indeed satisfies the double angle recurrence.
But these examples are kind of complicated (they require computations in an extension field) as well as the explicit formula for the coefficients of in this case is difficult to write down.
Can anyone come up with another class of examples or something that is either more natural or more easily computable? Can anyone come up with an example that doesn't use an extension field to be constructed?
I would like the image to be all the integers modulo . See the second example below.
Edit (2nd example): A second class of examples is …
Posed by mtheorylord · nt.number-theory, co.combinatorics, polynomials, finite-fields
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-455180.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-455180.lean
import Mathlib /-! # Cosine Modulo $p$? Source: https://mathoverflow.net/questions/455180 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_455180 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_455180