I need an opinion and maybe a clarification about my work on the following problem:












0












$begingroup$


Problem: Suppose that $m_1,m_2,...,m_t$ are positive integers and $a_1,a_2,...,a_t$ are integers.



What condition on $m_1,m_2,...,m_t$ is necessary to guarantee that there is an integer x such that $x ≡ a_i $ mod $m_i$ for all intergers i in the range $1leq ileq r $.



My idea:
I will choose for presentation x=1, $a_1=14$ and $m_1=13$.



Now let k be any positive integer. So that $a_n=a_1+k*(n-1)$ where n>0.
Similarly let $m_n=m_1+k*(n-1)$.



Now for any n, 1 ≡ $a_n $ mod $m_n$.



The solution is that $m_1,m_2,...,m_t$ is pairwise coprime.



In my presentation if I have k=2 then my m's will not be pairwise coprime.



Could you please explain why the answer is pairwise coprime and why will my idea not work.










share|cite|improve this question











$endgroup$

















    0












    $begingroup$


    Problem: Suppose that $m_1,m_2,...,m_t$ are positive integers and $a_1,a_2,...,a_t$ are integers.



    What condition on $m_1,m_2,...,m_t$ is necessary to guarantee that there is an integer x such that $x ≡ a_i $ mod $m_i$ for all intergers i in the range $1leq ileq r $.



    My idea:
    I will choose for presentation x=1, $a_1=14$ and $m_1=13$.



    Now let k be any positive integer. So that $a_n=a_1+k*(n-1)$ where n>0.
    Similarly let $m_n=m_1+k*(n-1)$.



    Now for any n, 1 ≡ $a_n $ mod $m_n$.



    The solution is that $m_1,m_2,...,m_t$ is pairwise coprime.



    In my presentation if I have k=2 then my m's will not be pairwise coprime.



    Could you please explain why the answer is pairwise coprime and why will my idea not work.










    share|cite|improve this question











    $endgroup$















      0












      0








      0





      $begingroup$


      Problem: Suppose that $m_1,m_2,...,m_t$ are positive integers and $a_1,a_2,...,a_t$ are integers.



      What condition on $m_1,m_2,...,m_t$ is necessary to guarantee that there is an integer x such that $x ≡ a_i $ mod $m_i$ for all intergers i in the range $1leq ileq r $.



      My idea:
      I will choose for presentation x=1, $a_1=14$ and $m_1=13$.



      Now let k be any positive integer. So that $a_n=a_1+k*(n-1)$ where n>0.
      Similarly let $m_n=m_1+k*(n-1)$.



      Now for any n, 1 ≡ $a_n $ mod $m_n$.



      The solution is that $m_1,m_2,...,m_t$ is pairwise coprime.



      In my presentation if I have k=2 then my m's will not be pairwise coprime.



      Could you please explain why the answer is pairwise coprime and why will my idea not work.










      share|cite|improve this question











      $endgroup$




      Problem: Suppose that $m_1,m_2,...,m_t$ are positive integers and $a_1,a_2,...,a_t$ are integers.



      What condition on $m_1,m_2,...,m_t$ is necessary to guarantee that there is an integer x such that $x ≡ a_i $ mod $m_i$ for all intergers i in the range $1leq ileq r $.



      My idea:
      I will choose for presentation x=1, $a_1=14$ and $m_1=13$.



      Now let k be any positive integer. So that $a_n=a_1+k*(n-1)$ where n>0.
      Similarly let $m_n=m_1+k*(n-1)$.



      Now for any n, 1 ≡ $a_n $ mod $m_n$.



      The solution is that $m_1,m_2,...,m_t$ is pairwise coprime.



      In my presentation if I have k=2 then my m's will not be pairwise coprime.



      Could you please explain why the answer is pairwise coprime and why will my idea not work.







      greatest-common-divisor






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Dec 27 '18 at 19:46







      Val

















      asked Dec 27 '18 at 19:41









      ValVal

      537




      537






















          1 Answer
          1






          active

          oldest

          votes


















          1












          $begingroup$

          Normally you are given the $a$'s and $m$'s and asked to find $x$. If the $m$'s are pairwise coprime, the Chinese Remainder Theorem guarantees a solution. If they are not, there may not be a solution. As an example, take $m_1=4, m_2=6$, which have common factor $2$. Then if $a_1=1,a_2=2$ there is no solution because the first forces $x$ to be odd and the second forces $x$ to be even.






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            You said "the first forces x to be even and the second forces x to be odd" is it not the other way around?
            $endgroup$
            – Val
            Dec 28 '18 at 12:15










          • $begingroup$
            @BurLeXyOOnuTz: Yes, a brain glitch. Fixed. Thanks
            $endgroup$
            – Ross Millikan
            Dec 28 '18 at 14:07











          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%2f3054297%2fi-need-an-opinion-and-maybe-a-clarification-about-my-work-on-the-following-probl%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1












          $begingroup$

          Normally you are given the $a$'s and $m$'s and asked to find $x$. If the $m$'s are pairwise coprime, the Chinese Remainder Theorem guarantees a solution. If they are not, there may not be a solution. As an example, take $m_1=4, m_2=6$, which have common factor $2$. Then if $a_1=1,a_2=2$ there is no solution because the first forces $x$ to be odd and the second forces $x$ to be even.






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            You said "the first forces x to be even and the second forces x to be odd" is it not the other way around?
            $endgroup$
            – Val
            Dec 28 '18 at 12:15










          • $begingroup$
            @BurLeXyOOnuTz: Yes, a brain glitch. Fixed. Thanks
            $endgroup$
            – Ross Millikan
            Dec 28 '18 at 14:07
















          1












          $begingroup$

          Normally you are given the $a$'s and $m$'s and asked to find $x$. If the $m$'s are pairwise coprime, the Chinese Remainder Theorem guarantees a solution. If they are not, there may not be a solution. As an example, take $m_1=4, m_2=6$, which have common factor $2$. Then if $a_1=1,a_2=2$ there is no solution because the first forces $x$ to be odd and the second forces $x$ to be even.






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            You said "the first forces x to be even and the second forces x to be odd" is it not the other way around?
            $endgroup$
            – Val
            Dec 28 '18 at 12:15










          • $begingroup$
            @BurLeXyOOnuTz: Yes, a brain glitch. Fixed. Thanks
            $endgroup$
            – Ross Millikan
            Dec 28 '18 at 14:07














          1












          1








          1





          $begingroup$

          Normally you are given the $a$'s and $m$'s and asked to find $x$. If the $m$'s are pairwise coprime, the Chinese Remainder Theorem guarantees a solution. If they are not, there may not be a solution. As an example, take $m_1=4, m_2=6$, which have common factor $2$. Then if $a_1=1,a_2=2$ there is no solution because the first forces $x$ to be odd and the second forces $x$ to be even.






          share|cite|improve this answer











          $endgroup$



          Normally you are given the $a$'s and $m$'s and asked to find $x$. If the $m$'s are pairwise coprime, the Chinese Remainder Theorem guarantees a solution. If they are not, there may not be a solution. As an example, take $m_1=4, m_2=6$, which have common factor $2$. Then if $a_1=1,a_2=2$ there is no solution because the first forces $x$ to be odd and the second forces $x$ to be even.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Dec 28 '18 at 14:07

























          answered Dec 27 '18 at 20:14









          Ross MillikanRoss Millikan

          299k24200374




          299k24200374












          • $begingroup$
            You said "the first forces x to be even and the second forces x to be odd" is it not the other way around?
            $endgroup$
            – Val
            Dec 28 '18 at 12:15










          • $begingroup$
            @BurLeXyOOnuTz: Yes, a brain glitch. Fixed. Thanks
            $endgroup$
            – Ross Millikan
            Dec 28 '18 at 14:07


















          • $begingroup$
            You said "the first forces x to be even and the second forces x to be odd" is it not the other way around?
            $endgroup$
            – Val
            Dec 28 '18 at 12:15










          • $begingroup$
            @BurLeXyOOnuTz: Yes, a brain glitch. Fixed. Thanks
            $endgroup$
            – Ross Millikan
            Dec 28 '18 at 14:07
















          $begingroup$
          You said "the first forces x to be even and the second forces x to be odd" is it not the other way around?
          $endgroup$
          – Val
          Dec 28 '18 at 12:15




          $begingroup$
          You said "the first forces x to be even and the second forces x to be odd" is it not the other way around?
          $endgroup$
          – Val
          Dec 28 '18 at 12:15












          $begingroup$
          @BurLeXyOOnuTz: Yes, a brain glitch. Fixed. Thanks
          $endgroup$
          – Ross Millikan
          Dec 28 '18 at 14:07




          $begingroup$
          @BurLeXyOOnuTz: Yes, a brain glitch. Fixed. Thanks
          $endgroup$
          – Ross Millikan
          Dec 28 '18 at 14:07


















          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%2f3054297%2fi-need-an-opinion-and-maybe-a-clarification-about-my-work-on-the-following-probl%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

          To store a contact into the json file from server.js file using a class in NodeJS

          Redirect URL with Chrome Remote Debugging Android Devices

          Dieringhausen