Oplossing - Calculator voor getaltheorie
Stapsgewijze uitleg
1. Identify the problem
Find gcd(639999994,10000) using the Extended Euclidean Algorithm.
2. Apply the Euclidean algorithm
639999994 = 10000*63999 + 9994
10000 = 9994*1 + 6
9994 = 6*1665 + 4
6 = 4*1 + 2
4 = 2*2 + 0
3. Back-substitute to find coefficients
gcd(639999994,10000) = 2.
Bezout coefficients: 639999994*(-1667) + 10000*(106687999) = 2.
4. Verify the result
639999994*(-1667) + 10000*(106687999) = 2 = 2. Verified.
Waarom dit leren
Ontdek meer met Tiger
Number theory underlies cryptography, coding theory, and many competitive programming problems.