A260127 Primes having only {2, 3, 8} as digits.
2, 3, 23, 83, 223, 233, 283, 383, 823, 883, 2333, 2383, 2833, 3323, 3823, 3833, 8233, 22283, 23333, 23833, 28283, 32233, 32323, 32833, 33223, 38333, 38833, 82223, 82883, 83233, 83383, 83833, 88223, 88883, 222323, 222823, 222883, 223283, 223823, 228223, 228233
Offset: 1
Links
Programs
-
Magma
[p: p in PrimesUpTo(300000) | Set(Intseq(p)) subset [2, 3, 8]];
-
Mathematica
Select[Prime[Range[3 10^4]], Complement[IntegerDigits[#], {2, 3, 8}]=={} &]
Comments