login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A214056 Least m>0 such that 2^n+m and n-m have a common divisor > 1. 4
1, 2, 3, 2, 5, 1, 1, 2, 9, 2, 11, 2, 1, 2, 15, 2, 3, 2, 1, 2, 8, 2, 23, 2, 1, 1, 2, 2, 29, 2, 1, 2, 3, 2, 35, 2, 1, 2, 39, 2, 41, 2, 1, 2, 1, 1, 2, 2, 1, 2, 14, 1, 2, 2, 1, 2, 57, 2, 3, 2, 1, 2, 63, 2, 65, 1, 1, 2, 6, 2, 6, 2, 1, 2, 75, 2, 77, 2, 1, 2, 81, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
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
Cf. A214057.
Sequence in context: A120007 A092509 A214053 * A368900 A014973 A276835
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jul 22 2012
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 10:38 EDT 2024. Contains 371791 sequences. (Running on oeis4.)