ਹੱਲ - ਸੰਖਿਆ ਸਿਧਾਂਤ ਕੈਲਕੁਲੇਟਰ
ਕਦਮ-ਬਾ-ਕਦਮ ਸਮਝਾਉਣਾ
1. Identify the problem
Find gcd(2002,10000000) using the Extended Euclidean Algorithm.
2. Apply the Euclidean algorithm
2002 = 10000000*0 + 2002
10000000 = 2002*4995 + 10
2002 = 10*200 + 2
10 = 2*5 + 0
3. Back-substitute to find coefficients
gcd(2002,10000000) = 2.
Bezout coefficients: 2002*(999001) + 10000000*(-200) = 2.
4. Verify the result
2002*(999001) + 10000000*(-200) = 2 = 2. Verified.
ਇਸ ਨੂੰ ਕਿਉਂ ਸਿੱਖਣਾ ਹੈ
ਟਾਈਗਰ ਨਾਲ ਹੋਰ ਸਿਖੋ
Number theory underlies cryptography, coding theory, and many competitive programming problems.