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”).

A050715
Inserting a digit '5' between adjacent digits of n makes a prime.
7
11, 17, 21, 27, 33, 39, 47, 57, 63, 69, 71, 77, 83, 87, 89, 93, 103, 129, 139, 141, 151, 159, 189, 199, 207, 213, 223, 237, 243, 247, 267, 279, 291, 301, 303, 309, 313, 319, 321, 327, 333, 373, 379, 381, 391, 403, 429, 453, 457, 469, 471, 477, 483, 493, 499
OFFSET
1,1
LINKS
EXAMPLE
373 becomes 3(5)7(5)3 which is prime 35753.
MATHEMATICA
Select[Range[10, 500], PrimeQ[FromDigits[Riffle[IntegerDigits[#], 5]]]&] (* Harvey P. Dale, Apr 07 2018 *)
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Aug 15 1999
EXTENSIONS
Offset changed to 1 by Georg Fischer, Oct 15 2019
STATUS
approved