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(9865,100000000) using the Extended Euclidean Algorithm.

gcd(9865,100000000)

2. Apply the Euclidean algorithm

9865 = 100000000*0 + 9865

100000000 = 9865*10136 + 8360

9865 = 8360*1 + 1505

8360 = 1505*5 + 835

1505 = 835*1 + 670

835 = 670*1 + 165

670 = 165*4 + 10

165 = 10*16 + 5

10 = 5*2 + 0

gcd(9865,100000000)=5

3. Back-substitute to find coefficients

gcd(9865,100000000) = 5.

Bezout coefficients: 9865*(-9700963) + 100000000*(957) = 5.

9865⋅(−9700963)+100000000⋅(957)=5

4. Verify the result

9865*(-9700963) + 100000000*(957) = 5 = 5. 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