Enter an equation or problem
Camera input is not recognized!

Solution - Number theory calculator

Step-by-step explanation

1. Identify the problem

Find gcd(24,112) using the Extended Euclidean Algorithm.

gcd(24,112)

2. Apply the Euclidean algorithm

24 = 112*0 + 24

112 = 24*4 + 16

24 = 16*1 + 8

16 = 8*2 + 0

gcd(24,112)=8

3. Back-substitute to find coefficients

gcd(24,112) = 8.

Bezout coefficients: 24*(5) + 112*(-1) = 8.

24⋅(5)+112⋅(−1)=8

4. Verify the result

24*(5) + 112*(-1) = 8 = 8. Verified.

Why learn this

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

Terms and topics