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

gcd(2342234,10000000)

2. Apply the Euclidean algorithm

2342234 = 10000000*0 + 2342234

10000000 = 2342234*4 + 631064

2342234 = 631064*3 + 449042

631064 = 449042*1 + 182022

449042 = 182022*2 + 84998

182022 = 84998*2 + 12026

84998 = 12026*7 + 816

12026 = 816*14 + 602

816 = 602*1 + 214

602 = 214*2 + 174

214 = 174*1 + 40

174 = 40*4 + 14

40 = 14*2 + 12

14 = 12*1 + 2

12 = 2*6 + 0

gcd(2342234,10000000)=2

3. Back-substitute to find coefficients

gcd(2342234,10000000) = 2.

Bezout coefficients: 2342234*(-747547) + 10000000*(175093) = 2.

2342234⋅(−747547)+10000000⋅(175093)=2

4. Verify the result

2342234*(-747547) + 10000000*(175093) = 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