OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
139 qualifies because neither 9 nor 39 is prime
MATHEMATICA
Select[Prime[Range[200]], Union[PrimeQ[Table[Mod[#, 10^i], {i, Floor[Log[10, #]]}]]] == {False} &] (* T. D. Noe, Sep 27 2011 *)
cbpQ[n_]:=NoneTrue[Table[FromDigits[Drop[IntegerDigits[n], i]], {i, IntegerLength[ n]-1}], PrimeQ]; Select[Prime[Range[5, 200]], cbpQ] (* The program uses the NoneTrue function from Mathematica version 10 *) (* Harvey P. Dale, Aug 27 2014 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
J. Lowell, Sep 27 2011
EXTENSIONS
More terms from T. D. Noe, Sep 27 2011
STATUS
approved