Voer een vergelijking of opgave in
Camerainvoer wordt niet herkend!

Oplossing - Calculator voor getaltheorie

Oplossing

gcd(1027545,100000000)=5
gcd(1027545,100000000)=5

Andere oplossingsmethoden

Calculator voor getaltheorie

Stapsgewijze uitleg

1. Identify the problem

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

gcd(1027545,100000000)

2. Apply the Euclidean algorithm

1027545 = 100000000*0 + 1027545

100000000 = 1027545*97 + 328135

1027545 = 328135*3 + 43140

328135 = 43140*7 + 26155

43140 = 26155*1 + 16985

26155 = 16985*1 + 9170

16985 = 9170*1 + 7815

9170 = 7815*1 + 1355

7815 = 1355*5 + 1040

1355 = 1040*1 + 315

1040 = 315*3 + 95

315 = 95*3 + 30

95 = 30*3 + 5

30 = 5*6 + 0

gcd(1027545,100000000)=5

3. Back-substitute to find coefficients

gcd(1027545,100000000) = 5.

Bezout coefficients: 1027545*(3173389) + 100000000*(-32608) = 5.

1027545⋅(3173389)+100000000⋅(−32608)=5

4. Verify the result

1027545*(3173389) + 100000000*(-32608) = 5 = 5. Verified.

Waarom dit leren

Ontdek meer met Tiger
Number theory underlies cryptography, coding theory, and many competitive programming problems.

Begrippen en onderwerpen