A178423 Semiprimes for which dropping any digit gives a prime number.
22, 25, 33, 35, 55, 57, 77, 111, 119, 371, 411, 413, 417, 437, 471, 473, 611, 671, 713, 731, 1037, 1073, 1079, 1379, 1397, 1673, 1739, 1937, 1991, 2571, 2577, 2811, 3113, 3131, 3173, 3317, 4331, 4439, 4499, 4631, 6017, 6431, 6773, 7619, 9977, 12777
Offset: 1
Examples
a(9) = 119 because this is a semiprime (119 = 7 * 17), dropping the leftmost digit gives 19 (a prime), dropping the middle digit gives 19 (a prime), and dropping the rightmost digit gives 11 (a prime).
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..100
Programs
-
Mathematica
ddp[n_]:=Module[{idn=IntegerDigits[n]},PrimeOmega[n]==2 && And@@PrimeQ[ FromDigits/@Table[Drop[idn,{i}],{i,Length[idn]}]]]; Select[Range[ 13000],ddp] (* Harvey P. Dale, Apr 10 2012 *)
Comments