Lean-Workbook Plus 78499: Last digits of the first five factorials
ProvedWorkbookRestored.plus_78499lean-workbookrestored-importssource-checked
Let for natural . Then .
Source: Lean-Workbook row lean_workbook_plus_78499 (Apache-2.0), original record. This repair only restores required imports and namespaces; the mathematical declaration is unchanged.
Preamble
import Mathlib.Data.Nat.Factorial.Basic import Mathlib.Algebra.Order.Floor.Semiring open Nat
Formal statement
theorem WorkbookRestored.plus_78499 (f : ℕ → ℕ) (f_def : ∀ n, f n = n - 10 * Nat.floor (n / 10)) : f 0! + f 1! + f 2! + f 3! + f 4! = 14 := by sorry
Source