Improved Integer#prime? to be faster.