login
This site is supported by donations to The OEIS Foundation.

 

Logo


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

%I

%S 2,29,229,929,2999,9929,22229,99929,2222929,2229299,2292299,2299229,

%T 2922229,2992229,2992999,2999299,2999999,9222229,9922229,9929929,

%U 9929999,9999299,9999929,22229299,22292929,22299229,22929299,29229229,29229929

%N Primes that contain digits 2 and 9 only.

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

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

%o (MAGMA) [p: p in PrimesUpTo(29229929) | Set(Intseq(p)) subset [2, 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 August 23 01:10 EDT 2019. Contains 326211 sequences. (Running on oeis4.)