A133833 Smallest and largest primes with number of decimal digits equal to n-th prime.
11, 97, 101, 997, 10007, 99991, 1000003, 9999991, 10000000019, 99999999977, 1000000000039, 9999999999971, 10000000000000061, 99999999999999997, 1000000000000000003, 9999999999999999961
Offset: 1
Examples
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.
Programs
-
Mathematica
Table[{NextPrime[10^(n-1)],NextPrime[10^n,-1]},{n,Prime[Range[8]]}] // Flatten (* Harvey P. Dale, Nov 21 2018 *)
Extensions
More terms from Harvey P. Dale, Nov 21 2018