Enter an equation or problem
Camera input is not recognized!

Solution - Number theory calculator

Solution

gcd(81890022,10000)=2
gcd(81890022,10000)=2

Other Ways to Solve

Number theory calculator

Step-by-step explanation

1. Identify the problem

Find gcd(81890022,10000) using the Extended Euclidean Algorithm.

gcd(81890022,10000)

2. Apply the Euclidean algorithm

81890022 = 10000*8189 + 22

10000 = 22*454 + 12

22 = 12*1 + 10

12 = 10*1 + 2

10 = 2*5 + 0

gcd(81890022,10000)=2

3. Back-substitute to find coefficients

gcd(81890022,10000) = 2.

Bezout coefficients: 81890022*(-909) + 10000*(7443803) = 2.

81890022⋅(−909)+10000⋅(7443803)=2

4. Verify the result

81890022*(-909) + 10000*(7443803) = 2 = 2. Verified.

Why learn this

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

Terms and topics