Enter an equation or problem
Camera input is not recognized!

Solution - Number theory calculator

Solution

gcd(1268,100000000)=4
gcd(1268,100000000)=4

Other Ways to Solve

Number theory calculator

Step-by-step explanation

1. Identify the problem

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

gcd(1268,100000000)

2. Apply the Euclidean algorithm

1268 = 100000000*0 + 1268

100000000 = 1268*78864 + 448

1268 = 448*2 + 372

448 = 372*1 + 76

372 = 76*4 + 68

76 = 68*1 + 8

68 = 8*8 + 4

8 = 4*2 + 0

gcd(1268,100000000)=4

3. Back-substitute to find coefficients

gcd(1268,100000000) = 4.

Bezout coefficients: 1268*(11829653) + 100000000*(-150) = 4.

1268⋅(11829653)+100000000⋅(−150)=4

4. Verify the result

1268*(11829653) + 100000000*(-150) = 4 = 4. Verified.

Why learn this

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

Terms and topics