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

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

Řešení

gcd(39189282,10000)=2
gcd(39189282,10000)=2

Jiné způsoby řešení

Kalkulačka teorie čísel

Vysvětlení krok za krokem

1. Identify the problem

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

gcd(39189282,10000)

2. Apply the Euclidean algorithm

39189282 = 10000*3918 + 9282

10000 = 9282*1 + 718

9282 = 718*12 + 666

718 = 666*1 + 52

666 = 52*12 + 42

52 = 42*1 + 10

42 = 10*4 + 2

10 = 2*5 + 0

gcd(39189282,10000)=2

3. Back-substitute to find coefficients

gcd(39189282,10000) = 2.

Bezout coefficients: 39189282*(961) + 10000*(-3766090) = 2.

39189282⋅(961)+10000⋅(−3766090)=2

4. Verify the result

39189282*(961) + 10000*(-3766090) = 2 = 2. 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