login
A133833
Smallest and largest primes with number of decimal digits equal to n-th prime.
0
11, 97, 101, 997, 10007, 99991, 1000003, 9999991, 10000000019, 99999999977, 1000000000039, 9999999999971, 10000000000000061, 99999999999999997, 1000000000000000003, 9999999999999999961
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
Sequence in context: A115351 A154997 A137017 * A142260 A389264 A016140
KEYWORD
nonn,base
AUTHOR
Parthasarathy Nambi, Jan 06 2008
EXTENSIONS
More terms from Harvey P. Dale, Nov 21 2018
STATUS
approved