An emirp (prime spelled backwards) is a prime number that results in a different prime when its decimal digits are reversed. This definition excludes the related palindromic primes.
13, 17, 31, 37, 71... are
emirps.
List values of q(n) (the number of emirps of length n) for n=2 to 6.