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

gcd(1852,10000000)

2. Apply the Euclidean algorithm

1852 = 10000000*0 + 1852

10000000 = 1852*5399 + 1052

1852 = 1052*1 + 800

1052 = 800*1 + 252

800 = 252*3 + 44

252 = 44*5 + 32

44 = 32*1 + 12

32 = 12*2 + 8

12 = 8*1 + 4

8 = 4*2 + 0

gcd(1852,10000000)=4

3. Back-substitute to find coefficients

gcd(1852,10000000) = 4.

Bezout coefficients: 1852*(912527) + 10000000*(-169) = 4.

1852⋅(912527)+10000000⋅(−169)=4

4. Verify the result

1852*(912527) + 10000000*(-169) = 4 = 4. 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