OFFSET
1,1
EXAMPLE
11, 97 are respectively the smallest and the largest 2-digit primes.
101, 997 are respectively the smallest and the largest 3-digit primes.
10007, 99991 are respectively the smallest and the largest 5-digit primes.
MATHEMATICA
Table[{NextPrime[10^(n-1)], NextPrime[10^n, -1]}, {n, Prime[Range[8]]}] // Flatten (* Harvey P. Dale, Nov 21 2018 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Parthasarathy Nambi, Jan 06 2008
EXTENSIONS
More terms from Harvey P. Dale, Nov 21 2018
STATUS
approved
