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

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

Řešení

gcd(16159635,10000)=5
gcd(16159635,10000)=5

Jiné způsoby řešení

Kalkulačka teorie čísel

Vysvětlení krok za krokem

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.

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