A101592 Smallest and largest of the n-digit primes.
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
Offset: 1
Examples
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.
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
- Chris K. Caldwell List of small primes.
Programs
-
Mathematica
Table[{NextPrime[10^n],NextPrime[10^(n+1),-1]},{n,0,15}]//Flatten (* Harvey P. Dale, Jun 04 2019 *)