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

解答 - 数论计算器

解答

gcd(978270162;100000000)=2
gcd(978270162;100000000)=2

其他解决方法

数论计算器

逐步解答

1. Identify the problem

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

gcd(978270162,100000000)

2. Apply the Euclidean algorithm

978270162 = 100000000*9 + 78270162

100000000 = 78270162*1 + 21729838

78270162 = 21729838*3 + 13080648

21729838 = 13080648*1 + 8649190

13080648 = 8649190*1 + 4431458

8649190 = 4431458*1 + 4217732

4431458 = 4217732*1 + 213726

4217732 = 213726*19 + 156938

213726 = 156938*1 + 56788

156938 = 56788*2 + 43362

56788 = 43362*1 + 13426

43362 = 13426*3 + 3084

13426 = 3084*4 + 1090

3084 = 1090*2 + 904

1090 = 904*1 + 186

904 = 186*4 + 160

186 = 160*1 + 26

160 = 26*6 + 4

26 = 4*6 + 2

4 = 2*2 + 0

gcd(978270162,100000000)=2

3. Back-substitute to find coefficients

gcd(978270162,100000000) = 2.

Bezout coefficients: 978270162*(23119321) + 100000000*(-226169419) = 2.

978270162⋅(23119321)+100000000⋅(−226169419)=2

4. Verify the result

978270162*(23119321) + 100000000*(-226169419) = 2 = 2. Verified.

为什么学习这个

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

术语和主题

最新相关的解决方案