OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
Chris Caldwell, The First 1,000 Primes
EXAMPLE
977 is a prime in which the first digit is not a prime but all the other digits are primes.
MATHEMATICA
dpQ[p_]:=With[{idp=IntegerDigits[p]}, !PrimeQ[idp[[1]]]&&AllTrue[Rest[idp], PrimeQ]]; Select[Prime[Range[200]], dpQ] (* Harvey P. Dale, Aug 09 2025 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Parthasarathy Nambi, Feb 09 2009
STATUS
approved
