Determine a telephone number is a prime number