Zadejte rovnici nebo úlohu
Vstup z kamery nebyl rozpoznán!

Řešení - Kalkulačka teorie čísel

Řešení

gcd(87000000,100000000)=1000000
gcd(87000000,100000000)=1000000

Jiné způsoby řešení

Kalkulačka teorie čísel

Vysvětlení krok za krokem

1. Identify the problem

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

gcd(87000000,100000000)

2. Apply the Euclidean algorithm

87000000 = 100000000*0 + 87000000

100000000 = 87000000*1 + 13000000

87000000 = 13000000*6 + 9000000

13000000 = 9000000*1 + 4000000

9000000 = 4000000*2 + 1000000

4000000 = 1000000*4 + 0

gcd(87000000,100000000)=1000000

3. Back-substitute to find coefficients

gcd(87000000,100000000) = 1000000.

Bezout coefficients: 87000000*(23) + 100000000*(-20) = 1000000.

87000000⋅(23)+100000000⋅(−20)=1000000

4. Verify the result

87000000*(23) + 100000000*(-20) = 1000000 = 1000000. Verified.

Proč se to učit

Dozvědět se více s Tigerem
Number theory underlies cryptography, coding theory, and many competitive programming problems.

Pojmy a témata