OFFSET
1,2
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..1000
EXAMPLE
gcd(17,7) = 1, gcd(19,6) = 1, gcd(20,5) = 5, so a(8) = 3.
MATHEMATICA
Table[m = 1; While[GCD[2n+1+m, n - m] != 1, m++]; m, {n, 1, 140}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jul 28 2012
STATUS
approved