Hacker News new | ask | show | jobs
by DoreenMichele 3085 days ago
You can also prime factor the larger factors. Once you have all the primes, you can build the other numbers.

50 = 2x5x5 So 100 = 2x2x5x5

You can build your other factors of 4,10, 20 and 25 by multiplying the subsets.