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

解答 - 整数論計算機

手順を追って説明

1. Identify the problem

Find gcd(7170,10000000) using the Extended Euclidean Algorithm.

gcd(7170,10000000)

2. Apply the Euclidean algorithm

7170 = 10000000*0 + 7170

10000000 = 7170*1394 + 5020

7170 = 5020*1 + 2150

5020 = 2150*2 + 720

2150 = 720*2 + 710

720 = 710*1 + 10

710 = 10*71 + 0

gcd(7170,10000000)=10

3. Back-substitute to find coefficients

gcd(7170,10000000) = 10.

Bezout coefficients: 7170*(-13947) + 10000000*(10) = 10.

7170⋅(−13947)+10000000⋅(10)=10

4. Verify the result

7170*(-13947) + 10000000*(10) = 10 = 10. Verified.

なぜこれを学ぶのか

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

用語とトピック

最新の関連ドリル解答