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

A069679
Primes with either no internal digits or all internal digits are 4.
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, 149, 241, 347, 349, 443, 449, 541, 547, 641, 643, 647, 743, 941, 947, 1447, 2441, 2447, 3449, 4441, 4447, 5441, 5443, 5449, 6449, 8443, 8447, 14447, 14449, 24443, 44449
OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..77 (all terms up to the one millionth prime)
MATHEMATICA
Join[Prime[Range[25]], Select[Prime[Range[26, 5000]], Union[Most[Rest[ IntegerDigits[ #]]]] =={4}&]] (* Harvey P. Dale, Dec 08 2022 *)
KEYWORD
nonn,base
AUTHOR
Amarnath Murthy, Apr 06 2002
EXTENSIONS
Corrected by Ray Chandler, Nov 24 2003
Offset corrected and name changed by Arkadiusz Wesolowski, Sep 07 2011
STATUS
approved