login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A175275 Base-3 pandigital primes: primes having at least one of each digit 0,1,2 when written in base 3. 8
11, 19, 29, 47, 59, 61, 73, 83, 89, 97, 101, 103, 107, 113, 127, 137, 139, 163, 167, 173, 179, 181, 191, 193, 197, 199, 223, 227, 251, 257, 263, 269, 277, 281, 293, 307, 311, 313, 317, 331, 347, 349, 353, 359, 379, 383, 389, 397, 409, 419, 421, 431, 433, 439 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Alonso Del Arte, Classifications of prime numbers - By representation in specific bases, OEIS Wiki as of Mar 19 2010.
MATHEMATICA
Select[Range[500], Min @ DigitCount[#, 3] > 0 && PrimeQ[#] &] (* Amiram Eldar, Apr 13 2021 *)
PROG
(PARI) base(n, b=16, s=0)={local(a=[n%b]); while(0<n\=b, a=concat(n%b, a)); if(s, s=32*s+23; Strchr(vectorsmall(#a, i, if(a[i]>9, s, 48)+a[i])), a)}
forprime(p=1, 999, #Set(base(p, 3))==3&print1(p", "))
CROSSREFS
Sequence in context: A034109 A155070 A080821 * A094517 A196669 A322548
KEYWORD
nonn,base
AUTHOR
M. F. Hasler, May 27 2010
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 22 21:27 EDT 2024. Contains 375369 sequences. (Running on oeis4.)