Text this: Detecting squarefree numbers