Введіть рівняння або задачу
Камера не розпізнає вхід!

Рішення - Калькулятор теорії чисел

Покрокове пояснення

1. Identify the problem

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

gcd(9864,10000000)

2. Apply the Euclidean algorithm

9864 = 10000000*0 + 9864

10000000 = 9864*1013 + 7768

9864 = 7768*1 + 2096

7768 = 2096*3 + 1480

2096 = 1480*1 + 616

1480 = 616*2 + 248

616 = 248*2 + 120

248 = 120*2 + 8

120 = 8*15 + 0

gcd(9864,10000000)=8

3. Back-substitute to find coefficients

gcd(9864,10000000) = 8.

Bezout coefficients: 9864*(-81103) + 10000000*(80) = 8.

9864⋅(−81103)+10000000⋅(80)=8

4. Verify the result

9864*(-81103) + 10000000*(80) = 8 = 8. Verified.

Чому вчити це

Дізнайтеся більше з 'Tiger'
Number theory underlies cryptography, coding theory, and many competitive programming problems.

Терміни та теми

Останні пов'язані вправи