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

A162278
a(0)=1. For n >= 1, a(n) = the smallest prime either of the form a(n-1)*k - 1 or of the form a(n-1)*k + 1, for some k >= 2.
0
1, 2, 3, 5, 11, 23, 47, 281, 563, 2251, 22511, 225109, 450217, 2701301, 10805203, 43220813, 2333923901, 18671391209, 560141736269, 5601417362689, 22405669450757, 448113389015141, 3584907112121129, 186415169830298707
OFFSET
0,2
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Jun 29 2009
EXTENSIONS
Extended by R. J. Mathar, Jul 04 2009
STATUS
approved