getFactors no longer includes sqrt twice
Problem 23