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

解答 - 整数論計算機

手順を追って説明

1. Identify the problem

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

gcd(16159635,10000)

2. Apply the Euclidean algorithm

16159635 = 10000*1615 + 9635

10000 = 9635*1 + 365

9635 = 365*26 + 145

365 = 145*2 + 75

145 = 75*1 + 70

75 = 70*1 + 5

70 = 5*14 + 0

gcd(16159635,10000)=5

3. Back-substitute to find coefficients

gcd(16159635,10000) = 5.

Bezout coefficients: 16159635*(-137) + 10000*(221387) = 5.

16159635⋅(−137)+10000⋅(221387)=5

4. Verify the result

16159635*(-137) + 10000*(221387) = 5 = 5. Verified.

なぜこれを学ぶのか

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

用語とトピック

最新の関連ドリル解答