OFFSET
1,2
LINKS
MATHEMATICA
ekGrapher[s_List] := Block[{m = s[[-1]], k = 3}, While[MemberQ[s, k] || GCD[m, k] == 1, k++]; Append[s, k]];
FactorInteger[#][[-1, 1]]& /@ Nest[ekGrapher, {1, 2}, 100] (* Jean-François Alcover, Dec 20 2021, after Robert G. Wilson v in A064413 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 18 2018
STATUS
approved