Maybe I should just modify the code to try with every multiple of 990, which is divisible by 2,3,5,6,9,10,99, and a few others. 990 is the smallest number divisible by 99 and 10, so this should yield the smallest...