OFFSET
1,3
MATHEMATICA
a = Nest[Block[{lst = Last[#]}, Join[#, Cases[Complement[Range[lst^2], #], n_ /; GCD[lst, n] > 1, 1, 1]]] &, {1, 2}, 123]; (* Peter Pein's EKG code *)
b = Table[Floor[10*(a[[n]] - n)/n], {n, 1, Length[a]}]
CROSSREFS
KEYWORD
sign,less
AUTHOR
Roger L. Bagula, Mar 12 2012
STATUS
approved