Find gcd of 4999 and 1109 and also express it in 4999m +1109n
Answers
Given:-
Two prime numbers 4999 and 1109.
To Find:-
Find the gcd of 4999 and 1109 and also express it in 4999m+1109n.
Solution:-
According to question we have to find the gcd of 4999 and 1109.
Since, 4999 and 1109 both the numbers are prime numbers which can't be further break into other smaller prime numbers.
Therefore, here, we use Euclid's Algorithm to find the gcd of 4999 and 1109:-
So, using Euclid's Algorithm , we have
Step.1 :- divide the larger number by the smaller one ;
Step.2 :- Divide the smaller number by the above operation's remainder;
Step.3 :- Divide the remainder from the step 1 by the remainder of step2;
Step.4 :- Divide the remainder from the step 2 by the remainder of step.3;
Step.5:- Divide the remainder from the step 3 by the remainder of step.4;
Step.6 :- Divide the remainder from the step 4 by the remainder of step.5;
here we stop , the remainder is zero and 1 is the last remainder thet is not zero.
Hence, gcd of 4999 and 1109 is 1.
Now, to represent in form of 4999m+1109n, we have
Hence, 1 = 4999(522)+1109(-2353) where, m=522 and n=-2353.