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

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

Vysvětlení krok za krokem

1. Identify the problem

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

gcd(2002,10000000)

2. Apply the Euclidean algorithm

2002 = 10000000*0 + 2002

10000000 = 2002*4995 + 10

2002 = 10*200 + 2

10 = 2*5 + 0

gcd(2002,10000000)=2

3. Back-substitute to find coefficients

gcd(2002,10000000) = 2.

Bezout coefficients: 2002*(999001) + 10000000*(-200) = 2.

2002⋅(999001)+10000000⋅(−200)=2

4. Verify the result

2002*(999001) + 10000000*(-200) = 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