Exercise 234Number theory › Divisibility and gcdHigh schoolAdded 3 Nov 2026
The HCF of consecutive integers
#coprime#consecutive integers#gcd
Statement
Show that and for all .
Hint
For the first, note that a common divisor divides . For the second, find a linear combination that gives .
Show solutionHide solution
Solution
First. If and , then . So .
Second. Compute . So any common divisor divides .
Conclusion. Both pairs are coprime for all .