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

A072534
a(1) = 2, a(2) = 3 and a(n) = the smallest prime of the form k*a(n-1) - a(n-2).
1
2, 3, 7, 11, 37, 137, 1607, 28789, 631751, 30295259, 544682911, 8684631317, 34193842357, 2658435072529, 31867027027991, 698416159543273, 25111114716529837, 501523878171053467, 977936641625577097
OFFSET
1,1
LINKS
MATHEMATICA
nxt[{a_, b_}]:=Module[{k=1}, While[!PrimeQ[k*b-a], k++]; {b, k*b-a}]; Transpose[ NestList[nxt, {2, 3}, 20]][[1]] (* Harvey P. Dale, Apr 06 2016 *)
CROSSREFS
Sequence in context: A034295 A338320 A056354 * A056292 A106125 A175171
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Aug 02 2002
EXTENSIONS
More terms from Sascha Kurz, Feb 12 2003
STATUS
approved