Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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