login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A020468 Primes that contain digits 5 and 9 only. 5

%I

%S 5,59,599,59999,95959,99559,599959,599999,995959,999599,999959,

%T 5595559,5595599,5599999,5955959,5995999,5999599,9555599,9559999,

%U 9595559,9955559,9995599,55555559,55559599,55595599,55599959,55959559,59999999,95559559

%N Primes that contain digits 5 and 9 only.

%H Vincenzo Librandi, <a href="/A020468/b020468.txt">Table of n, a(n) for n = 1..1000</a>

%t Flatten[Table[Select[FromDigits/@Tuples[{5,9},n],PrimeQ],{n,8}]] (* _Vincenzo Librandi_, Jul 27 2012 *)

%o (MAGMA) [p: p in PrimesUpTo(95559559 ) | Set(Intseq(p)) subset [5,9]]; // _Vincenzo Librandi_, Jul 27 2012

%K nonn,base

%O 1,1

%A _David W. Wilson_

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 20 04:12 EST 2020. Contains 332063 sequences. (Running on oeis4.)