OFFSET
1,1
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..1000
EXAMPLE
gcd(15+1,48-1) = 1, gcd(15+2,48-2) = 1, gcd(15+3,48-3) > 1, so that a(3) = 3.
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, 1, 140}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jul 26 2012
STATUS
approved