login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A261184 Primes that contain only the digits (6, 7, 9). 2
7, 67, 79, 97, 677, 769, 797, 967, 977, 997, 6679, 6779, 6967, 6977, 6997, 7669, 7699, 9677, 9679, 9697, 9767, 9769, 9967, 66697, 66797, 66977, 67679, 67699, 67777, 67967, 67979, 69677, 69697, 69767, 69779, 69997, 76667, 76679, 76697, 76777, 77699, 77797 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
A020469 and A020471 are subsequences.
LINKS
James Maynard and Brady Haran, Primes without a 7, Numberphile video (2019)
MATHEMATICA
Select[Prime[Range[6 10^4]], Complement[IntegerDigits[#], {6, 7, 9}] == {} &]
Select[Flatten[Table[FromDigits/@Tuples[{6, 7, 9}, n], {n, 5}]], PrimeQ] (* Harvey P. Dale, Jun 18 2021 *)
PROG
(Magma) [p: p in PrimesUpTo(2*10^5) | Set(Intseq(p)) subset [6, 7, 9]];
CROSSREFS
Cf. similar sequences listed in A261181.
Sequence in context: A210476 A217095 A106111 * A142786 A139783 A103102
KEYWORD
nonn,easy,base
AUTHOR
Vincenzo Librandi, Aug 11 2015
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 18:04 EDT 2024. Contains 371254 sequences. (Running on oeis4.)