example of gcd
If one calculates values of the polynomial
on the successive positive integers , one may observe an interesting thing when factoring the values:
. . .
It seems as if two consecutive values always have at least one common odd prime factor, i.e. they have the greatest common divisor .
It is indeed true. The reason of this fact is not particularly deep. It is easily understood if we can factorize this polynomial (http://planetmath.org/GroupingMethodForFactoringPolynomials):
Then
(1) |
and the next value is
(2) |
Thus and have as their common factor at least the number , which is .
Moreover, we may show that the greatest common divisor of and is except in the case where it is .
Let be a common divisor, greater than 1, of the first factors and of (1) and (2). It’s clear that is odd (http://planetmath.org/OddNumber). Then must divide the difference and the sum and hence also the difference . It means that . Thus the only possible common prime factor of and is 7. If we denote where , we see that
It’s easy to check that the right hand of these polynomial congruences are divisible by 7 only if , i.e. if .
Note. The sequence formed by the successive values of is number A111002 in Sloane’s register (https://oeis.org/A111002http://www.research.att.com/ njas/sequences/).
Title | example of gcd |
---|---|
Canonical name | ExampleOfGcd |
Date of creation | 2014-10-25 7:09:30 |
Last modified on | 2014-10-25 7:09:30 |
Owner | pahio (2872) |
Last modified by | pahio (2872) |
Numerical id | 19 |
Author | pahio (2872) |
Entry type | Example |
Classification | msc 11A51 |
Related topic | Divisibility |
Related topic | GreatestCommonDivisor |
Related topic | Congruences |
Related topic | PolynomialCongruence |
Related topic | GroupingMethodForFactorizingPolynomials |