Ad
  • Default User Avatar

    Surprising how few solutions add the optimization constraint of [2..sqrt x] when sieving for factors. I'd suggest updating the test cases to have a sufficiently large prime group (10000 seems reasonable) to force thinking about the characteristics of prime factorization.