Ugly primes up to 4 - time to refactor!!!
Remove multiple return points
Prime factors up to 6
Replace while loop with for loop