Voer een vergelijking of opgave in
Camerainvoer wordt niet herkend!

Oplossing - Calculator voor getaltheorie

Stapsgewijze uitleg

1. Identify the problem

Find gcd(12617618,100) using the Extended Euclidean Algorithm.

gcd(12617618,100)

2. Apply the Euclidean algorithm

12617618 = 100*126176 + 18

100 = 18*5 + 10

18 = 10*1 + 8

10 = 8*1 + 2

8 = 2*4 + 0

gcd(12617618,100)=2

3. Back-substitute to find coefficients

gcd(12617618,100) = 2.

Bezout coefficients: 12617618*(-11) + 100*(1387938) = 2.

12617618⋅(−11)+100⋅(1387938)=2

4. Verify the result

12617618*(-11) + 100*(1387938) = 2 = 2. Verified.

Waarom dit leren

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

Begrippen en onderwerpen