Finding a greatest common divisor

What is the greatest common divisor of 2982 2982 and 2016 2016 ?


The answer is 42.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Arron Kau Staff
May 13, 2014

Solution 1: We can use the Euclidean Algorithm .

gcd ( 2982 , 2016 ) = gcd ( 2016 , 966 ) = gcd ( 966 , 84 ) = gcd ( 84 , 42 ) = gcd ( 42 , 0 ) = 42. \begin{array}{rcl} \gcd(2982,2016) & = & \gcd(2016, 966)\\ & = & \gcd(966, 84)\\ & = & \gcd(84,42)\\ & = & \gcd(42,0)\\ & = & 42.\\ \end{array}

Solution 2: We can factor 2982 = 2 × 3 × 7 × 71 2982 = 2 \times 3 \times 7 \times 71 and 2016 = 2 5 × 3 2 × 7 2016 = 2^5 \times 3^2 \times 7 . Then

gcd ( 2982 , 2016 ) = 2 1 × 3 1 × 7 1 = 42. \gcd(2982,2016) = 2^{1} \times 3^{1} \times 7^{1} = 42.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...