Maths WorkshopMaths problems with full solutions
Exercise 915Number theory › Divisibility and gcdL1Added 3 Nov 2026

Linear relations and coprimality

#coprime#linear relation#proof

Statement

Show that aa and bb are coprime iff there exist u,v∈Zu,v\in\mathbb{Z} with au+bv=1au+bv=1.

Hint

Forward: Bézout. Converse: any common divisor divides 11.

Show solutionHide solution

Solution

Forward. Bézout's identity for coprime integers.

Converse. If d∣ad\mid a and d∣bd\mid b, then d∣au+bv=1d\mid au+bv=1. So d=1d=1.

Conclusion. Coprimality is equivalent to the existence of a Bézout relation equal to 11.