login
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