A069662 Largest n-digit prime with maximum digit sum.
7, 89, 997, 8999, 99989, 989999, 9899999, 99999989, 998999999, 9999898999, 99989999999, 999999999989, 9999999999799, 99999999899999, 999999999999989, 9999999999989999, 99999999999899999, 999999999999999989, 9998999999999999999, 99999999999999999989
Offset: 1
Extensions
More terms from Rick L. Shepherd, Jul 15 2002. a(5) through a(20) have been certified prime with Primo.