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

The name of the pictureThe name of the pictureThe name of the pictureClash 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!







share|cite|improve this question












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
If this question can be reworded to fit the rules in the help center, please edit the question.












  • 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














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!







share|cite|improve this question












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
If this question can be reworded to fit the rules in the help center, please edit the question.












  • 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












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!







share|cite|improve this question












I tried to use Euclidian Algorithm to find this answer. But I am just ended with some complicated expression with no meaning whatsoever. help!









share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










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
If this question can be reworded to fit the rules in the help center, please edit the question.




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
If this question can be reworded to fit the rules in the help center, please edit the question.











  • 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










  • 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










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.






share|cite|improve this answer






















  • 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

















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$.






share|cite|improve this answer



























    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.






    share|cite|improve this answer



























      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.






      share|cite|improve this answer






















      • 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














      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.






      share|cite|improve this answer






















      • 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












      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.






      share|cite|improve this answer














      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.







      share|cite|improve this answer














      share|cite|improve this answer



      share|cite|improve this answer








      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
















      • 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










      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$.






      share|cite|improve this answer
























        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$.






        share|cite|improve this answer






















          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$.






          share|cite|improve this answer












          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$.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Aug 23 at 2:29









          Aniruddha Deshmukh

          663417




          663417




















              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.






              share|cite|improve this answer
























                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.






                share|cite|improve this answer






















                  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.






                  share|cite|improve this answer












                  It's 1. If $dk = a$ and $dl = a + b$, then $b = dk - dl = d(k-l)$. So $d$ divides $b$ as well.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Aug 23 at 2:30









                  mheldman

                  59916




                  59916












                      這個網誌中的熱門文章

                      tkz-euclide: tkzDrawCircle[R] not working

                      How to combine Bézier curves to a surface?

                      1st Magritte Awards