OFFSET
1,1
COMMENTS
Subsequence of A069488.
REFERENCES
C. Caldwell, Truncatable primes, J. Recreational Math., 19:1 (1987) 30-33.
LINKS
Tim Cieplowski, Table of n, a(n) for n = 1..2720
P. Ballew, Knockout Primes and a new notation, May 17, 2013
C. Caldwell, The Prime Glossary: Deletable Prime
EXAMPLE
For a(3)=137, all pairs of two digits (in their original order) 13, 17, and 37 are prime.
MATHEMATICA
testQ[n_] := n > 9 && Catch[Block[{d = IntegerDigits@n}, Do[If[! PrimeQ[ d[[j]] + 10*d[[i]]], Throw@False], {j, 2, Length@d}, {i, j-1}]; True]]; Select[Prime@ Range[10^5], testQ] (* Giovanni Resta, May 28 2013 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Tim Cieplowski, May 26 2013
STATUS
approved
