Enter an equation or problem
Camera input is not recognized!

Solution - Number theory calculator

Solution

gcd(662552744,10000)=8
gcd(662552744,10000)=8

Other Ways to Solve

Number theory calculator

Step-by-step explanation

1. Identify the problem

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

gcd(662552744,10000)

2. Apply the Euclidean algorithm

662552744 = 10000*66255 + 2744

10000 = 2744*3 + 1768

2744 = 1768*1 + 976

1768 = 976*1 + 792

976 = 792*1 + 184

792 = 184*4 + 56

184 = 56*3 + 16

56 = 16*3 + 8

16 = 8*2 + 0

gcd(662552744,10000)=8

3. Back-substitute to find coefficients

gcd(662552744,10000) = 8.

Bezout coefficients: 662552744*(-543) + 10000*(35976614) = 8.

662552744⋅(−543)+10000⋅(35976614)=8

4. Verify the result

662552744*(-543) + 10000*(35976614) = 8 = 8. Verified.

Why learn this

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

Terms and topics