输入一个方程或问题
无法识别摄像头输入!

解答 - 数论计算器

解答

gcd(2212182;100000000)=2
gcd(2212182;100000000)=2

其他解决方法

数论计算器

逐步解答

1. Identify the problem

Find gcd(2212182,100000000) using the Extended Euclidean Algorithm.

gcd(2212182,100000000)

2. Apply the Euclidean algorithm

2212182 = 100000000*0 + 2212182

100000000 = 2212182*45 + 451810

2212182 = 451810*4 + 404942

451810 = 404942*1 + 46868

404942 = 46868*8 + 29998

46868 = 29998*1 + 16870

29998 = 16870*1 + 13128

16870 = 13128*1 + 3742

13128 = 3742*3 + 1902

3742 = 1902*1 + 1840

1902 = 1840*1 + 62

1840 = 62*29 + 42

62 = 42*1 + 20

42 = 20*2 + 2

20 = 2*10 + 0

gcd(2212182,100000000)=2

3. Back-substitute to find coefficients

gcd(2212182,100000000) = 2.

Bezout coefficients: 2212182*(-4836989) + 100000000*(107003) = 2.

2212182⋅(−4836989)+100000000⋅(107003)=2

4. Verify the result

2212182*(-4836989) + 100000000*(107003) = 2 = 2. Verified.

为什么学习这个

与虎一起学习更多知识
Number theory underlies cryptography, coding theory, and many competitive programming problems.

术语和主题

最新相关的解决方案