方程式を入力してください
カメラ入力が識別されません!

解答 - 整数論計算機

手順を追って説明

1. Identify the problem

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

gcd(125014192,10000)

2. Apply the Euclidean algorithm

125014192 = 10000*12501 + 4192

10000 = 4192*2 + 1616

4192 = 1616*2 + 960

1616 = 960*1 + 656

960 = 656*1 + 304

656 = 304*2 + 48

304 = 48*6 + 16

48 = 16*3 + 0

gcd(125014192,10000)=16

3. Back-substitute to find coefficients

gcd(125014192,10000) = 16.

Bezout coefficients: 125014192*(198) + 10000*(-2475281) = 16.

125014192⋅(198)+10000⋅(−2475281)=16

4. Verify the result

125014192*(198) + 10000*(-2475281) = 16 = 16. Verified.

なぜこれを学ぶのか

Tigerでさらに学ぶ
Number theory underlies cryptography, coding theory, and many competitive programming problems.

用語とトピック

最新の関連ドリル解答