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!)
A020468 Primes that contain digits 5 and 9 only. 6
5, 59, 599, 59999, 95959, 99559, 599959, 599999, 995959, 999599, 999959, 5595559, 5595599, 5599999, 5955959, 5995999, 5999599, 9555599, 9559999, 9595559, 9955559, 9995599, 55555559, 55559599, 55595599, 55599959, 55959559, 59999999, 95559559 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
Flatten[Table[Select[FromDigits/@Tuples[{5, 9}, n], PrimeQ], {n, 8}]] (* Vincenzo Librandi, Jul 27 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(95559559 ) | Set(Intseq(p)) subset [5, 9]]; // Vincenzo Librandi, Jul 27 2012
CROSSREFS
Sequence in context: A099151 A243219 A113055 * A093946 A249519 A371327
KEYWORD
nonn,base
AUTHOR
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 April 23 10:29 EDT 2024. Contains 371905 sequences. (Running on oeis4.)