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!)
A259152 a(n) = smallest n-digit prime with first 10 digits distinct. 1
10234567897, 102345678907, 1023456789013, 10234567890077, 102345678900007, 1023456789000073, 10234567890000053, 102345678900000059, 1023456789000000049, 10234567890000000007 (list; graph; refs; listen; history; text; internal format)
OFFSET
11,1
COMMENTS
There is no 10-digit prime with the first 10 digits distinct, hence offset=11.
LINKS
MAPLE
seq(nextprime(1023456789*10^(d-10)), d=11..100); # Robert Israel, Jun 19 2015
MATHEMATICA
Table[NextPrime[1023456789*10^(d - 10)], {d, 11, 100}] (* Michael De Vlieger, Jun 19 2015, after the Maple by Robert Israel *)
PROG
(Perl) use Math::GMPz; use ntheory ":all"; do { my $n=next_prime(1023456789 * Math::GMPz->new(10)**($_-10)); say $n; } for (11..100); # Dana Jacobsen, Jun 26 2015
CROSSREFS
Sequence in context: A144648 A098143 A276590 * A371361 A135047 A017541
KEYWORD
nonn,base
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 May 6 12:40 EDT 2024. Contains 372293 sequences. (Running on oeis4.)