Maglagay ng Ekwasyon o Problema
Hindi nakikita ang input ng camera!

Solusyon - Calculator ng number theory

Hakbang-sa-hakbang na paliwanag

1. Identify the problem

Find gcd(314159265,1000000) using the Extended Euclidean Algorithm.

gcd(314159265,1000000)

2. Apply the Euclidean algorithm

314159265 = 1000000*314 + 159265

1000000 = 159265*6 + 44410

159265 = 44410*3 + 26035

44410 = 26035*1 + 18375

26035 = 18375*1 + 7660

18375 = 7660*2 + 3055

7660 = 3055*2 + 1550

3055 = 1550*1 + 1505

1550 = 1505*1 + 45

1505 = 45*33 + 20

45 = 20*2 + 5

20 = 5*4 + 0

gcd(314159265,1000000)=5

3. Back-substitute to find coefficients

gcd(314159265,1000000) = 5.

Bezout coefficients: 314159265*(44517) + 1000000*(-13985428) = 5.

314159265⋅(44517)+1000000⋅(−13985428)=5

4. Verify the result

314159265*(44517) + 1000000*(-13985428) = 5 = 5. Verified.

Bakit kailangan matutuhan ito

Matuto pa lalo kasama ng Tiger
Number theory underlies cryptography, coding theory, and many competitive programming problems.

Mga Terminolohiya at Paksa

Pinakabagong Kaugnay na mga Drills na Nalutas