A congruence that gives divisibility by five
ProvedWorkbookSource.problem_30147lean-workbooksource-checked
Prove that if , then .
Source: InternLM Lean-Workbook, record lean_workbook_30147 (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_30147 (p : ℕ) (hp : p ≡ 2 [ZMOD 5]) : 5 ∣ 2 * p + 1 := by sorry
Source