Chinese Remainder Theorem Application Question











up vote
0
down vote

favorite












How to find the remainder of $10^{5^{102}}$ mod $35$, in this question I cannot find "$a$" such that $10^a$ congruent to $1$ and use the basic trick. This makes me pretty confused, any help is really appreciated!










share|cite|improve this question




















  • 1




    @Clayton that fails because $10$ is not relatively prime to $35$. You need to use (or you can use) the Chinese Remainder Th.
    – fleablood
    Dec 6 at 1:17










  • @fleablood: thanks. You’re right. It has been one hard week.
    – Clayton
    Dec 6 at 1:18












  • @fleablood thanks, could you please explain more about the logic here?
    – Johnny Wong
    Dec 6 at 1:21










  • Have you ever heard of the chinese remainder theorem. If $M equiv a pmod 5$ and $Mequiv b pmod 7$ there is one solution to $M equiv ??? pmod {5*7} $. And finding $10^{5^{102}}pmod 5; pmod 7$ is very easy.
    – fleablood
    Dec 6 at 2:09















up vote
0
down vote

favorite












How to find the remainder of $10^{5^{102}}$ mod $35$, in this question I cannot find "$a$" such that $10^a$ congruent to $1$ and use the basic trick. This makes me pretty confused, any help is really appreciated!










share|cite|improve this question




















  • 1




    @Clayton that fails because $10$ is not relatively prime to $35$. You need to use (or you can use) the Chinese Remainder Th.
    – fleablood
    Dec 6 at 1:17










  • @fleablood: thanks. You’re right. It has been one hard week.
    – Clayton
    Dec 6 at 1:18












  • @fleablood thanks, could you please explain more about the logic here?
    – Johnny Wong
    Dec 6 at 1:21










  • Have you ever heard of the chinese remainder theorem. If $M equiv a pmod 5$ and $Mequiv b pmod 7$ there is one solution to $M equiv ??? pmod {5*7} $. And finding $10^{5^{102}}pmod 5; pmod 7$ is very easy.
    – fleablood
    Dec 6 at 2:09













up vote
0
down vote

favorite









up vote
0
down vote

favorite











How to find the remainder of $10^{5^{102}}$ mod $35$, in this question I cannot find "$a$" such that $10^a$ congruent to $1$ and use the basic trick. This makes me pretty confused, any help is really appreciated!










share|cite|improve this question















How to find the remainder of $10^{5^{102}}$ mod $35$, in this question I cannot find "$a$" such that $10^a$ congruent to $1$ and use the basic trick. This makes me pretty confused, any help is really appreciated!







number-theory elementary-number-theory






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 6 at 5:24









Tianlalu

3,01021038




3,01021038










asked Dec 6 at 1:05









Johnny Wong

11




11








  • 1




    @Clayton that fails because $10$ is not relatively prime to $35$. You need to use (or you can use) the Chinese Remainder Th.
    – fleablood
    Dec 6 at 1:17










  • @fleablood: thanks. You’re right. It has been one hard week.
    – Clayton
    Dec 6 at 1:18












  • @fleablood thanks, could you please explain more about the logic here?
    – Johnny Wong
    Dec 6 at 1:21










  • Have you ever heard of the chinese remainder theorem. If $M equiv a pmod 5$ and $Mequiv b pmod 7$ there is one solution to $M equiv ??? pmod {5*7} $. And finding $10^{5^{102}}pmod 5; pmod 7$ is very easy.
    – fleablood
    Dec 6 at 2:09














  • 1




    @Clayton that fails because $10$ is not relatively prime to $35$. You need to use (or you can use) the Chinese Remainder Th.
    – fleablood
    Dec 6 at 1:17










  • @fleablood: thanks. You’re right. It has been one hard week.
    – Clayton
    Dec 6 at 1:18












  • @fleablood thanks, could you please explain more about the logic here?
    – Johnny Wong
    Dec 6 at 1:21










  • Have you ever heard of the chinese remainder theorem. If $M equiv a pmod 5$ and $Mequiv b pmod 7$ there is one solution to $M equiv ??? pmod {5*7} $. And finding $10^{5^{102}}pmod 5; pmod 7$ is very easy.
    – fleablood
    Dec 6 at 2:09








1




1




@Clayton that fails because $10$ is not relatively prime to $35$. You need to use (or you can use) the Chinese Remainder Th.
– fleablood
Dec 6 at 1:17




@Clayton that fails because $10$ is not relatively prime to $35$. You need to use (or you can use) the Chinese Remainder Th.
– fleablood
Dec 6 at 1:17












@fleablood: thanks. You’re right. It has been one hard week.
– Clayton
Dec 6 at 1:18






@fleablood: thanks. You’re right. It has been one hard week.
– Clayton
Dec 6 at 1:18














@fleablood thanks, could you please explain more about the logic here?
– Johnny Wong
Dec 6 at 1:21




@fleablood thanks, could you please explain more about the logic here?
– Johnny Wong
Dec 6 at 1:21












Have you ever heard of the chinese remainder theorem. If $M equiv a pmod 5$ and $Mequiv b pmod 7$ there is one solution to $M equiv ??? pmod {5*7} $. And finding $10^{5^{102}}pmod 5; pmod 7$ is very easy.
– fleablood
Dec 6 at 2:09




Have you ever heard of the chinese remainder theorem. If $M equiv a pmod 5$ and $Mequiv b pmod 7$ there is one solution to $M equiv ??? pmod {5*7} $. And finding $10^{5^{102}}pmod 5; pmod 7$ is very easy.
– fleablood
Dec 6 at 2:09










4 Answers
4






active

oldest

votes

















up vote
3
down vote













Hint: Find the quantity $bmod 5$ (shouldn't be hard given that the base is $10$) and then find it $bmod 7$ (using some $a$ so that $10^aequiv 1bmod 7$ like you mentioned). From here, splice them together with the Chinese remainder theorem.






share|cite|improve this answer





















  • I just followed the logic you said, like I can let $10^{5^{102}}$ be X, and X is congruent to 0 mod 5 and X is also congruent to 3 mod 7, and X=45, I cannot not fully understand the logic here, could you please explain more?
    – Johnny Wong
    Dec 6 at 1:19










  • @JohnnyWong Are you familiar with the Chinese remainder theorem?
    – Carl Schildkraut
    Dec 6 at 2:14


















up vote
1
down vote













Set $x= 10^{5^{102}}$. Clearly
$$
x=0 mod 5.
$$

You have to solve now:
$$
x=10^{5^{102}} mod 7,
$$

that is:
$$
x=3^{5^{102}} mod 7.
$$

Since $7$ is prime and $7$ is not a divisor of $3$ , Fermat's little theorem says
$$
3^6=1 mod 7,
$$

therefore:
$$
3^{5^{102}}=3^y mod 7 quad text{ if }quad 5^{102}=y mod 6.
$$

Now,
$$
y=5^{102} mod 6,\
y=(-1)^{102} mod 6,\
y=1 mod 6.
$$

This means:
$$
x=3^1=3 mod 7.\
$$

Now, using:
$$
x=0 mod 5,\
x=3 mod 7,\
$$

you should be able to prove:
$$
x = 10 mod 35.
$$

(Chinese remainder theorem tells you that this solution is unique mod 35)






share|cite|improve this answer




























    up vote
    1
    down vote













    You can't find it because $10$ and $35$ are not relatively prime and there is none.



    As $gcd(10, 35)= 7$ every $10^k$ will be equivalent to a multiple of $5$. we can attempt to find $10^k equiv 10pmod {35}$....



    But the Chinese Remeander Theorem is much easier.



    CRT says: If $10^{5^{102}} equiv j pmod {5}$ and $10^{5^{102}} equiv m pmod 7$, there is unique equivalence class $n pmod{5*7}$ so that $nequiv j equiv 10^{5^{102}} pmod 5$ and $nequiv m equiv 10^{5^{102}}pmod 5$. And from $m,j$ will be able to find that $n$.



    $10equiv 0 pmod 5$ so $10^{5^{102}} equiv 0 pmod 5$.



    Now by Fermat Little Theorem $10^6 equiv 1 pmod 7$. And so "the trick" is if $a = 6b + r$ or in other words is $a equiv r pmod 6$ then $10^a = (10^6)^b10^r equiv 10^r pmod 7$ so



    $10^{5^{102}} = 10^{(6-1)^{102}} equiv 10^{(-1)^{102}} =10^1equiv 3 pmod 7$.



    So we nee to solve $n equiv 0 pmod 5$ and $nequiv 3 pmod 7$. By CRT there is one and also by CRT there is only one and as $10^{5^{102}}$ is a solution, $n equiv 10^{5^{102}} pmod 35$.



    And as $10^k equiv 0 equiv 10 pmod 5$ and $10^{5^{102}}equiv 10 pmod 7$ we know.... $n equiv 10 mod 35$ is that solution. $10 equiv 0 pmod 5$ and $10equiv 3 pmod 7$.



    So $10^{5^{102}}equiv 0 pmod 5$ and $10^{4^{102}}equiv 3pmod 7iff 10^{5^{102}} equiv 10 pmod 35$.






    share|cite|improve this answer






























      up vote
      1
      down vote













      $$10^{large 25^{LARGE n}}!!bmod 35, =, overbrace{5left[ 10^{largecolor{#c00}{ 25}^{LARGE n}}!!/5bmod 7right], =, 5left[10^{large color{#c00}{bf 1}^{LARGE n}}!!/5bmod 7right]}^{ Large 10^{LARGE color{#0a0} 6}equiv, 1!pmod{!7}; color{#c00}{25 equiv 1}pmod{!color{#0a0}6}} =, 5[2], =, 10qquad$$






      share|cite|improve this answer























      • By $color{#0a0}{rmmu Fermat}$ & the mod Distributive Law $,abbmod ac = a(bbmod c),$ instead of CRT.
        – Bill Dubuque
        Dec 6 at 2:29











      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%2f3027895%2fchinese-remainder-theorem-application-question%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      4 Answers
      4






      active

      oldest

      votes








      4 Answers
      4






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      3
      down vote













      Hint: Find the quantity $bmod 5$ (shouldn't be hard given that the base is $10$) and then find it $bmod 7$ (using some $a$ so that $10^aequiv 1bmod 7$ like you mentioned). From here, splice them together with the Chinese remainder theorem.






      share|cite|improve this answer





















      • I just followed the logic you said, like I can let $10^{5^{102}}$ be X, and X is congruent to 0 mod 5 and X is also congruent to 3 mod 7, and X=45, I cannot not fully understand the logic here, could you please explain more?
        – Johnny Wong
        Dec 6 at 1:19










      • @JohnnyWong Are you familiar with the Chinese remainder theorem?
        – Carl Schildkraut
        Dec 6 at 2:14















      up vote
      3
      down vote













      Hint: Find the quantity $bmod 5$ (shouldn't be hard given that the base is $10$) and then find it $bmod 7$ (using some $a$ so that $10^aequiv 1bmod 7$ like you mentioned). From here, splice them together with the Chinese remainder theorem.






      share|cite|improve this answer





















      • I just followed the logic you said, like I can let $10^{5^{102}}$ be X, and X is congruent to 0 mod 5 and X is also congruent to 3 mod 7, and X=45, I cannot not fully understand the logic here, could you please explain more?
        – Johnny Wong
        Dec 6 at 1:19










      • @JohnnyWong Are you familiar with the Chinese remainder theorem?
        – Carl Schildkraut
        Dec 6 at 2:14













      up vote
      3
      down vote










      up vote
      3
      down vote









      Hint: Find the quantity $bmod 5$ (shouldn't be hard given that the base is $10$) and then find it $bmod 7$ (using some $a$ so that $10^aequiv 1bmod 7$ like you mentioned). From here, splice them together with the Chinese remainder theorem.






      share|cite|improve this answer












      Hint: Find the quantity $bmod 5$ (shouldn't be hard given that the base is $10$) and then find it $bmod 7$ (using some $a$ so that $10^aequiv 1bmod 7$ like you mentioned). From here, splice them together with the Chinese remainder theorem.







      share|cite|improve this answer












      share|cite|improve this answer



      share|cite|improve this answer










      answered Dec 6 at 1:08









      Carl Schildkraut

      11.1k11441




      11.1k11441












      • I just followed the logic you said, like I can let $10^{5^{102}}$ be X, and X is congruent to 0 mod 5 and X is also congruent to 3 mod 7, and X=45, I cannot not fully understand the logic here, could you please explain more?
        – Johnny Wong
        Dec 6 at 1:19










      • @JohnnyWong Are you familiar with the Chinese remainder theorem?
        – Carl Schildkraut
        Dec 6 at 2:14


















      • I just followed the logic you said, like I can let $10^{5^{102}}$ be X, and X is congruent to 0 mod 5 and X is also congruent to 3 mod 7, and X=45, I cannot not fully understand the logic here, could you please explain more?
        – Johnny Wong
        Dec 6 at 1:19










      • @JohnnyWong Are you familiar with the Chinese remainder theorem?
        – Carl Schildkraut
        Dec 6 at 2:14
















      I just followed the logic you said, like I can let $10^{5^{102}}$ be X, and X is congruent to 0 mod 5 and X is also congruent to 3 mod 7, and X=45, I cannot not fully understand the logic here, could you please explain more?
      – Johnny Wong
      Dec 6 at 1:19




      I just followed the logic you said, like I can let $10^{5^{102}}$ be X, and X is congruent to 0 mod 5 and X is also congruent to 3 mod 7, and X=45, I cannot not fully understand the logic here, could you please explain more?
      – Johnny Wong
      Dec 6 at 1:19












      @JohnnyWong Are you familiar with the Chinese remainder theorem?
      – Carl Schildkraut
      Dec 6 at 2:14




      @JohnnyWong Are you familiar with the Chinese remainder theorem?
      – Carl Schildkraut
      Dec 6 at 2:14










      up vote
      1
      down vote













      Set $x= 10^{5^{102}}$. Clearly
      $$
      x=0 mod 5.
      $$

      You have to solve now:
      $$
      x=10^{5^{102}} mod 7,
      $$

      that is:
      $$
      x=3^{5^{102}} mod 7.
      $$

      Since $7$ is prime and $7$ is not a divisor of $3$ , Fermat's little theorem says
      $$
      3^6=1 mod 7,
      $$

      therefore:
      $$
      3^{5^{102}}=3^y mod 7 quad text{ if }quad 5^{102}=y mod 6.
      $$

      Now,
      $$
      y=5^{102} mod 6,\
      y=(-1)^{102} mod 6,\
      y=1 mod 6.
      $$

      This means:
      $$
      x=3^1=3 mod 7.\
      $$

      Now, using:
      $$
      x=0 mod 5,\
      x=3 mod 7,\
      $$

      you should be able to prove:
      $$
      x = 10 mod 35.
      $$

      (Chinese remainder theorem tells you that this solution is unique mod 35)






      share|cite|improve this answer

























        up vote
        1
        down vote













        Set $x= 10^{5^{102}}$. Clearly
        $$
        x=0 mod 5.
        $$

        You have to solve now:
        $$
        x=10^{5^{102}} mod 7,
        $$

        that is:
        $$
        x=3^{5^{102}} mod 7.
        $$

        Since $7$ is prime and $7$ is not a divisor of $3$ , Fermat's little theorem says
        $$
        3^6=1 mod 7,
        $$

        therefore:
        $$
        3^{5^{102}}=3^y mod 7 quad text{ if }quad 5^{102}=y mod 6.
        $$

        Now,
        $$
        y=5^{102} mod 6,\
        y=(-1)^{102} mod 6,\
        y=1 mod 6.
        $$

        This means:
        $$
        x=3^1=3 mod 7.\
        $$

        Now, using:
        $$
        x=0 mod 5,\
        x=3 mod 7,\
        $$

        you should be able to prove:
        $$
        x = 10 mod 35.
        $$

        (Chinese remainder theorem tells you that this solution is unique mod 35)






        share|cite|improve this answer























          up vote
          1
          down vote










          up vote
          1
          down vote









          Set $x= 10^{5^{102}}$. Clearly
          $$
          x=0 mod 5.
          $$

          You have to solve now:
          $$
          x=10^{5^{102}} mod 7,
          $$

          that is:
          $$
          x=3^{5^{102}} mod 7.
          $$

          Since $7$ is prime and $7$ is not a divisor of $3$ , Fermat's little theorem says
          $$
          3^6=1 mod 7,
          $$

          therefore:
          $$
          3^{5^{102}}=3^y mod 7 quad text{ if }quad 5^{102}=y mod 6.
          $$

          Now,
          $$
          y=5^{102} mod 6,\
          y=(-1)^{102} mod 6,\
          y=1 mod 6.
          $$

          This means:
          $$
          x=3^1=3 mod 7.\
          $$

          Now, using:
          $$
          x=0 mod 5,\
          x=3 mod 7,\
          $$

          you should be able to prove:
          $$
          x = 10 mod 35.
          $$

          (Chinese remainder theorem tells you that this solution is unique mod 35)






          share|cite|improve this answer












          Set $x= 10^{5^{102}}$. Clearly
          $$
          x=0 mod 5.
          $$

          You have to solve now:
          $$
          x=10^{5^{102}} mod 7,
          $$

          that is:
          $$
          x=3^{5^{102}} mod 7.
          $$

          Since $7$ is prime and $7$ is not a divisor of $3$ , Fermat's little theorem says
          $$
          3^6=1 mod 7,
          $$

          therefore:
          $$
          3^{5^{102}}=3^y mod 7 quad text{ if }quad 5^{102}=y mod 6.
          $$

          Now,
          $$
          y=5^{102} mod 6,\
          y=(-1)^{102} mod 6,\
          y=1 mod 6.
          $$

          This means:
          $$
          x=3^1=3 mod 7.\
          $$

          Now, using:
          $$
          x=0 mod 5,\
          x=3 mod 7,\
          $$

          you should be able to prove:
          $$
          x = 10 mod 35.
          $$

          (Chinese remainder theorem tells you that this solution is unique mod 35)







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Dec 6 at 1:54









          FormulaWriter

          412




          412






















              up vote
              1
              down vote













              You can't find it because $10$ and $35$ are not relatively prime and there is none.



              As $gcd(10, 35)= 7$ every $10^k$ will be equivalent to a multiple of $5$. we can attempt to find $10^k equiv 10pmod {35}$....



              But the Chinese Remeander Theorem is much easier.



              CRT says: If $10^{5^{102}} equiv j pmod {5}$ and $10^{5^{102}} equiv m pmod 7$, there is unique equivalence class $n pmod{5*7}$ so that $nequiv j equiv 10^{5^{102}} pmod 5$ and $nequiv m equiv 10^{5^{102}}pmod 5$. And from $m,j$ will be able to find that $n$.



              $10equiv 0 pmod 5$ so $10^{5^{102}} equiv 0 pmod 5$.



              Now by Fermat Little Theorem $10^6 equiv 1 pmod 7$. And so "the trick" is if $a = 6b + r$ or in other words is $a equiv r pmod 6$ then $10^a = (10^6)^b10^r equiv 10^r pmod 7$ so



              $10^{5^{102}} = 10^{(6-1)^{102}} equiv 10^{(-1)^{102}} =10^1equiv 3 pmod 7$.



              So we nee to solve $n equiv 0 pmod 5$ and $nequiv 3 pmod 7$. By CRT there is one and also by CRT there is only one and as $10^{5^{102}}$ is a solution, $n equiv 10^{5^{102}} pmod 35$.



              And as $10^k equiv 0 equiv 10 pmod 5$ and $10^{5^{102}}equiv 10 pmod 7$ we know.... $n equiv 10 mod 35$ is that solution. $10 equiv 0 pmod 5$ and $10equiv 3 pmod 7$.



              So $10^{5^{102}}equiv 0 pmod 5$ and $10^{4^{102}}equiv 3pmod 7iff 10^{5^{102}} equiv 10 pmod 35$.






              share|cite|improve this answer



























                up vote
                1
                down vote













                You can't find it because $10$ and $35$ are not relatively prime and there is none.



                As $gcd(10, 35)= 7$ every $10^k$ will be equivalent to a multiple of $5$. we can attempt to find $10^k equiv 10pmod {35}$....



                But the Chinese Remeander Theorem is much easier.



                CRT says: If $10^{5^{102}} equiv j pmod {5}$ and $10^{5^{102}} equiv m pmod 7$, there is unique equivalence class $n pmod{5*7}$ so that $nequiv j equiv 10^{5^{102}} pmod 5$ and $nequiv m equiv 10^{5^{102}}pmod 5$. And from $m,j$ will be able to find that $n$.



                $10equiv 0 pmod 5$ so $10^{5^{102}} equiv 0 pmod 5$.



                Now by Fermat Little Theorem $10^6 equiv 1 pmod 7$. And so "the trick" is if $a = 6b + r$ or in other words is $a equiv r pmod 6$ then $10^a = (10^6)^b10^r equiv 10^r pmod 7$ so



                $10^{5^{102}} = 10^{(6-1)^{102}} equiv 10^{(-1)^{102}} =10^1equiv 3 pmod 7$.



                So we nee to solve $n equiv 0 pmod 5$ and $nequiv 3 pmod 7$. By CRT there is one and also by CRT there is only one and as $10^{5^{102}}$ is a solution, $n equiv 10^{5^{102}} pmod 35$.



                And as $10^k equiv 0 equiv 10 pmod 5$ and $10^{5^{102}}equiv 10 pmod 7$ we know.... $n equiv 10 mod 35$ is that solution. $10 equiv 0 pmod 5$ and $10equiv 3 pmod 7$.



                So $10^{5^{102}}equiv 0 pmod 5$ and $10^{4^{102}}equiv 3pmod 7iff 10^{5^{102}} equiv 10 pmod 35$.






                share|cite|improve this answer

























                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  You can't find it because $10$ and $35$ are not relatively prime and there is none.



                  As $gcd(10, 35)= 7$ every $10^k$ will be equivalent to a multiple of $5$. we can attempt to find $10^k equiv 10pmod {35}$....



                  But the Chinese Remeander Theorem is much easier.



                  CRT says: If $10^{5^{102}} equiv j pmod {5}$ and $10^{5^{102}} equiv m pmod 7$, there is unique equivalence class $n pmod{5*7}$ so that $nequiv j equiv 10^{5^{102}} pmod 5$ and $nequiv m equiv 10^{5^{102}}pmod 5$. And from $m,j$ will be able to find that $n$.



                  $10equiv 0 pmod 5$ so $10^{5^{102}} equiv 0 pmod 5$.



                  Now by Fermat Little Theorem $10^6 equiv 1 pmod 7$. And so "the trick" is if $a = 6b + r$ or in other words is $a equiv r pmod 6$ then $10^a = (10^6)^b10^r equiv 10^r pmod 7$ so



                  $10^{5^{102}} = 10^{(6-1)^{102}} equiv 10^{(-1)^{102}} =10^1equiv 3 pmod 7$.



                  So we nee to solve $n equiv 0 pmod 5$ and $nequiv 3 pmod 7$. By CRT there is one and also by CRT there is only one and as $10^{5^{102}}$ is a solution, $n equiv 10^{5^{102}} pmod 35$.



                  And as $10^k equiv 0 equiv 10 pmod 5$ and $10^{5^{102}}equiv 10 pmod 7$ we know.... $n equiv 10 mod 35$ is that solution. $10 equiv 0 pmod 5$ and $10equiv 3 pmod 7$.



                  So $10^{5^{102}}equiv 0 pmod 5$ and $10^{4^{102}}equiv 3pmod 7iff 10^{5^{102}} equiv 10 pmod 35$.






                  share|cite|improve this answer














                  You can't find it because $10$ and $35$ are not relatively prime and there is none.



                  As $gcd(10, 35)= 7$ every $10^k$ will be equivalent to a multiple of $5$. we can attempt to find $10^k equiv 10pmod {35}$....



                  But the Chinese Remeander Theorem is much easier.



                  CRT says: If $10^{5^{102}} equiv j pmod {5}$ and $10^{5^{102}} equiv m pmod 7$, there is unique equivalence class $n pmod{5*7}$ so that $nequiv j equiv 10^{5^{102}} pmod 5$ and $nequiv m equiv 10^{5^{102}}pmod 5$. And from $m,j$ will be able to find that $n$.



                  $10equiv 0 pmod 5$ so $10^{5^{102}} equiv 0 pmod 5$.



                  Now by Fermat Little Theorem $10^6 equiv 1 pmod 7$. And so "the trick" is if $a = 6b + r$ or in other words is $a equiv r pmod 6$ then $10^a = (10^6)^b10^r equiv 10^r pmod 7$ so



                  $10^{5^{102}} = 10^{(6-1)^{102}} equiv 10^{(-1)^{102}} =10^1equiv 3 pmod 7$.



                  So we nee to solve $n equiv 0 pmod 5$ and $nequiv 3 pmod 7$. By CRT there is one and also by CRT there is only one and as $10^{5^{102}}$ is a solution, $n equiv 10^{5^{102}} pmod 35$.



                  And as $10^k equiv 0 equiv 10 pmod 5$ and $10^{5^{102}}equiv 10 pmod 7$ we know.... $n equiv 10 mod 35$ is that solution. $10 equiv 0 pmod 5$ and $10equiv 3 pmod 7$.



                  So $10^{5^{102}}equiv 0 pmod 5$ and $10^{4^{102}}equiv 3pmod 7iff 10^{5^{102}} equiv 10 pmod 35$.







                  share|cite|improve this answer














                  share|cite|improve this answer



                  share|cite|improve this answer








                  edited Dec 6 at 2:12

























                  answered Dec 6 at 2:04









                  fleablood

                  68k22684




                  68k22684






















                      up vote
                      1
                      down vote













                      $$10^{large 25^{LARGE n}}!!bmod 35, =, overbrace{5left[ 10^{largecolor{#c00}{ 25}^{LARGE n}}!!/5bmod 7right], =, 5left[10^{large color{#c00}{bf 1}^{LARGE n}}!!/5bmod 7right]}^{ Large 10^{LARGE color{#0a0} 6}equiv, 1!pmod{!7}; color{#c00}{25 equiv 1}pmod{!color{#0a0}6}} =, 5[2], =, 10qquad$$






                      share|cite|improve this answer























                      • By $color{#0a0}{rmmu Fermat}$ & the mod Distributive Law $,abbmod ac = a(bbmod c),$ instead of CRT.
                        – Bill Dubuque
                        Dec 6 at 2:29















                      up vote
                      1
                      down vote













                      $$10^{large 25^{LARGE n}}!!bmod 35, =, overbrace{5left[ 10^{largecolor{#c00}{ 25}^{LARGE n}}!!/5bmod 7right], =, 5left[10^{large color{#c00}{bf 1}^{LARGE n}}!!/5bmod 7right]}^{ Large 10^{LARGE color{#0a0} 6}equiv, 1!pmod{!7}; color{#c00}{25 equiv 1}pmod{!color{#0a0}6}} =, 5[2], =, 10qquad$$






                      share|cite|improve this answer























                      • By $color{#0a0}{rmmu Fermat}$ & the mod Distributive Law $,abbmod ac = a(bbmod c),$ instead of CRT.
                        – Bill Dubuque
                        Dec 6 at 2:29













                      up vote
                      1
                      down vote










                      up vote
                      1
                      down vote









                      $$10^{large 25^{LARGE n}}!!bmod 35, =, overbrace{5left[ 10^{largecolor{#c00}{ 25}^{LARGE n}}!!/5bmod 7right], =, 5left[10^{large color{#c00}{bf 1}^{LARGE n}}!!/5bmod 7right]}^{ Large 10^{LARGE color{#0a0} 6}equiv, 1!pmod{!7}; color{#c00}{25 equiv 1}pmod{!color{#0a0}6}} =, 5[2], =, 10qquad$$






                      share|cite|improve this answer














                      $$10^{large 25^{LARGE n}}!!bmod 35, =, overbrace{5left[ 10^{largecolor{#c00}{ 25}^{LARGE n}}!!/5bmod 7right], =, 5left[10^{large color{#c00}{bf 1}^{LARGE n}}!!/5bmod 7right]}^{ Large 10^{LARGE color{#0a0} 6}equiv, 1!pmod{!7}; color{#c00}{25 equiv 1}pmod{!color{#0a0}6}} =, 5[2], =, 10qquad$$







                      share|cite|improve this answer














                      share|cite|improve this answer



                      share|cite|improve this answer








                      edited Dec 6 at 2:14

























                      answered Dec 6 at 1:45









                      Bill Dubuque

                      208k29189625




                      208k29189625












                      • By $color{#0a0}{rmmu Fermat}$ & the mod Distributive Law $,abbmod ac = a(bbmod c),$ instead of CRT.
                        – Bill Dubuque
                        Dec 6 at 2:29


















                      • By $color{#0a0}{rmmu Fermat}$ & the mod Distributive Law $,abbmod ac = a(bbmod c),$ instead of CRT.
                        – Bill Dubuque
                        Dec 6 at 2:29
















                      By $color{#0a0}{rmmu Fermat}$ & the mod Distributive Law $,abbmod ac = a(bbmod c),$ instead of CRT.
                      – Bill Dubuque
                      Dec 6 at 2:29




                      By $color{#0a0}{rmmu Fermat}$ & the mod Distributive Law $,abbmod ac = a(bbmod c),$ instead of CRT.
                      – Bill Dubuque
                      Dec 6 at 2:29


















                      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.





                      Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                      Please pay close attention to the following guidance:


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


                      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%2f3027895%2fchinese-remainder-theorem-application-question%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

                      Måne

                      Storängen

                      VLT Carioca