Enter an equation or problem
Camera input is not recognized!

Solution - Number theory calculator

Solution

gcd(87000000,100000000)=1000000
gcd(87000000,100000000)=1000000

Other Ways to Solve

Number theory calculator

Step-by-step explanation

1. Identify the problem

Find gcd(87000000,100000000) using the Extended Euclidean Algorithm.

gcd(87000000,100000000)

2. Apply the Euclidean algorithm

87000000 = 100000000*0 + 87000000

100000000 = 87000000*1 + 13000000

87000000 = 13000000*6 + 9000000

13000000 = 9000000*1 + 4000000

9000000 = 4000000*2 + 1000000

4000000 = 1000000*4 + 0

gcd(87000000,100000000)=1000000

3. Back-substitute to find coefficients

gcd(87000000,100000000) = 1000000.

Bezout coefficients: 87000000*(23) + 100000000*(-20) = 1000000.

87000000⋅(23)+100000000⋅(−20)=1000000

4. Verify the result

87000000*(23) + 100000000*(-20) = 1000000 = 1000000. Verified.

Why learn this

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

Terms and topics