Enter an equation or problem
Camera input is not recognized!

Solution - Number theory calculator

Solution

gcd(1906,1846)=2
gcd(1906,1846)=2

Other Ways to Solve

Number theory calculator

Step-by-step explanation

1. Identify the problem

Find gcd(1906,1846) using the Extended Euclidean Algorithm.

gcd(1906,1846)

2. Apply the Euclidean algorithm

1906 = 1846*1 + 60

1846 = 60*30 + 46

60 = 46*1 + 14

46 = 14*3 + 4

14 = 4*3 + 2

4 = 2*2 + 0

gcd(1906,1846)=2

3. Back-substitute to find coefficients

gcd(1906,1846) = 2.

Bezout coefficients: 1906*(400) + 1846*(-413) = 2.

1906⋅(400)+1846⋅(−413)=2

4. Verify the result

1906*(400) + 1846*(-413) = 2 = 2. Verified.

Why learn this

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

Terms and topics