Refactored 20 divisible to take any number in a range. Still a brute force attack.