Oplossing - Calculator voor getaltheorie
Stapsgewijze uitleg
1. Identify the problem
Find gcd(1852,10000000) using the Extended Euclidean Algorithm.
2. Apply the Euclidean algorithm
1852 = 10000000*0 + 1852
10000000 = 1852*5399 + 1052
1852 = 1052*1 + 800
1052 = 800*1 + 252
800 = 252*3 + 44
252 = 44*5 + 32
44 = 32*1 + 12
32 = 12*2 + 8
12 = 8*1 + 4
8 = 4*2 + 0
3. Back-substitute to find coefficients
gcd(1852,10000000) = 4.
Bezout coefficients: 1852*(912527) + 10000000*(-169) = 4.
4. Verify the result
1852*(912527) + 10000000*(-169) = 4 = 4. Verified.
Waarom dit leren
Ontdek meer met Tiger
Number theory underlies cryptography, coding theory, and many competitive programming problems.