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

解答 - 整数論計算機

手順を追って説明

1. Identify the problem

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

gcd(424,10000000)

2. Apply the Euclidean algorithm

424 = 10000000*0 + 424

10000000 = 424*23584 + 384

424 = 384*1 + 40

384 = 40*9 + 24

40 = 24*1 + 16

24 = 16*1 + 8

16 = 8*2 + 0

gcd(424,10000000)=8

3. Back-substitute to find coefficients

gcd(424,10000000) = 8.

Bezout coefficients: 424*(-495283) + 10000000*(21) = 8.

424⋅(−495283)+10000000⋅(21)=8

4. Verify the result

424*(-495283) + 10000000*(21) = 8 = 8. Verified.

なぜこれを学ぶのか

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

用語とトピック

最新の関連ドリル解答