OFFSET
1,2
COMMENTS
See the "Graph of first 300000 terms" in A098550.
LINKS
Robert G. Wilson v, Table of n, a(n) for n = 1..121
MATHEMATICA
f[lst_List] := Block[{k = 4}, While[ GCD[ lst[[-2]], k] == 1 || GCD[ lst[[-1]], k] > 1 || MemberQ[lst, k], k++]; Append[lst, k]]; records[s_List] := Block[{k = 1, lmt = 1 + Length@ s, lst = {}, mx = 0}, While[k < lmt, If[ s[[k]] > mx, mx = s[[k]]; AppendTo[lst, mx]]; k++]; lst]; s = Nest[f, {1, 2, 3}, 1000]; records[s]
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Dec 02 2014
STATUS
approved