Maths WorkshopMaths problems with full solutions
Exercise 746Number theory › Divisibility and gcdL1Added 2 Nov 2026

Divisors of a product

#divisibility#coprime#product divisibility

Statement

Let a,b,ca,b,c be integers with \divisibility(a,b)=1\divisibility(a,b)=1. Show that if a∣bca\mid bc, then a∣ca\mid c.

Hint

Use Bézout: there exist u,vu,v with au+bv=1au+bv=1. Multiply by cc.

Show solutionHide solution

Solution

Bézout. Since \divisibility(a,b)=1\divisibility(a,b)=1, there exist integers u,vu,v such that
au+bv=1.au+bv=1.
Multiplying by cc:
acu+bcv=c.acu+bcv=c.

Divisibility. a∣acua\mid acu trivially, and a∣bcva\mid bcv since a∣bca\mid bc. Hence aa divides the sum, i.e. a∣ca\mid c.

Remark. This is Gauss's lemma, a fundamental tool in number.