login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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
OFFSET
1,1
LINKS
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