Enter an equation or problem
Camera input is not recognized!

Solution - Number theory calculator

Solution

gcd(65173918,10000)=2
gcd(65173918,10000)=2

Other Ways to Solve

Number theory calculator

Step-by-step explanation

1. Identify the problem

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

gcd(65173918,10000)

2. Apply the Euclidean algorithm

65173918 = 10000*6517 + 3918

10000 = 3918*2 + 2164

3918 = 2164*1 + 1754

2164 = 1754*1 + 410

1754 = 410*4 + 114

410 = 114*3 + 68

114 = 68*1 + 46

68 = 46*1 + 22

46 = 22*2 + 2

22 = 2*11 + 0

gcd(65173918,10000)=2

3. Back-substitute to find coefficients

gcd(65173918,10000) = 2.

Bezout coefficients: 65173918*(439) + 10000*(-2861135) = 2.

65173918⋅(439)+10000⋅(−2861135)=2

4. Verify the result

65173918*(439) + 10000*(-2861135) = 2 = 2. Verified.

Why learn this

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

Terms and topics