Enter an equation or problem
Camera input is not recognized!

Solution - Number theory calculator

Solution

gcd(1852,10000000)=4
gcd(1852,10000000)=4

Other Ways to Solve

Number theory calculator

Step-by-step explanation

1. Identify the problem

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

gcd(1852,10000000)

2. Apply the Euclidean algorithm

1852 = 10000000*0 + 1852

10000000 = 1852*5399 + 1052

1852 = 1052*1 + 800

1052 = 800*1 + 252

800 = 252*3 + 44

252 = 44*5 + 32

44 = 32*1 + 12

32 = 12*2 + 8

12 = 8*1 + 4

8 = 4*2 + 0

gcd(1852,10000000)=4

3. Back-substitute to find coefficients

gcd(1852,10000000) = 4.

Bezout coefficients: 1852*(912527) + 10000000*(-169) = 4.

1852⋅(912527)+10000000⋅(−169)=4

4. Verify the result

1852*(912527) + 10000000*(-169) = 4 = 4. Verified.

Why learn this

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

Terms and topics