Palindromic Primes

Palindromic Primes are prime numbers that are palindromes, or in other words, they are the same number when read from left to right or right to left. The first four palindromic primes are trivially palindromic, as they are single digit values.

All palindromic primes have an odd number of digit, expect 11, as all palindromes of even length are divisible by 11.

Examples

 * 7 is a palindromic prime, since it has only one digit.
 * 131 is a palindromic prime, since the digits stay the same when it is reversed.

The First Few Palindromic Primes
2

3

5

7

11

101

131

151

181

191

313