login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A069689
Primes that yield another prime on placing a 7 on both sides (as leading and trailing digits).
7
2, 5, 17, 23, 29, 41, 47, 53, 71, 131, 191, 227, 233, 257, 281, 293, 347, 359, 389, 401, 419, 431, 479, 503, 521, 557, 593, 599, 653, 659, 677, 683, 701, 761, 797, 827, 857, 887, 953, 977, 1091, 1097, 1109, 1151, 1181, 1187, 1193, 1223, 1283, 1307, 1373
OFFSET
1,1
LINKS
EXAMPLE
233 is a member as 72337 is also a prime.
MATHEMATICA
Select[ Range[2000], PrimeQ[ # ] && PrimeQ[ FromDigits[ Insert[ IntegerDigits[ # ], 7, {{1}, {-1}}]]] &]
Select[Prime[Range[250]], PrimeQ[FromDigits[Join[{7}, IntegerDigits[ #], {7}]]]&] (* Harvey P. Dale, Nov 01 2011 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Amarnath Murthy, Apr 06 2002
EXTENSIONS
Edited and extended by Robert G. Wilson v, May 03 2002
STATUS
approved