OFFSET
1,1
FORMULA
EXAMPLE
a(5) = 13, 2^13 - 1 = 8192 < 10^5.
PROG
(Python)
from sympy import prevprime
def A361977(n): return prevprime((10**n-1).bit_length()) # Chai Wah Wu, Apr 02 2023
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jack Braxton, Apr 02 2023
STATUS
approved