Solution - Number theory calculator
Step-by-step explanation
1. Identify the problem
Find gcd(3534,10000000) using the Extended Euclidean Algorithm.
2. Apply the Euclidean algorithm
3534 = 10000000*0 + 3534
10000000 = 3534*2829 + 2314
3534 = 2314*1 + 1220
2314 = 1220*1 + 1094
1220 = 1094*1 + 126
1094 = 126*8 + 86
126 = 86*1 + 40
86 = 40*2 + 6
40 = 6*6 + 4
6 = 4*1 + 2
4 = 2*2 + 0
3. Back-substitute to find coefficients
gcd(3534,10000000) = 2.
Bezout coefficients: 3534*(-1745897) + 10000000*(617) = 2.
4. Verify the result
3534*(-1745897) + 10000000*(617) = 2 = 2. Verified.
Why learn this
Learn more with Tiger
Number theory underlies cryptography, coding theory, and many competitive programming problems.