[UVA][sieve] 897 - Anagrammatic Primes
Anagrammatic Primes
A number greater than one is prime if it has no divisors other than itself and 1 (note that 1 is not prime).
For example, 23 is prime and 35 is not prime because 35 = 7 × 5. When the digits of a number are rearranged,
its primeness...