factors a number out a bit
Solution to Project Euler #3