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

GCD and product of coprime factors

#gcd#coprime#factorization

Statement

Let a,b,c∈N∗a,b,c\in\mathbb{N}^* with gcd⁡(a,b)=1\gcd(a,b)=1 and a∣ca\mid c, b∣cb\mid c. Show that ab∣cab\mid c.

Hint

Use Bézout: au+bv=1au+bv=1. Multiply by cc.

Show solutionHide solution

Solution

Bézout. au+bv=1au+bv=1 for some u,v∈Zu,v\in\mathbb{Z}.

Multiply by cc. acu+bcv=cacu+bcv=c.

Divisibility. a∣acua\mid acu trivially. For bcvbcv: a∣ca\mid c, so a∣bcva\mid bcv iff a∣b⋅(multiple of a)⋅va\mid b\cdot(\text{multiple of }a)\cdot v... hmm, this needs b∣cb\mid c, not a∣ca\mid c.

Let me redo. Since b∣cb\mid c, c=kbc=kb. Then a∣kba\mid kb and gcd⁡(a,b)=1\gcd(a,b)=1, so a∣ka\mid k (Gauss). Thus ab∣kb=cab\mid kb=c.

Conclusion. ab∣cab\mid c.