Counting integers avoiding multiples of four and seven
ProvedWorkbookSource.problem_7649lean-workbookrepaired-notationsource-checked
How many positive integers less than are not divisible by or ?
Source: InternLM Lean-Workbook, record lean_workbook_7649 (Apache-2.0). The complete source proposition and its explicit variable declarations are preserved. Notation repair: Update legacy finite-sum notation.
Preamble
import Mathlib open Real Nat
Formal statement
theorem WorkbookSource.problem_7649 : ∑ k ∈ Finset.filter (λ x => ¬ (4 ∣ x ∨ 7 ∣ x)) (Finset.range 100), 1 = 64 := by sorry
Source