Representing every amount above three with two and five
ProvedWorkbookSource.plus_65242lean-workbooksource-checked
Given debt N: If N is even and , then use two dollar bills. If N is odd, use one 5 dollar bill and two dollar bills. This works for all
Source: InternLM Lean-Workbook, record lean_workbook_plus_65242 (Apache-2.0). The complete source proposition and its explicit variable declarations are preserved.
Preamble
import Mathlib open Real Nat
Formal statement
theorem WorkbookSource.plus_65242 (N : ℕ) (hN : 4 ≤ N) : (N % 2 = 0 ∧ ∃ m:ℕ, N = 2*m) ∨ (N % 2 = 1 ∧ ∃ m:ℕ, N = 2*m + 5) := by sorry
Source