apb_dvd_pow_add_pow
Provedalgebradivisibilitynumber-theoryodd-powersopen-problem
For any odd natural number n and natural numbers a, b, (a+b) divides (a^n+b^n). Proof: lift to ℤ, use sub_dvd_pow_sub_pow to get (a - (-b)) | (a^n - (-b)^n), then apply Odd.neg_pow to convert (-b)^n = -(b^n) and simplify to (a+b) | (a^n+b^n) in ℤ, then cast back to ℕ.
Preamble
import Mathlib.Algebra.Ring.GeomSum import Mathlib.Algebra.Ring.Parity import Mathlib.Data.Nat.GCD.Basic
Formal statement
theorem apb_dvd_pow_add_pow (n : ℕ) (h_odd : Odd n) (a b : ℕ) : (a+b) ∣ (a^n+b^n) := by sorry