Counting equivalence classes












0












$begingroup$


Given any $n$ integers $m_1,m_2,ldots m_nin mathbb{N}$ if we define an equivalence relation $sim$ on $mathbb{N}^n$ as follows:



$$(a_1,a_2,ldots a_n)sim (b_1,b_2,ldots b_n)iff text{For every integer }1leq kleq ntext{ we have }a_kequiv b_kbmod m_k$$



Then what is the cardinality of the quotient set $mathbb{N}^n/sim$?



For the special case when $m_1,m_2,ldots m_n$ are pairwise coprime, I know $|mathbb{N}^n/sim|=m_1m_2cdots m_n$. However what about in general when $m_1,m_2,ldots m_n$ might have common factors?










share|cite|improve this question









$endgroup$

















    0












    $begingroup$


    Given any $n$ integers $m_1,m_2,ldots m_nin mathbb{N}$ if we define an equivalence relation $sim$ on $mathbb{N}^n$ as follows:



    $$(a_1,a_2,ldots a_n)sim (b_1,b_2,ldots b_n)iff text{For every integer }1leq kleq ntext{ we have }a_kequiv b_kbmod m_k$$



    Then what is the cardinality of the quotient set $mathbb{N}^n/sim$?



    For the special case when $m_1,m_2,ldots m_n$ are pairwise coprime, I know $|mathbb{N}^n/sim|=m_1m_2cdots m_n$. However what about in general when $m_1,m_2,ldots m_n$ might have common factors?










    share|cite|improve this question









    $endgroup$















      0












      0








      0





      $begingroup$


      Given any $n$ integers $m_1,m_2,ldots m_nin mathbb{N}$ if we define an equivalence relation $sim$ on $mathbb{N}^n$ as follows:



      $$(a_1,a_2,ldots a_n)sim (b_1,b_2,ldots b_n)iff text{For every integer }1leq kleq ntext{ we have }a_kequiv b_kbmod m_k$$



      Then what is the cardinality of the quotient set $mathbb{N}^n/sim$?



      For the special case when $m_1,m_2,ldots m_n$ are pairwise coprime, I know $|mathbb{N}^n/sim|=m_1m_2cdots m_n$. However what about in general when $m_1,m_2,ldots m_n$ might have common factors?










      share|cite|improve this question









      $endgroup$




      Given any $n$ integers $m_1,m_2,ldots m_nin mathbb{N}$ if we define an equivalence relation $sim$ on $mathbb{N}^n$ as follows:



      $$(a_1,a_2,ldots a_n)sim (b_1,b_2,ldots b_n)iff text{For every integer }1leq kleq ntext{ we have }a_kequiv b_kbmod m_k$$



      Then what is the cardinality of the quotient set $mathbb{N}^n/sim$?



      For the special case when $m_1,m_2,ldots m_n$ are pairwise coprime, I know $|mathbb{N}^n/sim|=m_1m_2cdots m_n$. However what about in general when $m_1,m_2,ldots m_n$ might have common factors?







      combinatorics modular-arithmetic equivalence-relations






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Dec 5 '18 at 0:43









      user3865391user3865391

      6141215




      6141215






















          1 Answer
          1






          active

          oldest

          votes


















          1












          $begingroup$

          The answer is unconditionally $m_1...m_n$. You did not place any restrictions between the entries of the $n$-tuple.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            I don't understand what you mean by restrictions.
            $endgroup$
            – user3865391
            Dec 6 '18 at 20:11










          • $begingroup$
            You say you have an argument when $m_i$ are pairwise coprime. Is there anything that goes wrong with the proof when for instance $n=2$ and $m_1=2,m_2=4$?
            $endgroup$
            – zoidberg
            Dec 6 '18 at 20:28










          • $begingroup$
            Please don't downvote posts simply because you don't understand.
            $endgroup$
            – zoidberg
            Dec 6 '18 at 20:47











          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%2f3026415%2fcounting-equivalence-classes%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$

          The answer is unconditionally $m_1...m_n$. You did not place any restrictions between the entries of the $n$-tuple.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            I don't understand what you mean by restrictions.
            $endgroup$
            – user3865391
            Dec 6 '18 at 20:11










          • $begingroup$
            You say you have an argument when $m_i$ are pairwise coprime. Is there anything that goes wrong with the proof when for instance $n=2$ and $m_1=2,m_2=4$?
            $endgroup$
            – zoidberg
            Dec 6 '18 at 20:28










          • $begingroup$
            Please don't downvote posts simply because you don't understand.
            $endgroup$
            – zoidberg
            Dec 6 '18 at 20:47
















          1












          $begingroup$

          The answer is unconditionally $m_1...m_n$. You did not place any restrictions between the entries of the $n$-tuple.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            I don't understand what you mean by restrictions.
            $endgroup$
            – user3865391
            Dec 6 '18 at 20:11










          • $begingroup$
            You say you have an argument when $m_i$ are pairwise coprime. Is there anything that goes wrong with the proof when for instance $n=2$ and $m_1=2,m_2=4$?
            $endgroup$
            – zoidberg
            Dec 6 '18 at 20:28










          • $begingroup$
            Please don't downvote posts simply because you don't understand.
            $endgroup$
            – zoidberg
            Dec 6 '18 at 20:47














          1












          1








          1





          $begingroup$

          The answer is unconditionally $m_1...m_n$. You did not place any restrictions between the entries of the $n$-tuple.






          share|cite|improve this answer









          $endgroup$



          The answer is unconditionally $m_1...m_n$. You did not place any restrictions between the entries of the $n$-tuple.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Dec 5 '18 at 4:27









          zoidbergzoidberg

          1,065113




          1,065113












          • $begingroup$
            I don't understand what you mean by restrictions.
            $endgroup$
            – user3865391
            Dec 6 '18 at 20:11










          • $begingroup$
            You say you have an argument when $m_i$ are pairwise coprime. Is there anything that goes wrong with the proof when for instance $n=2$ and $m_1=2,m_2=4$?
            $endgroup$
            – zoidberg
            Dec 6 '18 at 20:28










          • $begingroup$
            Please don't downvote posts simply because you don't understand.
            $endgroup$
            – zoidberg
            Dec 6 '18 at 20:47


















          • $begingroup$
            I don't understand what you mean by restrictions.
            $endgroup$
            – user3865391
            Dec 6 '18 at 20:11










          • $begingroup$
            You say you have an argument when $m_i$ are pairwise coprime. Is there anything that goes wrong with the proof when for instance $n=2$ and $m_1=2,m_2=4$?
            $endgroup$
            – zoidberg
            Dec 6 '18 at 20:28










          • $begingroup$
            Please don't downvote posts simply because you don't understand.
            $endgroup$
            – zoidberg
            Dec 6 '18 at 20:47
















          $begingroup$
          I don't understand what you mean by restrictions.
          $endgroup$
          – user3865391
          Dec 6 '18 at 20:11




          $begingroup$
          I don't understand what you mean by restrictions.
          $endgroup$
          – user3865391
          Dec 6 '18 at 20:11












          $begingroup$
          You say you have an argument when $m_i$ are pairwise coprime. Is there anything that goes wrong with the proof when for instance $n=2$ and $m_1=2,m_2=4$?
          $endgroup$
          – zoidberg
          Dec 6 '18 at 20:28




          $begingroup$
          You say you have an argument when $m_i$ are pairwise coprime. Is there anything that goes wrong with the proof when for instance $n=2$ and $m_1=2,m_2=4$?
          $endgroup$
          – zoidberg
          Dec 6 '18 at 20:28












          $begingroup$
          Please don't downvote posts simply because you don't understand.
          $endgroup$
          – zoidberg
          Dec 6 '18 at 20:47




          $begingroup$
          Please don't downvote posts simply because you don't understand.
          $endgroup$
          – zoidberg
          Dec 6 '18 at 20:47


















          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%2f3026415%2fcounting-equivalence-classes%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

          Puebla de Zaragoza

          Musa