Solve a set of congruences












0












$begingroup$


John is thinking of a number $n$. He's willing to tell us that the number is close to $10000$ and in binary system it ends on $101$. In $7$ and $11$ system it ends on digit $2$ and the last two digits in the ternary numeral system are $21$. What is this number he is thinking of? I understand we need to create a set of congruences and solve it.



I have tried the following: Two of them are $x = 2, (mod 7)$ and $x = 2 (mod 11)$. That should be correct. The first one is $x = 5 (mod 8)$ and the last is $x = 7 (mod 9)$. I can see for this first one that $101$ is $5$ when converted to decimal system, but where do we get modulo $8$, from $2^3$? But why? Thank you for any clarification.










share|cite|improve this question











$endgroup$












  • $begingroup$
    For the same reason that a decimal number that ends in 65 is congruent to 65 modulus 100 as well as being congruenent to 5 modulus 10.
    $endgroup$
    – William Elliot
    Jan 18 at 12:42
















0












$begingroup$


John is thinking of a number $n$. He's willing to tell us that the number is close to $10000$ and in binary system it ends on $101$. In $7$ and $11$ system it ends on digit $2$ and the last two digits in the ternary numeral system are $21$. What is this number he is thinking of? I understand we need to create a set of congruences and solve it.



I have tried the following: Two of them are $x = 2, (mod 7)$ and $x = 2 (mod 11)$. That should be correct. The first one is $x = 5 (mod 8)$ and the last is $x = 7 (mod 9)$. I can see for this first one that $101$ is $5$ when converted to decimal system, but where do we get modulo $8$, from $2^3$? But why? Thank you for any clarification.










share|cite|improve this question











$endgroup$












  • $begingroup$
    For the same reason that a decimal number that ends in 65 is congruent to 65 modulus 100 as well as being congruenent to 5 modulus 10.
    $endgroup$
    – William Elliot
    Jan 18 at 12:42














0












0








0





$begingroup$


John is thinking of a number $n$. He's willing to tell us that the number is close to $10000$ and in binary system it ends on $101$. In $7$ and $11$ system it ends on digit $2$ and the last two digits in the ternary numeral system are $21$. What is this number he is thinking of? I understand we need to create a set of congruences and solve it.



I have tried the following: Two of them are $x = 2, (mod 7)$ and $x = 2 (mod 11)$. That should be correct. The first one is $x = 5 (mod 8)$ and the last is $x = 7 (mod 9)$. I can see for this first one that $101$ is $5$ when converted to decimal system, but where do we get modulo $8$, from $2^3$? But why? Thank you for any clarification.










share|cite|improve this question











$endgroup$




John is thinking of a number $n$. He's willing to tell us that the number is close to $10000$ and in binary system it ends on $101$. In $7$ and $11$ system it ends on digit $2$ and the last two digits in the ternary numeral system are $21$. What is this number he is thinking of? I understand we need to create a set of congruences and solve it.



I have tried the following: Two of them are $x = 2, (mod 7)$ and $x = 2 (mod 11)$. That should be correct. The first one is $x = 5 (mod 8)$ and the last is $x = 7 (mod 9)$. I can see for this first one that $101$ is $5$ when converted to decimal system, but where do we get modulo $8$, from $2^3$? But why? Thank you for any clarification.







discrete-mathematics modular-arithmetic congruence-relations






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 18 at 14:29









idriskameni

641319




641319










asked Jan 18 at 12:18









ponikoliponikoli

416




416












  • $begingroup$
    For the same reason that a decimal number that ends in 65 is congruent to 65 modulus 100 as well as being congruenent to 5 modulus 10.
    $endgroup$
    – William Elliot
    Jan 18 at 12:42


















  • $begingroup$
    For the same reason that a decimal number that ends in 65 is congruent to 65 modulus 100 as well as being congruenent to 5 modulus 10.
    $endgroup$
    – William Elliot
    Jan 18 at 12:42
















$begingroup$
For the same reason that a decimal number that ends in 65 is congruent to 65 modulus 100 as well as being congruenent to 5 modulus 10.
$endgroup$
– William Elliot
Jan 18 at 12:42




$begingroup$
For the same reason that a decimal number that ends in 65 is congruent to 65 modulus 100 as well as being congruenent to 5 modulus 10.
$endgroup$
– William Elliot
Jan 18 at 12:42










1 Answer
1






active

oldest

votes


















0












$begingroup$

If your binary and ternary numerals are $ b_nb_{n-1}dots b_2b_1b_0 $ and $ t_mt_{m-1}dots t_1t_0 $, respectively, with $b_2=1, b_1=0, b_0=1, t_1=2 $ and $ t_0=1 $, then, by definition, the numbers they represent are:
begin{eqnarray}
B &=& b_n,2^n + b_{n-1},2^{n-1} + dots + b_3,2^3 + 1times2^2 + 0times2 + 1\
&=& 2^3,left(,b_n,2^{n-3}+b_{n-1},2^{n-4} + dots + b_3, right) + 5 mbox{and}\
T &=& t_m,3^m + t_{m-1},3^{m-1} + dots + t_2,3^2 + 2times3 + 1\
&=& 3^2,left(,t_m,3^{m-2} + t_{m-1},3^{m-3} + dots + t_2,right) + 7 ,
end{eqnarray}



from which you should be able to see that if you subtract $ 5 $ from $ B $ the result is divisible by $ 8 $, and if you subtract $ 7 $ from $ T $ the result is divisible by 9.






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%2f3078172%2fsolve-a-set-of-congruences%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









    0












    $begingroup$

    If your binary and ternary numerals are $ b_nb_{n-1}dots b_2b_1b_0 $ and $ t_mt_{m-1}dots t_1t_0 $, respectively, with $b_2=1, b_1=0, b_0=1, t_1=2 $ and $ t_0=1 $, then, by definition, the numbers they represent are:
    begin{eqnarray}
    B &=& b_n,2^n + b_{n-1},2^{n-1} + dots + b_3,2^3 + 1times2^2 + 0times2 + 1\
    &=& 2^3,left(,b_n,2^{n-3}+b_{n-1},2^{n-4} + dots + b_3, right) + 5 mbox{and}\
    T &=& t_m,3^m + t_{m-1},3^{m-1} + dots + t_2,3^2 + 2times3 + 1\
    &=& 3^2,left(,t_m,3^{m-2} + t_{m-1},3^{m-3} + dots + t_2,right) + 7 ,
    end{eqnarray}



    from which you should be able to see that if you subtract $ 5 $ from $ B $ the result is divisible by $ 8 $, and if you subtract $ 7 $ from $ T $ the result is divisible by 9.






    share|cite|improve this answer









    $endgroup$


















      0












      $begingroup$

      If your binary and ternary numerals are $ b_nb_{n-1}dots b_2b_1b_0 $ and $ t_mt_{m-1}dots t_1t_0 $, respectively, with $b_2=1, b_1=0, b_0=1, t_1=2 $ and $ t_0=1 $, then, by definition, the numbers they represent are:
      begin{eqnarray}
      B &=& b_n,2^n + b_{n-1},2^{n-1} + dots + b_3,2^3 + 1times2^2 + 0times2 + 1\
      &=& 2^3,left(,b_n,2^{n-3}+b_{n-1},2^{n-4} + dots + b_3, right) + 5 mbox{and}\
      T &=& t_m,3^m + t_{m-1},3^{m-1} + dots + t_2,3^2 + 2times3 + 1\
      &=& 3^2,left(,t_m,3^{m-2} + t_{m-1},3^{m-3} + dots + t_2,right) + 7 ,
      end{eqnarray}



      from which you should be able to see that if you subtract $ 5 $ from $ B $ the result is divisible by $ 8 $, and if you subtract $ 7 $ from $ T $ the result is divisible by 9.






      share|cite|improve this answer









      $endgroup$
















        0












        0








        0





        $begingroup$

        If your binary and ternary numerals are $ b_nb_{n-1}dots b_2b_1b_0 $ and $ t_mt_{m-1}dots t_1t_0 $, respectively, with $b_2=1, b_1=0, b_0=1, t_1=2 $ and $ t_0=1 $, then, by definition, the numbers they represent are:
        begin{eqnarray}
        B &=& b_n,2^n + b_{n-1},2^{n-1} + dots + b_3,2^3 + 1times2^2 + 0times2 + 1\
        &=& 2^3,left(,b_n,2^{n-3}+b_{n-1},2^{n-4} + dots + b_3, right) + 5 mbox{and}\
        T &=& t_m,3^m + t_{m-1},3^{m-1} + dots + t_2,3^2 + 2times3 + 1\
        &=& 3^2,left(,t_m,3^{m-2} + t_{m-1},3^{m-3} + dots + t_2,right) + 7 ,
        end{eqnarray}



        from which you should be able to see that if you subtract $ 5 $ from $ B $ the result is divisible by $ 8 $, and if you subtract $ 7 $ from $ T $ the result is divisible by 9.






        share|cite|improve this answer









        $endgroup$



        If your binary and ternary numerals are $ b_nb_{n-1}dots b_2b_1b_0 $ and $ t_mt_{m-1}dots t_1t_0 $, respectively, with $b_2=1, b_1=0, b_0=1, t_1=2 $ and $ t_0=1 $, then, by definition, the numbers they represent are:
        begin{eqnarray}
        B &=& b_n,2^n + b_{n-1},2^{n-1} + dots + b_3,2^3 + 1times2^2 + 0times2 + 1\
        &=& 2^3,left(,b_n,2^{n-3}+b_{n-1},2^{n-4} + dots + b_3, right) + 5 mbox{and}\
        T &=& t_m,3^m + t_{m-1},3^{m-1} + dots + t_2,3^2 + 2times3 + 1\
        &=& 3^2,left(,t_m,3^{m-2} + t_{m-1},3^{m-3} + dots + t_2,right) + 7 ,
        end{eqnarray}



        from which you should be able to see that if you subtract $ 5 $ from $ B $ the result is divisible by $ 8 $, and if you subtract $ 7 $ from $ T $ the result is divisible by 9.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Jan 18 at 15:33









        lonza leggieralonza leggiera

        70117




        70117






























            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%2f3078172%2fsolve-a-set-of-congruences%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

            Mario Kart Wii

            The Binding of Isaac: Rebirth/Afterbirth

            What does “Dominus providebit” mean?