Enter an equation or problem
Camera input is not recognized!

Solution - Number theory calculator

Solution

gcd(25682296,10000)=8
gcd(25682296,10000)=8

Other Ways to Solve

Number theory calculator

Step-by-step explanation

1. Identify the problem

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

gcd(25682296,10000)

2. Apply the Euclidean algorithm

25682296 = 10000*2568 + 2296

10000 = 2296*4 + 816

2296 = 816*2 + 664

816 = 664*1 + 152

664 = 152*4 + 56

152 = 56*2 + 40

56 = 40*1 + 16

40 = 16*2 + 8

16 = 8*2 + 0

gcd(25682296,10000)=8

3. Back-substitute to find coefficients

gcd(25682296,10000) = 8.

Bezout coefficients: 25682296*(-527) + 10000*(1353457) = 8.

25682296⋅(−527)+10000⋅(1353457)=8

4. Verify the result

25682296*(-527) + 10000*(1353457) = 8 = 8. Verified.

Why learn this

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

Terms and topics