OFFSET
1,1
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..1000
EXAMPLE
gcd(7+1, 8-1) = 1 and gcd(7+2, 8-2) > 1, so that a(4) = 2.
MATHEMATICA
b[n_] := 2 n - 1; c[n_] := 2 n; Table[m = 1; While[GCD[b[n] + m, c[n] - m] == 1, m++]; m, {n, 150}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jul 25 2012
STATUS
approved