2 is prime, but 12, 22, ..., 92 are not. Similarly, 5 is prime whereas 15, 25, ..., 95 are not. What is the next prime number which is composite when any digit is prefixed?

Prefix One Solution

PHP Warning

lib/DbaDatabase.php:154: Warning: dba_optimize() [<a href='function.dba-optimize'>function.dba-optimize</a>]: You cannot perform a modification to a database without proper access

lib/DbaDatabase.php:134: Warning: dba_replace() [<a href='function.dba-replace'>function.dba-replace</a>]: You cannot perform a modification to a database without proper access