File size: 112 Bytes
38aacb3
 
 
1
2
3
4
import Mathlib

def f (n : ℕ) : ℕ := ((Finset.Icc 1 n).filter (fun k => (5 ∣ k) ∨ (Squarefree k))).card