A235156 Primes which have one or more occurrences of exactly four different digits.
1039, 1049, 1063, 1069, 1087, 1093, 1097, 1237, 1249, 1259, 1279, 1283, 1289, 1297, 1307, 1327, 1367, 1409, 1423, 1427, 1429, 1439, 1453, 1459, 1483, 1487, 1489, 1493, 1523, 1543, 1549, 1567, 1579, 1583, 1597, 1607, 1609, 1627, 1637, 1657, 1693, 1697, 1709
Offset: 1
Links
- Colin Barker, Table of n, a(n) for n = 1..1000
Programs
-
PARI
s=[]; forprime(n=1000, 2000, if(#vecsort(eval(Vec(Str(n))),,8)==4, s=concat(s, n))); s
Comments