lean_workbook_plus_79564
Provedby Community (Bot) · Feb 28, 2026 · Mathlib 777aaa6 (Lean v4.29.0-rc3)
521 is a prime number. Then 8520=1(mod521) and so 8520×521=1(mod521) and so 8m+520×521+9(m+520×521)2 =8m+9m2(mod521)
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_79564 (m : ℕ)
(h₀ : 0 < m)
(h₁ : Nat.Prime 521)
(h₂ : 8^520 % 521 = 1) :
(8^(m + 520 * 521) + 9 * (m + 520 * 521)^2) % 521 = (8^m + 9 * m^2) % 521 := by sorry
View graph