A power of two modulo seven
ProvedWorkbookSource.problem_40670lean-workbooksource-checked
The remainder is
Source: InternLM Lean-Workbook, record lean_workbook_40670 (Apache-2.0). The complete source proposition and explicit variable declarations are preserved.
Preamble
import Mathlib open Real Nat
Formal statement
theorem WorkbookSource.problem_40670 : (2^20) % 7 = 4 := by sorry
Source