login
A206035
a(n) = floor(10*(A064413(n) - n)/n).
0
0, 0, 3, 5, -4, 5, 7, 0, 1, -5, 3, 5, 0, -5, 4, 5, -1, 1, 1, -5, 5, 2, 3, 0, 4, 0, -1, -6, 3, 2, 0, 0, -5, 5, 2, 0, -5, 5, 1, 0, 0, 0, -5, 5, 0, 0, 1, 1, 1, -1, 2, 1, 0, 2, 2, 0, -5, 5, 1, 0, -5, 5, 1, 0, 0, 1, -5, 6, 0
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
Cf. A064413.
Sequence in context: A076308 A375097 A049528 * A200100 A057759 A205601
KEYWORD
sign,less
AUTHOR
Roger L. Bagula, Mar 12 2012
STATUS
approved