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”).

A235155
Primes which have one or more occurrences of exactly three different digits.
6
103, 107, 109, 127, 137, 139, 149, 157, 163, 167, 173, 179, 193, 197, 239, 241, 251, 257, 263, 269, 271, 281, 283, 293, 307, 317, 347, 349, 359, 367, 379, 389, 397, 401, 409, 419, 421, 431, 439, 457, 461, 463, 467, 479, 487, 491, 503, 509, 521, 523, 541, 547
OFFSET
1,1
COMMENTS
The first term having a repeated digit is 1009.
LINKS
Christopher M. Conrey, Table of n, a(n) for n = 1..10000 (first 2000 terms from Colin Barker)
Christopher M. Conrey, MATLAB Program
MATHEMATICA
Select[Prime[Range[200]], Count[DigitCount[#], 0]==7&] (* Harvey P. Dale, Jul 27 2020 *)
PROG
(PARI) s=[]; forprime(n=100, 1000, if(#vecsort(eval(Vec(Str(n))), , 8)==3, s=concat(s, n))); s
(MATLAB) %See Conrey Link
KEYWORD
nonn,base
AUTHOR
Colin Barker, Jan 04 2014
STATUS
approved