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

A069678
Primes with either no internal digits or all internal digits are 3.
9
2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 131, 137, 139, 233, 239, 331, 337, 431, 433, 439, 631, 733, 739, 839, 937, 2333, 2339, 3331, 4337, 4339, 5333, 6337, 7331, 7333, 9337, 13331, 13337, 13339, 23333, 23339
OFFSET
1,1
LINKS
MATHEMATICA
Join[Prime[Range[25]], Select[Flatten[Table[10FromDigits[PadRight[{n}, k, 3]]+d, {n, 9}, {d, {1, 3, 7, 9}}, {k, 2, 5}]], PrimeQ]]//Sort (* Harvey P. Dale, Aug 08 2020 *)
KEYWORD
nonn,base
AUTHOR
Amarnath Murthy, Apr 06 2002
EXTENSIONS
Offset corrected and name changed by Arkadiusz Wesolowski, Sep 07 2011
STATUS
approved