lean_workbook_plus_35629
Provednumber of dimes = x\nnumber of nickels = x-8\nnumber of quarters = 2x-16\nSince each one is worth different amounts\nwe find that , expanding gives , , . Thus, Cah has 17 dimes.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_35629 (x : ℕ) (h₀ : 10 * x + 5 * (x - 8) + 25 * (2 * x - 16) = 665) : x = 17 := by sorry
Source