Enter an equation or problem
Camera input is not recognized!

Solution - Number theory calculator

Solution

gcd(654171875,10000)=625
gcd(654171875,10000)=625

Other Ways to Solve

Number theory calculator

Step-by-step explanation

1. Identify the problem

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

gcd(654171875,10000)

2. Apply the Euclidean algorithm

654171875 = 10000*65417 + 1875

10000 = 1875*5 + 625

1875 = 625*3 + 0

gcd(654171875,10000)=625

3. Back-substitute to find coefficients

gcd(654171875,10000) = 625.

Bezout coefficients: 654171875*(-5) + 10000*(327086) = 625.

654171875⋅(−5)+10000⋅(327086)=625

4. Verify the result

654171875*(-5) + 10000*(327086) = 625 = 625. Verified.

Why learn this

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

Terms and topics