Maths WorkshopMaths problems with full solutions
Exercise 205Number theory › Divisibility and gcdHigh schoolAdded 2 Nov 2026

Consecutive integers are coprime

#coprime#consecutive integers#Euclidean algorithm

Statement

Show that for every integer nn, \divisibility(n,n+1)=1\divisibility(n,n+1)=1.

Hint

Any common divisor divides their difference.

Show solutionHide solution

Solution

Let d=\divisibility(n,n+1)d=\divisibility(n,n+1). Then d∣nd\mid n and d∣n+1d\mid n+1, so d∣(n+1)−n=1d\mid (n+1)-n=1. Hence d=1d=1.

Remark. This is the simplest example of the Euclidean algorithm: n+1=1⋅n+1n+1=1\cdot n+1 and n=1⋅n+0n=1\cdot n+0, so the last nonzero remainder is 11.