Enter an equation or problem
Camera input is not recognized!

Solution - Number theory calculator

Solution

gcd(39800000,10000000)=200000
gcd(39800000,10000000)=200000

Other Ways to Solve

Number theory calculator

Step-by-step explanation

1. Identify the problem

Find gcd(39800000,10000000) using the Extended Euclidean Algorithm.

gcd(39800000,10000000)

2. Apply the Euclidean algorithm

39800000 = 10000000*3 + 9800000

10000000 = 9800000*1 + 200000

9800000 = 200000*49 + 0

gcd(39800000,10000000)=200000

3. Back-substitute to find coefficients

gcd(39800000,10000000) = 200000.

Bezout coefficients: 39800000*(-1) + 10000000*(4) = 200000.

39800000⋅(−1)+10000000⋅(4)=200000

4. Verify the result

39800000*(-1) + 10000000*(4) = 200000 = 200000. Verified.

Why learn this

Learn more with Tiger
Number theory underlies cryptography, coding theory, and many competitive programming problems.

Terms and topics