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

解答 - 整数論計算機

手順を追って説明

1. Identify the problem

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

gcd(368701352,10000)

2. Apply the Euclidean algorithm

368701352 = 10000*36870 + 1352

10000 = 1352*7 + 536

1352 = 536*2 + 280

536 = 280*1 + 256

280 = 256*1 + 24

256 = 24*10 + 16

24 = 16*1 + 8

16 = 8*2 + 0

gcd(368701352,10000)=8

3. Back-substitute to find coefficients

gcd(368701352,10000) = 8.

Bezout coefficients: 368701352*(429) + 10000*(-15817288) = 8.

368701352⋅(429)+10000⋅(−15817288)=8

4. Verify the result

368701352*(429) + 10000*(-15817288) = 8 = 8. Verified.

なぜこれを学ぶのか

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

用語とトピック

最新の関連ドリル解答