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!)
A214061 Least m>0 such that gcd(2*n-1+m, 2*n-m) > 1. 3
2, 4, 6, 2, 10, 12, 2, 16, 3, 2, 22, 24, 2, 3, 30, 2, 34, 36, 2, 40, 42, 2, 4, 3, 2, 52, 54, 2, 3, 4, 2, 64, 66, 2, 70, 6, 2, 76, 3, 2, 82, 84, 2, 3, 90, 2, 6, 96, 2, 100, 4, 2, 106, 3, 2, 112, 114, 2, 3, 120, 2, 7, 126, 2, 4, 132, 2, 136, 3, 2, 142, 4, 2, 3, 7, 2, 154, 156 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
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
Cf. A214062.
Sequence in context: A352599 A242593 A094752 * A260300 A182291 A071294
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jul 25 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 25 01:06 EDT 2024. Contains 371964 sequences. (Running on oeis4.)