|
|
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
|
|
|
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
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|