login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Primes which have one or more occurrences of exactly four different digits.
3

%I #12 Oct 29 2014 12:20:57

%S 1039,1049,1063,1069,1087,1093,1097,1237,1249,1259,1279,1283,1289,

%T 1297,1307,1327,1367,1409,1423,1427,1429,1439,1453,1459,1483,1487,

%U 1489,1493,1523,1543,1549,1567,1579,1583,1597,1607,1609,1627,1637,1657,1693,1697,1709

%N Primes which have one or more occurrences of exactly four different digits.

%C The first term having a repeated digit is 10037.

%H Colin Barker, <a href="/A235156/b235156.txt">Table of n, a(n) for n = 1..1000</a>

%o (PARI) s=[]; forprime(n=1000, 2000, if(#vecsort(eval(Vec(Str(n))),,8)==4, s=concat(s, n))); s

%Y Cf. A235154, A235155, A235157-A235161.

%Y Cf. A074673.

%K nonn,base

%O 1,1

%A _Colin Barker_, Jan 04 2014