Enter an equation or problem
Camera input is not recognized!

Solution - Number theory calculator

Solution

gcd(20232312,10000)=8
gcd(20232312,10000)=8

Other Ways to Solve

Number theory calculator

Step-by-step explanation

1. Identify the problem

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

gcd(20232312,10000)

2. Apply the Euclidean algorithm

20232312 = 10000*2023 + 2312

10000 = 2312*4 + 752

2312 = 752*3 + 56

752 = 56*13 + 24

56 = 24*2 + 8

24 = 8*3 + 0

gcd(20232312,10000)=8

3. Back-substitute to find coefficients

gcd(20232312,10000) = 8.

Bezout coefficients: 20232312*(359) + 10000*(-726340) = 8.

20232312⋅(359)+10000⋅(−726340)=8

4. Verify the result

20232312*(359) + 10000*(-726340) = 8 = 8. Verified.

Why learn this

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

Terms and topics