Three digit number problem












0












$begingroup$


The value of a three digit number increases by 108 when the first digit is placed at
the last (the 2nd value becomes the 1st and the 3rd value becomes the 2nd).



The value of the number increases by 189 from the main number when the last number is
placed at the first (the 1st value becomes the 2nd and the 2nd value becomes the 3rd).. Determine the summation of all the possible numbers.



e.g. 123
After replacing the 1st digit, the number is 231
(231 - 123 = 108)
After replacing the last digit, the number is 312.
(312 - 123 = 189)










share|cite|improve this question











$endgroup$








  • 2




    $begingroup$
    When the first digit is placed in third position, which one becomes the first, the second (or the third)?
    $endgroup$
    – Patricio
    Jan 12 at 9:04


















0












$begingroup$


The value of a three digit number increases by 108 when the first digit is placed at
the last (the 2nd value becomes the 1st and the 3rd value becomes the 2nd).



The value of the number increases by 189 from the main number when the last number is
placed at the first (the 1st value becomes the 2nd and the 2nd value becomes the 3rd).. Determine the summation of all the possible numbers.



e.g. 123
After replacing the 1st digit, the number is 231
(231 - 123 = 108)
After replacing the last digit, the number is 312.
(312 - 123 = 189)










share|cite|improve this question











$endgroup$








  • 2




    $begingroup$
    When the first digit is placed in third position, which one becomes the first, the second (or the third)?
    $endgroup$
    – Patricio
    Jan 12 at 9:04
















0












0








0


0



$begingroup$


The value of a three digit number increases by 108 when the first digit is placed at
the last (the 2nd value becomes the 1st and the 3rd value becomes the 2nd).



The value of the number increases by 189 from the main number when the last number is
placed at the first (the 1st value becomes the 2nd and the 2nd value becomes the 3rd).. Determine the summation of all the possible numbers.



e.g. 123
After replacing the 1st digit, the number is 231
(231 - 123 = 108)
After replacing the last digit, the number is 312.
(312 - 123 = 189)










share|cite|improve this question











$endgroup$




The value of a three digit number increases by 108 when the first digit is placed at
the last (the 2nd value becomes the 1st and the 3rd value becomes the 2nd).



The value of the number increases by 189 from the main number when the last number is
placed at the first (the 1st value becomes the 2nd and the 2nd value becomes the 3rd).. Determine the summation of all the possible numbers.



e.g. 123
After replacing the 1st digit, the number is 231
(231 - 123 = 108)
After replacing the last digit, the number is 312.
(312 - 123 = 189)







number-theory






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 12 at 9:31







Adnan Toky

















asked Jan 12 at 9:00









Adnan TokyAdnan Toky

1476




1476








  • 2




    $begingroup$
    When the first digit is placed in third position, which one becomes the first, the second (or the third)?
    $endgroup$
    – Patricio
    Jan 12 at 9:04
















  • 2




    $begingroup$
    When the first digit is placed in third position, which one becomes the first, the second (or the third)?
    $endgroup$
    – Patricio
    Jan 12 at 9:04










2




2




$begingroup$
When the first digit is placed in third position, which one becomes the first, the second (or the third)?
$endgroup$
– Patricio
Jan 12 at 9:04






$begingroup$
When the first digit is placed in third position, which one becomes the first, the second (or the third)?
$endgroup$
– Patricio
Jan 12 at 9:04












2 Answers
2






active

oldest

votes


















1












$begingroup$

First of all suppose that the three digits of the number are $x$, $y$ and $z$ ($1le xle , 0le y, zle9$). Then the number is $100x+10y+z$.
The number formed by putting first digit ($x$) at the last is $100y+10z+x$. So by given condition:



$$100y+10z+x=100x+10y+z+108$$
$$Rightarrow -99x+90y+9z=108$$
$$Rightarrow -11x+10y+z=12 ldots(i)$$



Also the number formed when last digit ($z$) is put at the first, is $100z+10x+y$, hence by given condition:



$$100z+10x+y=100x+10y+z+189$$
$$Rightarrow -90x-9y+99z=189$$
$$Rightarrow -10x-y+11z=21 ldots(ii)$$



Multiplying $(i)$ by $11$,
$$-121x+110y+11z=132 ldots(iii)$$



Subtracting $(iii)$ from $(ii)$,
$$111x-111y=-111$$
$$Rightarrow x-y=-1$$
$$Rightarrow y = x+1 ldots(iv)$$
Now putting in $(i)$,
$$-x+z=2$$
$$Rightarrow z = x+2 ldots(v)$$



So the sum of digits is $x+y+z=3x+3$ where $1le xle7$ (Why??!!). Find possible values by placing the values of $x$ in the sum.






share|cite|improve this answer









$endgroup$





















    0












    $begingroup$

    First note that any number $ge 100$ with a $0$ in the middle won't work, since moving the first digit to last will decrease the number. Having the $0$ at the end similarly fails when we try to move the last digit to first.



    This leaves numbers with all digits nonzero or with an initial zero and two nonzero digits following. If $n$ is any number of the former type and it satisfies the conditions given I, the problem, so does $n-111$ (why?), and we can step down to a number in ${000,001,...,110}$. The numbers from $100$ to $110$ have $0$ digits in the wrong place, and numbers from $000$ to $099$ are always multiplied by $10$ when the first ($0$) digit is moved to last. This means the only possible solution in ${000,001,...,110}$ is $012$ and thus the only numbers to enter the requested sum itself are $equiv 12bmod 111$. Dropping $012$ from the list as it is conventionally considered the two-digit number $12$, we are left with $123,234,...,789$ (why can't we go higher than $789$?). The sum of these numbers can than be worked out accordingly.






    share|cite|improve this answer









    $endgroup$














      Your Answer








      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%2f3070717%2fthree-digit-number-problem%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









      1












      $begingroup$

      First of all suppose that the three digits of the number are $x$, $y$ and $z$ ($1le xle , 0le y, zle9$). Then the number is $100x+10y+z$.
      The number formed by putting first digit ($x$) at the last is $100y+10z+x$. So by given condition:



      $$100y+10z+x=100x+10y+z+108$$
      $$Rightarrow -99x+90y+9z=108$$
      $$Rightarrow -11x+10y+z=12 ldots(i)$$



      Also the number formed when last digit ($z$) is put at the first, is $100z+10x+y$, hence by given condition:



      $$100z+10x+y=100x+10y+z+189$$
      $$Rightarrow -90x-9y+99z=189$$
      $$Rightarrow -10x-y+11z=21 ldots(ii)$$



      Multiplying $(i)$ by $11$,
      $$-121x+110y+11z=132 ldots(iii)$$



      Subtracting $(iii)$ from $(ii)$,
      $$111x-111y=-111$$
      $$Rightarrow x-y=-1$$
      $$Rightarrow y = x+1 ldots(iv)$$
      Now putting in $(i)$,
      $$-x+z=2$$
      $$Rightarrow z = x+2 ldots(v)$$



      So the sum of digits is $x+y+z=3x+3$ where $1le xle7$ (Why??!!). Find possible values by placing the values of $x$ in the sum.






      share|cite|improve this answer









      $endgroup$


















        1












        $begingroup$

        First of all suppose that the three digits of the number are $x$, $y$ and $z$ ($1le xle , 0le y, zle9$). Then the number is $100x+10y+z$.
        The number formed by putting first digit ($x$) at the last is $100y+10z+x$. So by given condition:



        $$100y+10z+x=100x+10y+z+108$$
        $$Rightarrow -99x+90y+9z=108$$
        $$Rightarrow -11x+10y+z=12 ldots(i)$$



        Also the number formed when last digit ($z$) is put at the first, is $100z+10x+y$, hence by given condition:



        $$100z+10x+y=100x+10y+z+189$$
        $$Rightarrow -90x-9y+99z=189$$
        $$Rightarrow -10x-y+11z=21 ldots(ii)$$



        Multiplying $(i)$ by $11$,
        $$-121x+110y+11z=132 ldots(iii)$$



        Subtracting $(iii)$ from $(ii)$,
        $$111x-111y=-111$$
        $$Rightarrow x-y=-1$$
        $$Rightarrow y = x+1 ldots(iv)$$
        Now putting in $(i)$,
        $$-x+z=2$$
        $$Rightarrow z = x+2 ldots(v)$$



        So the sum of digits is $x+y+z=3x+3$ where $1le xle7$ (Why??!!). Find possible values by placing the values of $x$ in the sum.






        share|cite|improve this answer









        $endgroup$
















          1












          1








          1





          $begingroup$

          First of all suppose that the three digits of the number are $x$, $y$ and $z$ ($1le xle , 0le y, zle9$). Then the number is $100x+10y+z$.
          The number formed by putting first digit ($x$) at the last is $100y+10z+x$. So by given condition:



          $$100y+10z+x=100x+10y+z+108$$
          $$Rightarrow -99x+90y+9z=108$$
          $$Rightarrow -11x+10y+z=12 ldots(i)$$



          Also the number formed when last digit ($z$) is put at the first, is $100z+10x+y$, hence by given condition:



          $$100z+10x+y=100x+10y+z+189$$
          $$Rightarrow -90x-9y+99z=189$$
          $$Rightarrow -10x-y+11z=21 ldots(ii)$$



          Multiplying $(i)$ by $11$,
          $$-121x+110y+11z=132 ldots(iii)$$



          Subtracting $(iii)$ from $(ii)$,
          $$111x-111y=-111$$
          $$Rightarrow x-y=-1$$
          $$Rightarrow y = x+1 ldots(iv)$$
          Now putting in $(i)$,
          $$-x+z=2$$
          $$Rightarrow z = x+2 ldots(v)$$



          So the sum of digits is $x+y+z=3x+3$ where $1le xle7$ (Why??!!). Find possible values by placing the values of $x$ in the sum.






          share|cite|improve this answer









          $endgroup$



          First of all suppose that the three digits of the number are $x$, $y$ and $z$ ($1le xle , 0le y, zle9$). Then the number is $100x+10y+z$.
          The number formed by putting first digit ($x$) at the last is $100y+10z+x$. So by given condition:



          $$100y+10z+x=100x+10y+z+108$$
          $$Rightarrow -99x+90y+9z=108$$
          $$Rightarrow -11x+10y+z=12 ldots(i)$$



          Also the number formed when last digit ($z$) is put at the first, is $100z+10x+y$, hence by given condition:



          $$100z+10x+y=100x+10y+z+189$$
          $$Rightarrow -90x-9y+99z=189$$
          $$Rightarrow -10x-y+11z=21 ldots(ii)$$



          Multiplying $(i)$ by $11$,
          $$-121x+110y+11z=132 ldots(iii)$$



          Subtracting $(iii)$ from $(ii)$,
          $$111x-111y=-111$$
          $$Rightarrow x-y=-1$$
          $$Rightarrow y = x+1 ldots(iv)$$
          Now putting in $(i)$,
          $$-x+z=2$$
          $$Rightarrow z = x+2 ldots(v)$$



          So the sum of digits is $x+y+z=3x+3$ where $1le xle7$ (Why??!!). Find possible values by placing the values of $x$ in the sum.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Jan 12 at 9:29









          Faiq IrfanFaiq Irfan

          8311317




          8311317























              0












              $begingroup$

              First note that any number $ge 100$ with a $0$ in the middle won't work, since moving the first digit to last will decrease the number. Having the $0$ at the end similarly fails when we try to move the last digit to first.



              This leaves numbers with all digits nonzero or with an initial zero and two nonzero digits following. If $n$ is any number of the former type and it satisfies the conditions given I, the problem, so does $n-111$ (why?), and we can step down to a number in ${000,001,...,110}$. The numbers from $100$ to $110$ have $0$ digits in the wrong place, and numbers from $000$ to $099$ are always multiplied by $10$ when the first ($0$) digit is moved to last. This means the only possible solution in ${000,001,...,110}$ is $012$ and thus the only numbers to enter the requested sum itself are $equiv 12bmod 111$. Dropping $012$ from the list as it is conventionally considered the two-digit number $12$, we are left with $123,234,...,789$ (why can't we go higher than $789$?). The sum of these numbers can than be worked out accordingly.






              share|cite|improve this answer









              $endgroup$


















                0












                $begingroup$

                First note that any number $ge 100$ with a $0$ in the middle won't work, since moving the first digit to last will decrease the number. Having the $0$ at the end similarly fails when we try to move the last digit to first.



                This leaves numbers with all digits nonzero or with an initial zero and two nonzero digits following. If $n$ is any number of the former type and it satisfies the conditions given I, the problem, so does $n-111$ (why?), and we can step down to a number in ${000,001,...,110}$. The numbers from $100$ to $110$ have $0$ digits in the wrong place, and numbers from $000$ to $099$ are always multiplied by $10$ when the first ($0$) digit is moved to last. This means the only possible solution in ${000,001,...,110}$ is $012$ and thus the only numbers to enter the requested sum itself are $equiv 12bmod 111$. Dropping $012$ from the list as it is conventionally considered the two-digit number $12$, we are left with $123,234,...,789$ (why can't we go higher than $789$?). The sum of these numbers can than be worked out accordingly.






                share|cite|improve this answer









                $endgroup$
















                  0












                  0








                  0





                  $begingroup$

                  First note that any number $ge 100$ with a $0$ in the middle won't work, since moving the first digit to last will decrease the number. Having the $0$ at the end similarly fails when we try to move the last digit to first.



                  This leaves numbers with all digits nonzero or with an initial zero and two nonzero digits following. If $n$ is any number of the former type and it satisfies the conditions given I, the problem, so does $n-111$ (why?), and we can step down to a number in ${000,001,...,110}$. The numbers from $100$ to $110$ have $0$ digits in the wrong place, and numbers from $000$ to $099$ are always multiplied by $10$ when the first ($0$) digit is moved to last. This means the only possible solution in ${000,001,...,110}$ is $012$ and thus the only numbers to enter the requested sum itself are $equiv 12bmod 111$. Dropping $012$ from the list as it is conventionally considered the two-digit number $12$, we are left with $123,234,...,789$ (why can't we go higher than $789$?). The sum of these numbers can than be worked out accordingly.






                  share|cite|improve this answer









                  $endgroup$



                  First note that any number $ge 100$ with a $0$ in the middle won't work, since moving the first digit to last will decrease the number. Having the $0$ at the end similarly fails when we try to move the last digit to first.



                  This leaves numbers with all digits nonzero or with an initial zero and two nonzero digits following. If $n$ is any number of the former type and it satisfies the conditions given I, the problem, so does $n-111$ (why?), and we can step down to a number in ${000,001,...,110}$. The numbers from $100$ to $110$ have $0$ digits in the wrong place, and numbers from $000$ to $099$ are always multiplied by $10$ when the first ($0$) digit is moved to last. This means the only possible solution in ${000,001,...,110}$ is $012$ and thus the only numbers to enter the requested sum itself are $equiv 12bmod 111$. Dropping $012$ from the list as it is conventionally considered the two-digit number $12$, we are left with $123,234,...,789$ (why can't we go higher than $789$?). The sum of these numbers can than be worked out accordingly.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Jan 12 at 11:07









                  Oscar LanziOscar Lanzi

                  13.6k12136




                  13.6k12136






























                      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%2f3070717%2fthree-digit-number-problem%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

                      Bressuire

                      Cabo Verde

                      Gyllenstierna