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”).

A099661
a(n) is the least prime following A002281[n] repdigits.
0
2, 11, 79, 787, 7789, 77783, 777781, 7777801, 77777803, 777777799, 7777777781, 77777777827, 777777777841, 7777777777859, 77777777777837, 777777777777787, 7777777777777867, 77777777777777797, 777777777777777817
OFFSET
0,1
EXAMPLE
n=6: 77 is followed by 79.
MATHEMATICA
Table[Table[NextPrime[7*(10^n-1)/9], {n, 0, 35}]
NextPrime/@LinearRecurrence[{11, -10}, {0, 7}, 35] (* Harvey P. Dale, Dec 12 2021 *)
KEYWORD
base,nonn
AUTHOR
Labos Elemer, Nov 17 2004
STATUS
approved