Enter an equation or problem
Camera input is not recognized!

Solution - Number theory calculator

Solution

gcd(424,10000000)=8
gcd(424,10000000)=8

Other Ways to Solve

Number theory calculator

Step-by-step explanation

1. Identify the problem

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

gcd(424,10000000)

2. Apply the Euclidean algorithm

424 = 10000000*0 + 424

10000000 = 424*23584 + 384

424 = 384*1 + 40

384 = 40*9 + 24

40 = 24*1 + 16

24 = 16*1 + 8

16 = 8*2 + 0

gcd(424,10000000)=8

3. Back-substitute to find coefficients

gcd(424,10000000) = 8.

Bezout coefficients: 424*(-495283) + 10000000*(21) = 8.

424⋅(−495283)+10000000⋅(21)=8

4. Verify the result

424*(-495283) + 10000000*(21) = 8 = 8. Verified.

Why learn this

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

Terms and topics