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

解答 - 整数論計算機

手順を追って説明

1. Identify the problem

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

gcd(1268,100000000)

2. Apply the Euclidean algorithm

1268 = 100000000*0 + 1268

100000000 = 1268*78864 + 448

1268 = 448*2 + 372

448 = 372*1 + 76

372 = 76*4 + 68

76 = 68*1 + 8

68 = 8*8 + 4

8 = 4*2 + 0

gcd(1268,100000000)=4

3. Back-substitute to find coefficients

gcd(1268,100000000) = 4.

Bezout coefficients: 1268*(11829653) + 100000000*(-150) = 4.

1268⋅(11829653)+100000000⋅(−150)=4

4. Verify the result

1268*(11829653) + 100000000*(-150) = 4 = 4. Verified.

なぜこれを学ぶのか

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

用語とトピック

最新の関連ドリル解答