suppose a,b are co-prime. what is gcd(a, a+b)? [closed]

Clash Royale CLAN TAG#URR8PPP
up vote
-4
down vote
favorite
I tried to use Euclidian Algorithm to find this answer. But I am just ended with some complicated expression with no meaning whatsoever. help!
discrete-mathematics coprime
closed as off-topic by Batominovski, T. Bongers, Mohammad Riazi-Kermani, Key Flex, N. F. Taussig Aug 23 at 7:33
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." â Batominovski, T. Bongers, Mohammad Riazi-Kermani, Key Flex, N. F. Taussig
 |Â
show 1 more comment
up vote
-4
down vote
favorite
I tried to use Euclidian Algorithm to find this answer. But I am just ended with some complicated expression with no meaning whatsoever. help!
discrete-mathematics coprime
closed as off-topic by Batominovski, T. Bongers, Mohammad Riazi-Kermani, Key Flex, N. F. Taussig Aug 23 at 7:33
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." â Batominovski, T. Bongers, Mohammad Riazi-Kermani, Key Flex, N. F. Taussig
What's so complicated about 1?
â Oscar Lanzi
Aug 23 at 2:29
You should have at least given what you have tried.
â Aniruddha Deshmukh
Aug 23 at 2:29
Duplicates: 1, 2, and others.
â T. Bongers
Aug 23 at 2:36
1
@AlexDSt: Had you included as part of your question something along the lines of what you wrote above, the downvotes might not have happened, or at least, there wouldn't have been quite as many. In the future, if you post a question, try to include (in the actual post) some context (e.g., what you know, what you tried).
â quasi
Aug 24 at 8:54
1
noted, will do next time
â DSt_FTW
Aug 24 at 9:17
 |Â
show 1 more comment
up vote
-4
down vote
favorite
up vote
-4
down vote
favorite
I tried to use Euclidian Algorithm to find this answer. But I am just ended with some complicated expression with no meaning whatsoever. help!
discrete-mathematics coprime
I tried to use Euclidian Algorithm to find this answer. But I am just ended with some complicated expression with no meaning whatsoever. help!
discrete-mathematics coprime
asked Aug 23 at 2:26
DSt_FTW
226
226
closed as off-topic by Batominovski, T. Bongers, Mohammad Riazi-Kermani, Key Flex, N. F. Taussig Aug 23 at 7:33
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." â Batominovski, T. Bongers, Mohammad Riazi-Kermani, Key Flex, N. F. Taussig
closed as off-topic by Batominovski, T. Bongers, Mohammad Riazi-Kermani, Key Flex, N. F. Taussig Aug 23 at 7:33
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." â Batominovski, T. Bongers, Mohammad Riazi-Kermani, Key Flex, N. F. Taussig
What's so complicated about 1?
â Oscar Lanzi
Aug 23 at 2:29
You should have at least given what you have tried.
â Aniruddha Deshmukh
Aug 23 at 2:29
Duplicates: 1, 2, and others.
â T. Bongers
Aug 23 at 2:36
1
@AlexDSt: Had you included as part of your question something along the lines of what you wrote above, the downvotes might not have happened, or at least, there wouldn't have been quite as many. In the future, if you post a question, try to include (in the actual post) some context (e.g., what you know, what you tried).
â quasi
Aug 24 at 8:54
1
noted, will do next time
â DSt_FTW
Aug 24 at 9:17
 |Â
show 1 more comment
What's so complicated about 1?
â Oscar Lanzi
Aug 23 at 2:29
You should have at least given what you have tried.
â Aniruddha Deshmukh
Aug 23 at 2:29
Duplicates: 1, 2, and others.
â T. Bongers
Aug 23 at 2:36
1
@AlexDSt: Had you included as part of your question something along the lines of what you wrote above, the downvotes might not have happened, or at least, there wouldn't have been quite as many. In the future, if you post a question, try to include (in the actual post) some context (e.g., what you know, what you tried).
â quasi
Aug 24 at 8:54
1
noted, will do next time
â DSt_FTW
Aug 24 at 9:17
What's so complicated about 1?
â Oscar Lanzi
Aug 23 at 2:29
What's so complicated about 1?
â Oscar Lanzi
Aug 23 at 2:29
You should have at least given what you have tried.
â Aniruddha Deshmukh
Aug 23 at 2:29
You should have at least given what you have tried.
â Aniruddha Deshmukh
Aug 23 at 2:29
Duplicates: 1, 2, and others.
â T. Bongers
Aug 23 at 2:36
Duplicates: 1, 2, and others.
â T. Bongers
Aug 23 at 2:36
1
1
@AlexDSt: Had you included as part of your question something along the lines of what you wrote above, the downvotes might not have happened, or at least, there wouldn't have been quite as many. In the future, if you post a question, try to include (in the actual post) some context (e.g., what you know, what you tried).
â quasi
Aug 24 at 8:54
@AlexDSt: Had you included as part of your question something along the lines of what you wrote above, the downvotes might not have happened, or at least, there wouldn't have been quite as many. In the future, if you post a question, try to include (in the actual post) some context (e.g., what you know, what you tried).
â quasi
Aug 24 at 8:54
1
1
noted, will do next time
â DSt_FTW
Aug 24 at 9:17
noted, will do next time
â DSt_FTW
Aug 24 at 9:17
 |Â
show 1 more comment
3 Answers
3
active
oldest
votes
up vote
-1
down vote
accepted
Solution #$1$ . . .
Suppose $d$ is a common divisor of $a$ and $b$.
Then $d|a$ and $d|b$ implies $d|(a+b)$, so $d$ is a common divisor of $a$ and $a+b$.
Suppose $d$ is a common divisor of $a$ and $a+b$.
Then $d|a$ and $d|(a+b)$ implies $d|bigl((a+b)-abigr)$, so $d$ is a common divisor of $a$ and $b$.
Thus, the common divisors of $a,b$ are the same as the common divisors of $a,a+b$.
It follows that $gcd(a,a+b)=gcd(a,b)$.
In particular, if $a,b$ are coprime, so are $a,a+b$.
Solution #$2$ . . .
Let $a,b$ be coprime integers.
We want to show that $a,a+b$ are coprime.
Since $gcd(a,b)=1$, we can write $ax+by=1$, for some integers $x,y$.
Let $r=x-y$, and let $s=y$.$;$Then
$$ar+(a+b)s=a(x-y)+(a+b)y=ax+by=1$$
hence, since $ar+(a+b)s=1$, it follows that $gcd(a,a+b)=1$.
Therefore $a,a+b$ are coprime, as was to be shown.
I understand your working up to implies d|((a+b) - a), how did it implies this? thank you
â DSt_FTW
Aug 24 at 6:52
@AlexDSt: If $d|x$ and $d|y$, then $d|(y-x)$.
â quasi
Aug 24 at 7:18
Thank you so much!
â DSt_FTW
Aug 24 at 8:53
add a comment |Â
up vote
-1
down vote
Consider that $gcd left( a, a + b right) = d$. Then, $d | a$ and $d | a + b$. Therefore, $d | left( a + b - a right) = b$. However, $gcd left( a, b right) = 1$ (since they are coprime). Therefore, $d = 1$.
So, we can conclude that $gcd left( a, a + b right) = 1$.
add a comment |Â
up vote
-1
down vote
It's 1. If $dk = a$ and $dl = a + b$, then $b = dk - dl = d(k-l)$. So $d$ divides $b$ as well.
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
-1
down vote
accepted
Solution #$1$ . . .
Suppose $d$ is a common divisor of $a$ and $b$.
Then $d|a$ and $d|b$ implies $d|(a+b)$, so $d$ is a common divisor of $a$ and $a+b$.
Suppose $d$ is a common divisor of $a$ and $a+b$.
Then $d|a$ and $d|(a+b)$ implies $d|bigl((a+b)-abigr)$, so $d$ is a common divisor of $a$ and $b$.
Thus, the common divisors of $a,b$ are the same as the common divisors of $a,a+b$.
It follows that $gcd(a,a+b)=gcd(a,b)$.
In particular, if $a,b$ are coprime, so are $a,a+b$.
Solution #$2$ . . .
Let $a,b$ be coprime integers.
We want to show that $a,a+b$ are coprime.
Since $gcd(a,b)=1$, we can write $ax+by=1$, for some integers $x,y$.
Let $r=x-y$, and let $s=y$.$;$Then
$$ar+(a+b)s=a(x-y)+(a+b)y=ax+by=1$$
hence, since $ar+(a+b)s=1$, it follows that $gcd(a,a+b)=1$.
Therefore $a,a+b$ are coprime, as was to be shown.
I understand your working up to implies d|((a+b) - a), how did it implies this? thank you
â DSt_FTW
Aug 24 at 6:52
@AlexDSt: If $d|x$ and $d|y$, then $d|(y-x)$.
â quasi
Aug 24 at 7:18
Thank you so much!
â DSt_FTW
Aug 24 at 8:53
add a comment |Â
up vote
-1
down vote
accepted
Solution #$1$ . . .
Suppose $d$ is a common divisor of $a$ and $b$.
Then $d|a$ and $d|b$ implies $d|(a+b)$, so $d$ is a common divisor of $a$ and $a+b$.
Suppose $d$ is a common divisor of $a$ and $a+b$.
Then $d|a$ and $d|(a+b)$ implies $d|bigl((a+b)-abigr)$, so $d$ is a common divisor of $a$ and $b$.
Thus, the common divisors of $a,b$ are the same as the common divisors of $a,a+b$.
It follows that $gcd(a,a+b)=gcd(a,b)$.
In particular, if $a,b$ are coprime, so are $a,a+b$.
Solution #$2$ . . .
Let $a,b$ be coprime integers.
We want to show that $a,a+b$ are coprime.
Since $gcd(a,b)=1$, we can write $ax+by=1$, for some integers $x,y$.
Let $r=x-y$, and let $s=y$.$;$Then
$$ar+(a+b)s=a(x-y)+(a+b)y=ax+by=1$$
hence, since $ar+(a+b)s=1$, it follows that $gcd(a,a+b)=1$.
Therefore $a,a+b$ are coprime, as was to be shown.
I understand your working up to implies d|((a+b) - a), how did it implies this? thank you
â DSt_FTW
Aug 24 at 6:52
@AlexDSt: If $d|x$ and $d|y$, then $d|(y-x)$.
â quasi
Aug 24 at 7:18
Thank you so much!
â DSt_FTW
Aug 24 at 8:53
add a comment |Â
up vote
-1
down vote
accepted
up vote
-1
down vote
accepted
Solution #$1$ . . .
Suppose $d$ is a common divisor of $a$ and $b$.
Then $d|a$ and $d|b$ implies $d|(a+b)$, so $d$ is a common divisor of $a$ and $a+b$.
Suppose $d$ is a common divisor of $a$ and $a+b$.
Then $d|a$ and $d|(a+b)$ implies $d|bigl((a+b)-abigr)$, so $d$ is a common divisor of $a$ and $b$.
Thus, the common divisors of $a,b$ are the same as the common divisors of $a,a+b$.
It follows that $gcd(a,a+b)=gcd(a,b)$.
In particular, if $a,b$ are coprime, so are $a,a+b$.
Solution #$2$ . . .
Let $a,b$ be coprime integers.
We want to show that $a,a+b$ are coprime.
Since $gcd(a,b)=1$, we can write $ax+by=1$, for some integers $x,y$.
Let $r=x-y$, and let $s=y$.$;$Then
$$ar+(a+b)s=a(x-y)+(a+b)y=ax+by=1$$
hence, since $ar+(a+b)s=1$, it follows that $gcd(a,a+b)=1$.
Therefore $a,a+b$ are coprime, as was to be shown.
Solution #$1$ . . .
Suppose $d$ is a common divisor of $a$ and $b$.
Then $d|a$ and $d|b$ implies $d|(a+b)$, so $d$ is a common divisor of $a$ and $a+b$.
Suppose $d$ is a common divisor of $a$ and $a+b$.
Then $d|a$ and $d|(a+b)$ implies $d|bigl((a+b)-abigr)$, so $d$ is a common divisor of $a$ and $b$.
Thus, the common divisors of $a,b$ are the same as the common divisors of $a,a+b$.
It follows that $gcd(a,a+b)=gcd(a,b)$.
In particular, if $a,b$ are coprime, so are $a,a+b$.
Solution #$2$ . . .
Let $a,b$ be coprime integers.
We want to show that $a,a+b$ are coprime.
Since $gcd(a,b)=1$, we can write $ax+by=1$, for some integers $x,y$.
Let $r=x-y$, and let $s=y$.$;$Then
$$ar+(a+b)s=a(x-y)+(a+b)y=ax+by=1$$
hence, since $ar+(a+b)s=1$, it follows that $gcd(a,a+b)=1$.
Therefore $a,a+b$ are coprime, as was to be shown.
edited Aug 24 at 8:44
answered Aug 23 at 2:31
quasi
33.9k22461
33.9k22461
I understand your working up to implies d|((a+b) - a), how did it implies this? thank you
â DSt_FTW
Aug 24 at 6:52
@AlexDSt: If $d|x$ and $d|y$, then $d|(y-x)$.
â quasi
Aug 24 at 7:18
Thank you so much!
â DSt_FTW
Aug 24 at 8:53
add a comment |Â
I understand your working up to implies d|((a+b) - a), how did it implies this? thank you
â DSt_FTW
Aug 24 at 6:52
@AlexDSt: If $d|x$ and $d|y$, then $d|(y-x)$.
â quasi
Aug 24 at 7:18
Thank you so much!
â DSt_FTW
Aug 24 at 8:53
I understand your working up to implies d|((a+b) - a), how did it implies this? thank you
â DSt_FTW
Aug 24 at 6:52
I understand your working up to implies d|((a+b) - a), how did it implies this? thank you
â DSt_FTW
Aug 24 at 6:52
@AlexDSt: If $d|x$ and $d|y$, then $d|(y-x)$.
â quasi
Aug 24 at 7:18
@AlexDSt: If $d|x$ and $d|y$, then $d|(y-x)$.
â quasi
Aug 24 at 7:18
Thank you so much!
â DSt_FTW
Aug 24 at 8:53
Thank you so much!
â DSt_FTW
Aug 24 at 8:53
add a comment |Â
up vote
-1
down vote
Consider that $gcd left( a, a + b right) = d$. Then, $d | a$ and $d | a + b$. Therefore, $d | left( a + b - a right) = b$. However, $gcd left( a, b right) = 1$ (since they are coprime). Therefore, $d = 1$.
So, we can conclude that $gcd left( a, a + b right) = 1$.
add a comment |Â
up vote
-1
down vote
Consider that $gcd left( a, a + b right) = d$. Then, $d | a$ and $d | a + b$. Therefore, $d | left( a + b - a right) = b$. However, $gcd left( a, b right) = 1$ (since they are coprime). Therefore, $d = 1$.
So, we can conclude that $gcd left( a, a + b right) = 1$.
add a comment |Â
up vote
-1
down vote
up vote
-1
down vote
Consider that $gcd left( a, a + b right) = d$. Then, $d | a$ and $d | a + b$. Therefore, $d | left( a + b - a right) = b$. However, $gcd left( a, b right) = 1$ (since they are coprime). Therefore, $d = 1$.
So, we can conclude that $gcd left( a, a + b right) = 1$.
Consider that $gcd left( a, a + b right) = d$. Then, $d | a$ and $d | a + b$. Therefore, $d | left( a + b - a right) = b$. However, $gcd left( a, b right) = 1$ (since they are coprime). Therefore, $d = 1$.
So, we can conclude that $gcd left( a, a + b right) = 1$.
answered Aug 23 at 2:29
Aniruddha Deshmukh
663417
663417
add a comment |Â
add a comment |Â
up vote
-1
down vote
It's 1. If $dk = a$ and $dl = a + b$, then $b = dk - dl = d(k-l)$. So $d$ divides $b$ as well.
add a comment |Â
up vote
-1
down vote
It's 1. If $dk = a$ and $dl = a + b$, then $b = dk - dl = d(k-l)$. So $d$ divides $b$ as well.
add a comment |Â
up vote
-1
down vote
up vote
-1
down vote
It's 1. If $dk = a$ and $dl = a + b$, then $b = dk - dl = d(k-l)$. So $d$ divides $b$ as well.
It's 1. If $dk = a$ and $dl = a + b$, then $b = dk - dl = d(k-l)$. So $d$ divides $b$ as well.
answered Aug 23 at 2:30
mheldman
59916
59916
add a comment |Â
add a comment |Â
What's so complicated about 1?
â Oscar Lanzi
Aug 23 at 2:29
You should have at least given what you have tried.
â Aniruddha Deshmukh
Aug 23 at 2:29
Duplicates: 1, 2, and others.
â T. Bongers
Aug 23 at 2:36
1
@AlexDSt: Had you included as part of your question something along the lines of what you wrote above, the downvotes might not have happened, or at least, there wouldn't have been quite as many. In the future, if you post a question, try to include (in the actual post) some context (e.g., what you know, what you tried).
â quasi
Aug 24 at 8:54
1
noted, will do next time
â DSt_FTW
Aug 24 at 9:17