Voer een vergelijking of opgave in
Camerainvoer wordt niet herkend!

Oplossing - Calculator voor getaltheorie

Stapsgewijze uitleg

1. Identify the problem

Find gcd(625,256) using the Extended Euclidean Algorithm.

gcd(625,256)

2. Apply the Euclidean algorithm

625 = 256*2 + 113

256 = 113*2 + 30

113 = 30*3 + 23

30 = 23*1 + 7

23 = 7*3 + 2

7 = 2*3 + 1

2 = 1*2 + 0

gcd(625,256)=1

3. Back-substitute to find coefficients

gcd(625,256) = 1.

Bezout coefficients: 625*(-111) + 256*(271) = 1.

625⋅(−111)+256⋅(271)=1

4. Verify the result

625*(-111) + 256*(271) = 1 = 1. Verified.

Waarom dit leren

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

Begrippen en onderwerpen