A099658 a(n) is the smallest prime greater than 4(10^n - 1)/9.
2, 5, 47, 449, 4447, 44449, 444449, 4444469, 44444453, 444444457, 4444444447, 44444444497, 444444444461, 4444444444493, 44444444444459, 444444444444461, 4444444444444463, 44444444444444461, 444444444444444469, 4444444444444444537, 44444444444444444447
Offset: 0
Examples
n=4: 44 is followed by 47.
Programs
-
Mathematica
Table[NextPrime[4*(10^n-1)/9], {n, 0, 35}]
Extensions
Checked by N. J. A. Sloane, Jan 27 2007
Mathematica program edited by Harvey P. Dale, Jul 16 2024
Comments