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