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!)
A259146 Smallest prime with first n digits distinct. 1
2, 13, 103, 1039, 10243, 102359, 1023467, 10234589, 102345689, 10234567897 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The sequence is complete: n=1..10.
LINKS
FORMULA
a(n) = A007809(n), n<=9. - R. J. Mathar, Jul 06 2015
PROG
(Python)
from sympy import nextprime
def a(n):
p = nextprime(10**(n-1))
while len(set(str(p)[:n])) < n: p = nextprime(p)
return p
for n in range(1, 11):
print(a(n), end=", ") # Michael S. Branicky, Feb 13 2021
CROSSREFS
Sequence in context: A113598 A125589 A007809 * A103513 A067024 A371583
KEYWORD
nonn,base,fini,full
AUTHOR
Zak Seidov, Jun 19 2015
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 April 19 16:21 EDT 2024. Contains 371794 sequences. (Running on oeis4.)