OFFSET
1,1
MATHEMATICA
a = {1, 2, 3}; NN = Range[4, 12000]; g = {-1}; While[g[[1]] != 0, g = Flatten[{FirstPosition[NN, v_ /; GCD[a[[-1]], v] == 1 && GCD[a[[-2]], v] > 1, 0]}]; If[g[[1]] != 0, d = NN[[g]]; a = Flatten[Append[a, d[[1]]]]; NN = Delete[NN, g[[1]]]]]; a002110[n_] := Product[Prime[j], {j, n}]; Flatten[Table[Position[a, k_ /; k == a002110[n]], {n, 5}]]
CROSSREFS
KEYWORD
nonn,more
AUTHOR
L. Edson Jeffery, Jan 04 2015
STATUS
approved