"Occasionally it may cause the algorithm to fail by introducing a repeated factor, for instance when n is a square." . . . .