lean_workbook_plus_35785
ProvedCorrect solution: We'll first find the amount that's a multiple of or . From PIE, this is . Now we subtract off the amount that is a multiple of , or . This makes the answer .
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_35785 :
Finset.card (Finset.filter (λ x => 4 ∣ x ∨ 6 ∣ x) (Finset.Icc 1 1000)) -
Finset.card (Finset.filter (λ x => 24 ∣ x) (Finset.Icc 1 1000)) = 292 := by sorrySource