Unesi jednačinu ili zadatak
Ulaz kamere nije prepoznat!

Rešenje - Калкулатор теорије бројева

Rešenje

gcd(87000000;100000000)=1000000
gcd(87000000;100000000)=1000000

Други начини за решавање

Калкулатор теорије бројева

Objašnjenje korak po korak

1. Identify the problem

Find gcd(87000000,100000000) using the Extended Euclidean Algorithm.

gcd(87000000,100000000)

2. Apply the Euclidean algorithm

87000000 = 100000000*0 + 87000000

100000000 = 87000000*1 + 13000000

87000000 = 13000000*6 + 9000000

13000000 = 9000000*1 + 4000000

9000000 = 4000000*2 + 1000000

4000000 = 1000000*4 + 0

gcd(87000000,100000000)=1000000

3. Back-substitute to find coefficients

gcd(87000000,100000000) = 1000000.

Bezout coefficients: 87000000*(23) + 100000000*(-20) = 1000000.

87000000⋅(23)+100000000⋅(−20)=1000000

4. Verify the result

87000000*(23) + 100000000*(-20) = 1000000 = 1000000. Verified.

Zašto naučiti ovo

Naučite više uz Tiger
Number theory underlies cryptography, coding theory, and many competitive programming problems.

Pojmovi i teme

Rešena najnovija srodna vežbanja