OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
Chris K. Caldwell List of small primes.
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
Parthasarathy Nambi, Jan 26 2005
STATUS
approved