A sum of powers modulo2011
ProvedWorkbookSource.problem_16562lean-workbooksource-checked
Apply Fermat's Little Theorem to each of the terms and prove that .
Source: InternLM Lean-Workbook, record lean_workbook_16562 (Apache-2.0). The complete source proposition and its explicit variable declarations are preserved.
Preamble
import Mathlib open Real Nat
Formal statement
theorem WorkbookSource.problem_16562 : (-5 : ℤ) ^ 2011 + 3 ^ 2011 + 2 ^ 2011 ≡ 0 [ZMOD 2011] := by sorry
Source