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

GCD of three numbers

#gcd#three numbers#Euclidean

Statement

Compute gcd⁡(120,84,36)\gcd(120, 84, 36).

Hint

Compute gcd⁡(120,84)\gcd(120,84) first, then gcd⁡\gcd of the result with 3636.

Show solutionHide solution

Solution

Euclidean. gcd⁡(120,84)\gcd(120,84): 120=1⋅84+36120=1\cdot84+36, 84=2⋅36+1284=2\cdot36+12, 36=3⋅12+036=3\cdot12+0. So gcd⁡(120,84)=12\gcd(120,84)=12.

Then. gcd⁡(12,36)=12\gcd(12,36)=12.

Conclusion. gcd⁡(120,84,36)=12\gcd(120,84,36)=12.

Remark. The GCD of several numbers can be computed by taking GCDs pairwise.