login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A235154 Primes which have one or more occurrences of exactly two different digits. 20
13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 113, 131, 151, 181, 191, 199, 211, 223, 227, 229, 233, 277, 311, 313, 331, 337, 353, 373, 383, 433, 443, 449, 499, 557, 577, 599, 661, 677, 727, 733, 757, 773, 787, 797, 811 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

The first term having a repeated digit is 101.

LINKS

Colin Barker, Table of n, a(n) for n = 1..650

PROG

(PARI) s=[]; forprime(n=10, 1000, if(#vecsort(eval(Vec(Str(n))), , 8)==2, s=concat(s, n))); s

(PARI) is(n)=isprime(n) && #Set(digits(n))==2 \\ Charles R Greathouse IV, Feb 23 2017

CROSSREFS

Cf. A235155-A235161, A030291.

Sequence in context: A322274 A008365 A132077 * A045921 A296520 A334391

Adjacent sequences:  A235151 A235152 A235153 * A235155 A235156 A235157

KEYWORD

nonn,base

AUTHOR

Colin Barker, Jan 04 2014

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 29 20:42 EDT 2020. Contains 334710 sequences. (Running on oeis4.)