Oplossing - Calculator voor getaltheorie
Stapsgewijze uitleg
1. Identify the problem
Find gcd(39189282,10000) using the Extended Euclidean Algorithm.
2. Apply the Euclidean algorithm
39189282 = 10000*3918 + 9282
10000 = 9282*1 + 718
9282 = 718*12 + 666
718 = 666*1 + 52
666 = 52*12 + 42
52 = 42*1 + 10
42 = 10*4 + 2
10 = 2*5 + 0
3. Back-substitute to find coefficients
gcd(39189282,10000) = 2.
Bezout coefficients: 39189282*(961) + 10000*(-3766090) = 2.
4. Verify the result
39189282*(961) + 10000*(-3766090) = 2 = 2. Verified.
Waarom dit leren
Ontdek meer met Tiger
Number theory underlies cryptography, coding theory, and many competitive programming problems.