A261268 Primes having only {0, 2, 9} as digits.
2, 29, 229, 929, 2029, 2099, 2909, 2999, 9029, 9209, 9929, 20029, 20929, 22229, 29009, 29209, 92009, 99929, 200009, 200029, 200909, 200929, 202099, 202999, 209029, 209299, 209929, 220009, 222029, 290209, 290999, 292909, 299029, 299099, 299909, 900929
Offset: 1
Links
Programs
-
Magma
[p: p in PrimesUpTo(2*10^6) | Set(Intseq(p)) subset [0, 2, 9]];
-
Mathematica
Select[Prime[Range[2 10^5]], Complement[IntegerDigits[#], {0, 2, 9}] == {} &]
Comments