|
|
A101592
|
|
Smallest and largest of the n-digit primes.
|
|
1
|
|
|
2, 7, 11, 97, 101, 997, 1009, 9973, 10007, 99991, 100003, 999983, 1000003, 9999991, 10000019, 99999989, 100000007, 999999937, 1000000007, 9999999967, 10000000019, 99999999977, 100000000003, 999999999989, 1000000000039, 9999999999971, 10000000000037
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
EXAMPLE
|
2 is the smallest 1-digit prime and 7 is the largest 1-digit prime.
100003 is the smallest 6-digit prime and 999983 is the largest 6-digit prime.
|
|
MATHEMATICA
|
Table[{NextPrime[10^n], NextPrime[10^(n+1), -1]}, {n, 0, 15}]//Flatten (* Harvey P. Dale, Jun 04 2019 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|