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

gcd(3534,10000000)

2. Apply the Euclidean algorithm

3534 = 10000000*0 + 3534

10000000 = 3534*2829 + 2314

3534 = 2314*1 + 1220

2314 = 1220*1 + 1094

1220 = 1094*1 + 126

1094 = 126*8 + 86

126 = 86*1 + 40

86 = 40*2 + 6

40 = 6*6 + 4

6 = 4*1 + 2

4 = 2*2 + 0

gcd(3534,10000000)=2

3. Back-substitute to find coefficients

gcd(3534,10000000) = 2.

Bezout coefficients: 3534*(-1745897) + 10000000*(617) = 2.

3534⋅(−1745897)+10000000⋅(617)=2

4. Verify the result

3534*(-1745897) + 10000000*(617) = 2 = 2. 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