The number of squarefree divisors of an integer