Let $ A ={ninmathbb{Z}: 2 | n}$ and $B={ninmathbb{Z}: 4 | n}$. Prove that $nin (A - B)$ if and only if $n=2k$...












0












$begingroup$


Let $A = {ninmathbb{Z}: 2, |, n}$ and B={$ninmathbb{Z}: 4 , | , n$}. Prove that $nin(A - B)$ if and only if $n=2k$ for some odd integer $k$.



I'm not sure how to prove this 'correctly'. Any help would be greatly appreciated, thanks!










share|cite|improve this question











$endgroup$

















    0












    $begingroup$


    Let $A = {ninmathbb{Z}: 2, |, n}$ and B={$ninmathbb{Z}: 4 , | , n$}. Prove that $nin(A - B)$ if and only if $n=2k$ for some odd integer $k$.



    I'm not sure how to prove this 'correctly'. Any help would be greatly appreciated, thanks!










    share|cite|improve this question











    $endgroup$















      0












      0








      0





      $begingroup$


      Let $A = {ninmathbb{Z}: 2, |, n}$ and B={$ninmathbb{Z}: 4 , | , n$}. Prove that $nin(A - B)$ if and only if $n=2k$ for some odd integer $k$.



      I'm not sure how to prove this 'correctly'. Any help would be greatly appreciated, thanks!










      share|cite|improve this question











      $endgroup$




      Let $A = {ninmathbb{Z}: 2, |, n}$ and B={$ninmathbb{Z}: 4 , | , n$}. Prove that $nin(A - B)$ if and only if $n=2k$ for some odd integer $k$.



      I'm not sure how to prove this 'correctly'. Any help would be greatly appreciated, thanks!







      discrete-mathematics elementary-set-theory proof-writing






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Dec 6 '18 at 21:41









      user1101010

      7391730




      7391730










      asked Dec 6 '18 at 21:34









      hunnybunshunnybuns

      15




      15






















          2 Answers
          2






          active

          oldest

          votes


















          0












          $begingroup$

          Suppose $nin A - B$. Then $2$ divdes $n$ so $n = 2k$ for some integer $k$.



          We proceed to prove that $k$ is odd by contradiction.



          Suppose $k$ were even. Then $k = 2l$ for some integer $l$. Hence, $n = 4l$ and so $n$ is divisible by $4$. However, by assumption $nnotin B$ and hence $n$ cannot be divisible by $4$. Therefore $k$ must be odd.



          Putting this together, $n = 2k$ for an odd integer $k$, as required.






          share|cite|improve this answer









          $endgroup$





















            0












            $begingroup$

            Say $nin A-B$. Clearly, $A-B={...,-6,-2,2,6,...}$ contains multiples of $2$ that are not multiples of $4$, that is, integers of the form $4m+2$ for some $minmathbb Z$. Note that $n=4m+2=2(2m+1)$ and $2m+1$ is odd $ forall minmathbb Z$.



            Now, let $n=2k$, where $k$ is an odd integer. We can write $k=2a+1, ainmathbb Zimplies n=2(2a+1)=4a+2implies2|n, 4nmid nimplies nin A-B$






            share|cite|improve this answer











            $endgroup$













              Your Answer





              StackExchange.ifUsing("editor", function () {
              return StackExchange.using("mathjaxEditing", function () {
              StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
              StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
              });
              });
              }, "mathjax-editing");

              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "69"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              noCode: true, onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3029076%2flet-a-n-in-mathbbz-2-n-and-b-n-in-mathbbz-4-n-prove-tha%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0












              $begingroup$

              Suppose $nin A - B$. Then $2$ divdes $n$ so $n = 2k$ for some integer $k$.



              We proceed to prove that $k$ is odd by contradiction.



              Suppose $k$ were even. Then $k = 2l$ for some integer $l$. Hence, $n = 4l$ and so $n$ is divisible by $4$. However, by assumption $nnotin B$ and hence $n$ cannot be divisible by $4$. Therefore $k$ must be odd.



              Putting this together, $n = 2k$ for an odd integer $k$, as required.






              share|cite|improve this answer









              $endgroup$


















                0












                $begingroup$

                Suppose $nin A - B$. Then $2$ divdes $n$ so $n = 2k$ for some integer $k$.



                We proceed to prove that $k$ is odd by contradiction.



                Suppose $k$ were even. Then $k = 2l$ for some integer $l$. Hence, $n = 4l$ and so $n$ is divisible by $4$. However, by assumption $nnotin B$ and hence $n$ cannot be divisible by $4$. Therefore $k$ must be odd.



                Putting this together, $n = 2k$ for an odd integer $k$, as required.






                share|cite|improve this answer









                $endgroup$
















                  0












                  0








                  0





                  $begingroup$

                  Suppose $nin A - B$. Then $2$ divdes $n$ so $n = 2k$ for some integer $k$.



                  We proceed to prove that $k$ is odd by contradiction.



                  Suppose $k$ were even. Then $k = 2l$ for some integer $l$. Hence, $n = 4l$ and so $n$ is divisible by $4$. However, by assumption $nnotin B$ and hence $n$ cannot be divisible by $4$. Therefore $k$ must be odd.



                  Putting this together, $n = 2k$ for an odd integer $k$, as required.






                  share|cite|improve this answer









                  $endgroup$



                  Suppose $nin A - B$. Then $2$ divdes $n$ so $n = 2k$ for some integer $k$.



                  We proceed to prove that $k$ is odd by contradiction.



                  Suppose $k$ were even. Then $k = 2l$ for some integer $l$. Hence, $n = 4l$ and so $n$ is divisible by $4$. However, by assumption $nnotin B$ and hence $n$ cannot be divisible by $4$. Therefore $k$ must be odd.



                  Putting this together, $n = 2k$ for an odd integer $k$, as required.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Dec 6 '18 at 21:42









                  ODFODF

                  1,486510




                  1,486510























                      0












                      $begingroup$

                      Say $nin A-B$. Clearly, $A-B={...,-6,-2,2,6,...}$ contains multiples of $2$ that are not multiples of $4$, that is, integers of the form $4m+2$ for some $minmathbb Z$. Note that $n=4m+2=2(2m+1)$ and $2m+1$ is odd $ forall minmathbb Z$.



                      Now, let $n=2k$, where $k$ is an odd integer. We can write $k=2a+1, ainmathbb Zimplies n=2(2a+1)=4a+2implies2|n, 4nmid nimplies nin A-B$






                      share|cite|improve this answer











                      $endgroup$


















                        0












                        $begingroup$

                        Say $nin A-B$. Clearly, $A-B={...,-6,-2,2,6,...}$ contains multiples of $2$ that are not multiples of $4$, that is, integers of the form $4m+2$ for some $minmathbb Z$. Note that $n=4m+2=2(2m+1)$ and $2m+1$ is odd $ forall minmathbb Z$.



                        Now, let $n=2k$, where $k$ is an odd integer. We can write $k=2a+1, ainmathbb Zimplies n=2(2a+1)=4a+2implies2|n, 4nmid nimplies nin A-B$






                        share|cite|improve this answer











                        $endgroup$
















                          0












                          0








                          0





                          $begingroup$

                          Say $nin A-B$. Clearly, $A-B={...,-6,-2,2,6,...}$ contains multiples of $2$ that are not multiples of $4$, that is, integers of the form $4m+2$ for some $minmathbb Z$. Note that $n=4m+2=2(2m+1)$ and $2m+1$ is odd $ forall minmathbb Z$.



                          Now, let $n=2k$, where $k$ is an odd integer. We can write $k=2a+1, ainmathbb Zimplies n=2(2a+1)=4a+2implies2|n, 4nmid nimplies nin A-B$






                          share|cite|improve this answer











                          $endgroup$



                          Say $nin A-B$. Clearly, $A-B={...,-6,-2,2,6,...}$ contains multiples of $2$ that are not multiples of $4$, that is, integers of the form $4m+2$ for some $minmathbb Z$. Note that $n=4m+2=2(2m+1)$ and $2m+1$ is odd $ forall minmathbb Z$.



                          Now, let $n=2k$, where $k$ is an odd integer. We can write $k=2a+1, ainmathbb Zimplies n=2(2a+1)=4a+2implies2|n, 4nmid nimplies nin A-B$







                          share|cite|improve this answer














                          share|cite|improve this answer



                          share|cite|improve this answer








                          edited Dec 6 '18 at 21:45

























                          answered Dec 6 '18 at 21:40









                          Shubham JohriShubham Johri

                          5,172717




                          5,172717






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Mathematics Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              Use MathJax to format equations. MathJax reference.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3029076%2flet-a-n-in-mathbbz-2-n-and-b-n-in-mathbbz-4-n-prove-tha%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Plaza Victoria

                              Brian Clough

                              Cáceres