Nhập một phương trình hay bài toán
Camera không nhận ra dữ liệu đầu vào!

Giải pháp - Máy tính lý thuyết số

Giải thích từng bước

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.

Tại sao lại học điều này

Tìm hiểu thêm với Tiger
Number theory underlies cryptography, coding theory, and many competitive programming problems.

Các thuật ngữ và chủ đề

Các bài có liên quan được giải gần đây