1991 AHSME Problems/Problem 17

A positive integer $N$ is a palindrome if the integer obtained by reversing the sequence of digits of $N$ is equal to $N$. The year 1991 is the only year in the current century with the following 2 properties:

(a) It is a palindrome

(b) It factors as a product of a 2-digit prime palindrome and a 3-digit prime palindrome.

How many years in the millenium between 1000 and 2000 have properties (a) and (b)? These problems are copyrighted © by the Mathematical Association of America, as part of the American Mathematics Competitions. AMC Logo.png