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!)
A214062 Least m>0 such that gcd(2*n+m, 2*n-1-m) > 1. 3
1, 3, 5, 1, 9, 11, 1, 15, 2, 1, 21, 23, 1, 2, 29, 1, 33, 35, 1, 39, 41, 1, 3, 2, 1, 51, 53, 1, 2, 3, 1, 63, 65, 1, 69, 5, 1, 75, 2, 1, 81, 83, 1, 2, 89, 1, 5, 95, 1, 99, 3, 1, 105, 2, 1, 111, 113, 1, 2, 119, 1, 6, 125, 1, 3, 131, 1, 135, 2, 1, 141, 3, 1, 2, 6, 1, 153, 155, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = A214061(n)-1 for n>=1.
EXAMPLE
gcd(4+1, 3-1) = gcd(4+2, 3-2) = 1 and gcd(4+3, 3-3) > 1, so that a(2) = 3.
MATHEMATICA
b[n_] := 2 n; c[n_] := 2 n-1;
Table[m = 1; While[GCD[b[n] + m, c[n] - m] == 1, m++]; m, {n, 1, 150}]
CROSSREFS
Cf. A214061.
Sequence in context: A241674 A021970 A115335 * A054586 A214229 A214728
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 March 29 07:27 EDT 2024. Contains 371265 sequences. (Running on oeis4.)