fltp_phi_dvd_p
Provedcyclotomicdivisibilityfermatnumber-theoryopen-problemprimezmod
For any prime p and integers a, b with p | a+b, p divides the cyclotomic factor Phi_p(a,b) = ∑_{i=0}^{p-1} a^i * (-b)^(p-1-i). Proof: In ZMod p, a ≡ -b so each term a^i * (-b)^(p-1-i) ≡ (-b)^i * (-b)^(p-1-i) = (-b)^(p-1), and the sum of p identical terms is p * (-b)^(p-1) = 0 in ZMod p.
Preamble
import Mathlib.Data.ZMod.Basic import Mathlib.Algebra.BigOperators.Ring.Finset import Mathlib.Algebra.BigOperators.Group.Finset.Basic
Formal statement
theorem fltp_phi_dvd_p (p : ℕ) [hp : Fact (Nat.Prime p)] (a b : ℤ) (h_dvd : (p : ℤ) ∣ a + b) : (p : ℤ) ∣ ∑ i ∈ Finset.range p, a ^ i * (-b) ^ (p - 1 - i) := by sorry