$2017-(a+b+c+d)=n$ where $n=abcd_{(10)}$ (Local Math Olympiad Qualification Exam Question)












0












$begingroup$


The problem text states: "'Person A' was born in 1962, in 1980 he turned 18 which is the sum of the numbers in his birth year (1+9+6+2). 'Person B' has a younger brother 'Person C', in 2017 the age of each one of them was equal to the sum of the digits in their birth year, when was 'Person B' born?".
How can I approach this problem? I enumerated the cases using a script and found out that the possible numbers n that satisfy the requirements are 2012 and 1994.










share|cite|improve this question









$endgroup$












  • $begingroup$
    It seems you already have your answer. You could have done the enumeration manually, it would not have taken long.
    $endgroup$
    – Daniel Mathias
    Jan 11 at 21:45










  • $begingroup$
    @DanielMathias Yeah, but I assume there's a more solid solution/method/proof/explanation for it
    $endgroup$
    – Elhamer Yacine
    Jan 11 at 21:48










  • $begingroup$
    It is possible that you were born in October of 2007 and in Februrary of 2017 you would be 9 years old.
    $endgroup$
    – Doug M
    Jan 11 at 21:49










  • $begingroup$
    @DougM lol, that's a clever way to think of it, but I don't think that's what they meant. In that case I think you're kinda going to start counting from 2008 to 2017 or something along those lines
    $endgroup$
    – Elhamer Yacine
    Jan 11 at 21:54


















0












$begingroup$


The problem text states: "'Person A' was born in 1962, in 1980 he turned 18 which is the sum of the numbers in his birth year (1+9+6+2). 'Person B' has a younger brother 'Person C', in 2017 the age of each one of them was equal to the sum of the digits in their birth year, when was 'Person B' born?".
How can I approach this problem? I enumerated the cases using a script and found out that the possible numbers n that satisfy the requirements are 2012 and 1994.










share|cite|improve this question









$endgroup$












  • $begingroup$
    It seems you already have your answer. You could have done the enumeration manually, it would not have taken long.
    $endgroup$
    – Daniel Mathias
    Jan 11 at 21:45










  • $begingroup$
    @DanielMathias Yeah, but I assume there's a more solid solution/method/proof/explanation for it
    $endgroup$
    – Elhamer Yacine
    Jan 11 at 21:48










  • $begingroup$
    It is possible that you were born in October of 2007 and in Februrary of 2017 you would be 9 years old.
    $endgroup$
    – Doug M
    Jan 11 at 21:49










  • $begingroup$
    @DougM lol, that's a clever way to think of it, but I don't think that's what they meant. In that case I think you're kinda going to start counting from 2008 to 2017 or something along those lines
    $endgroup$
    – Elhamer Yacine
    Jan 11 at 21:54
















0












0








0


1



$begingroup$


The problem text states: "'Person A' was born in 1962, in 1980 he turned 18 which is the sum of the numbers in his birth year (1+9+6+2). 'Person B' has a younger brother 'Person C', in 2017 the age of each one of them was equal to the sum of the digits in their birth year, when was 'Person B' born?".
How can I approach this problem? I enumerated the cases using a script and found out that the possible numbers n that satisfy the requirements are 2012 and 1994.










share|cite|improve this question









$endgroup$




The problem text states: "'Person A' was born in 1962, in 1980 he turned 18 which is the sum of the numbers in his birth year (1+9+6+2). 'Person B' has a younger brother 'Person C', in 2017 the age of each one of them was equal to the sum of the digits in their birth year, when was 'Person B' born?".
How can I approach this problem? I enumerated the cases using a script and found out that the possible numbers n that satisfy the requirements are 2012 and 1994.







contest-math






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Jan 11 at 21:40









Elhamer YacineElhamer Yacine

102




102












  • $begingroup$
    It seems you already have your answer. You could have done the enumeration manually, it would not have taken long.
    $endgroup$
    – Daniel Mathias
    Jan 11 at 21:45










  • $begingroup$
    @DanielMathias Yeah, but I assume there's a more solid solution/method/proof/explanation for it
    $endgroup$
    – Elhamer Yacine
    Jan 11 at 21:48










  • $begingroup$
    It is possible that you were born in October of 2007 and in Februrary of 2017 you would be 9 years old.
    $endgroup$
    – Doug M
    Jan 11 at 21:49










  • $begingroup$
    @DougM lol, that's a clever way to think of it, but I don't think that's what they meant. In that case I think you're kinda going to start counting from 2008 to 2017 or something along those lines
    $endgroup$
    – Elhamer Yacine
    Jan 11 at 21:54




















  • $begingroup$
    It seems you already have your answer. You could have done the enumeration manually, it would not have taken long.
    $endgroup$
    – Daniel Mathias
    Jan 11 at 21:45










  • $begingroup$
    @DanielMathias Yeah, but I assume there's a more solid solution/method/proof/explanation for it
    $endgroup$
    – Elhamer Yacine
    Jan 11 at 21:48










  • $begingroup$
    It is possible that you were born in October of 2007 and in Februrary of 2017 you would be 9 years old.
    $endgroup$
    – Doug M
    Jan 11 at 21:49










  • $begingroup$
    @DougM lol, that's a clever way to think of it, but I don't think that's what they meant. In that case I think you're kinda going to start counting from 2008 to 2017 or something along those lines
    $endgroup$
    – Elhamer Yacine
    Jan 11 at 21:54


















$begingroup$
It seems you already have your answer. You could have done the enumeration manually, it would not have taken long.
$endgroup$
– Daniel Mathias
Jan 11 at 21:45




$begingroup$
It seems you already have your answer. You could have done the enumeration manually, it would not have taken long.
$endgroup$
– Daniel Mathias
Jan 11 at 21:45












$begingroup$
@DanielMathias Yeah, but I assume there's a more solid solution/method/proof/explanation for it
$endgroup$
– Elhamer Yacine
Jan 11 at 21:48




$begingroup$
@DanielMathias Yeah, but I assume there's a more solid solution/method/proof/explanation for it
$endgroup$
– Elhamer Yacine
Jan 11 at 21:48












$begingroup$
It is possible that you were born in October of 2007 and in Februrary of 2017 you would be 9 years old.
$endgroup$
– Doug M
Jan 11 at 21:49




$begingroup$
It is possible that you were born in October of 2007 and in Februrary of 2017 you would be 9 years old.
$endgroup$
– Doug M
Jan 11 at 21:49












$begingroup$
@DougM lol, that's a clever way to think of it, but I don't think that's what they meant. In that case I think you're kinda going to start counting from 2008 to 2017 or something along those lines
$endgroup$
– Elhamer Yacine
Jan 11 at 21:54






$begingroup$
@DougM lol, that's a clever way to think of it, but I don't think that's what they meant. In that case I think you're kinda going to start counting from 2008 to 2017 or something along those lines
$endgroup$
– Elhamer Yacine
Jan 11 at 21:54












2 Answers
2






active

oldest

votes


















1












$begingroup$

The possible cases for $a$ are $a=1$ and $a=2$.



Case $a=2$.



We have $2017-2-b-c-d=2000+100b+10c+d$, that is,
$$
15=101b+11c+2d
$$

Therefore $b=0$. Note that $c$ must be odd, so $c=1$ and $d=2$: the year is $2012$.



Case $a=1$



We have $2017-1-b-c-d=1000+100b+10c+d$, that is,
$$
1016=101b+11c+2d
$$

Note that $11c+2dle 99+18=117$, so we need $101bge899$, that is, $bge9$. Hence $b=9$ and $11c+2d=107$. Since $2dle18$, we have $11cge89$, so $cge9$, hence $c=9$ and $d=4$. The year is 1994.



Comment



The younger brother is needed, or person B could have been born either in 1994 or 2012.






share|cite|improve this answer









$endgroup$





















    0












    $begingroup$

    If you want do to this without a script.



    Born in 2010 - 2017.



    $7-d = 3+d\
    d = 5$



    Born in 2000 - 2009.



    $17 - d = 2+d\
    2d = 15\
    d = 7frac 12$



    If you are looking for integer solutions, none exist. But, as you don't turn your age until your birthday comes, born in $2007$ can work.



    Born in 1990 - 1999.



    $27-d = 19+d\
    d = 4$



    Born in 1980 - 1989.



    $37-d = 18+d\
    d = 9frac 12$



    $1989$ is works depending on your rules.



    Your age must be less than $1+9+9+9 = 28$



    We could perhaps generalize it a little more and say



    $17 - 10c - d = 2 + c + d\
    9c + 2d = 15$



    or



    $117 - 10c - d = 10 + c + d\
    9c + 2d = 107$



    If we want $c, d$ to be in ${0,1,2,3,4,5,6,7,8,9}, c $ must be odd and sufficiently small in one equation and large in the other.






    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%2f3070370%2f2017-abcd-n-where-n-abcd-10-local-math-olympiad-qualification-exam%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$

      The possible cases for $a$ are $a=1$ and $a=2$.



      Case $a=2$.



      We have $2017-2-b-c-d=2000+100b+10c+d$, that is,
      $$
      15=101b+11c+2d
      $$

      Therefore $b=0$. Note that $c$ must be odd, so $c=1$ and $d=2$: the year is $2012$.



      Case $a=1$



      We have $2017-1-b-c-d=1000+100b+10c+d$, that is,
      $$
      1016=101b+11c+2d
      $$

      Note that $11c+2dle 99+18=117$, so we need $101bge899$, that is, $bge9$. Hence $b=9$ and $11c+2d=107$. Since $2dle18$, we have $11cge89$, so $cge9$, hence $c=9$ and $d=4$. The year is 1994.



      Comment



      The younger brother is needed, or person B could have been born either in 1994 or 2012.






      share|cite|improve this answer









      $endgroup$


















        1












        $begingroup$

        The possible cases for $a$ are $a=1$ and $a=2$.



        Case $a=2$.



        We have $2017-2-b-c-d=2000+100b+10c+d$, that is,
        $$
        15=101b+11c+2d
        $$

        Therefore $b=0$. Note that $c$ must be odd, so $c=1$ and $d=2$: the year is $2012$.



        Case $a=1$



        We have $2017-1-b-c-d=1000+100b+10c+d$, that is,
        $$
        1016=101b+11c+2d
        $$

        Note that $11c+2dle 99+18=117$, so we need $101bge899$, that is, $bge9$. Hence $b=9$ and $11c+2d=107$. Since $2dle18$, we have $11cge89$, so $cge9$, hence $c=9$ and $d=4$. The year is 1994.



        Comment



        The younger brother is needed, or person B could have been born either in 1994 or 2012.






        share|cite|improve this answer









        $endgroup$
















          1












          1








          1





          $begingroup$

          The possible cases for $a$ are $a=1$ and $a=2$.



          Case $a=2$.



          We have $2017-2-b-c-d=2000+100b+10c+d$, that is,
          $$
          15=101b+11c+2d
          $$

          Therefore $b=0$. Note that $c$ must be odd, so $c=1$ and $d=2$: the year is $2012$.



          Case $a=1$



          We have $2017-1-b-c-d=1000+100b+10c+d$, that is,
          $$
          1016=101b+11c+2d
          $$

          Note that $11c+2dle 99+18=117$, so we need $101bge899$, that is, $bge9$. Hence $b=9$ and $11c+2d=107$. Since $2dle18$, we have $11cge89$, so $cge9$, hence $c=9$ and $d=4$. The year is 1994.



          Comment



          The younger brother is needed, or person B could have been born either in 1994 or 2012.






          share|cite|improve this answer









          $endgroup$



          The possible cases for $a$ are $a=1$ and $a=2$.



          Case $a=2$.



          We have $2017-2-b-c-d=2000+100b+10c+d$, that is,
          $$
          15=101b+11c+2d
          $$

          Therefore $b=0$. Note that $c$ must be odd, so $c=1$ and $d=2$: the year is $2012$.



          Case $a=1$



          We have $2017-1-b-c-d=1000+100b+10c+d$, that is,
          $$
          1016=101b+11c+2d
          $$

          Note that $11c+2dle 99+18=117$, so we need $101bge899$, that is, $bge9$. Hence $b=9$ and $11c+2d=107$. Since $2dle18$, we have $11cge89$, so $cge9$, hence $c=9$ and $d=4$. The year is 1994.



          Comment



          The younger brother is needed, or person B could have been born either in 1994 or 2012.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Jan 11 at 22:05









          egregegreg

          181k1485203




          181k1485203























              0












              $begingroup$

              If you want do to this without a script.



              Born in 2010 - 2017.



              $7-d = 3+d\
              d = 5$



              Born in 2000 - 2009.



              $17 - d = 2+d\
              2d = 15\
              d = 7frac 12$



              If you are looking for integer solutions, none exist. But, as you don't turn your age until your birthday comes, born in $2007$ can work.



              Born in 1990 - 1999.



              $27-d = 19+d\
              d = 4$



              Born in 1980 - 1989.



              $37-d = 18+d\
              d = 9frac 12$



              $1989$ is works depending on your rules.



              Your age must be less than $1+9+9+9 = 28$



              We could perhaps generalize it a little more and say



              $17 - 10c - d = 2 + c + d\
              9c + 2d = 15$



              or



              $117 - 10c - d = 10 + c + d\
              9c + 2d = 107$



              If we want $c, d$ to be in ${0,1,2,3,4,5,6,7,8,9}, c $ must be odd and sufficiently small in one equation and large in the other.






              share|cite|improve this answer









              $endgroup$


















                0












                $begingroup$

                If you want do to this without a script.



                Born in 2010 - 2017.



                $7-d = 3+d\
                d = 5$



                Born in 2000 - 2009.



                $17 - d = 2+d\
                2d = 15\
                d = 7frac 12$



                If you are looking for integer solutions, none exist. But, as you don't turn your age until your birthday comes, born in $2007$ can work.



                Born in 1990 - 1999.



                $27-d = 19+d\
                d = 4$



                Born in 1980 - 1989.



                $37-d = 18+d\
                d = 9frac 12$



                $1989$ is works depending on your rules.



                Your age must be less than $1+9+9+9 = 28$



                We could perhaps generalize it a little more and say



                $17 - 10c - d = 2 + c + d\
                9c + 2d = 15$



                or



                $117 - 10c - d = 10 + c + d\
                9c + 2d = 107$



                If we want $c, d$ to be in ${0,1,2,3,4,5,6,7,8,9}, c $ must be odd and sufficiently small in one equation and large in the other.






                share|cite|improve this answer









                $endgroup$
















                  0












                  0








                  0





                  $begingroup$

                  If you want do to this without a script.



                  Born in 2010 - 2017.



                  $7-d = 3+d\
                  d = 5$



                  Born in 2000 - 2009.



                  $17 - d = 2+d\
                  2d = 15\
                  d = 7frac 12$



                  If you are looking for integer solutions, none exist. But, as you don't turn your age until your birthday comes, born in $2007$ can work.



                  Born in 1990 - 1999.



                  $27-d = 19+d\
                  d = 4$



                  Born in 1980 - 1989.



                  $37-d = 18+d\
                  d = 9frac 12$



                  $1989$ is works depending on your rules.



                  Your age must be less than $1+9+9+9 = 28$



                  We could perhaps generalize it a little more and say



                  $17 - 10c - d = 2 + c + d\
                  9c + 2d = 15$



                  or



                  $117 - 10c - d = 10 + c + d\
                  9c + 2d = 107$



                  If we want $c, d$ to be in ${0,1,2,3,4,5,6,7,8,9}, c $ must be odd and sufficiently small in one equation and large in the other.






                  share|cite|improve this answer









                  $endgroup$



                  If you want do to this without a script.



                  Born in 2010 - 2017.



                  $7-d = 3+d\
                  d = 5$



                  Born in 2000 - 2009.



                  $17 - d = 2+d\
                  2d = 15\
                  d = 7frac 12$



                  If you are looking for integer solutions, none exist. But, as you don't turn your age until your birthday comes, born in $2007$ can work.



                  Born in 1990 - 1999.



                  $27-d = 19+d\
                  d = 4$



                  Born in 1980 - 1989.



                  $37-d = 18+d\
                  d = 9frac 12$



                  $1989$ is works depending on your rules.



                  Your age must be less than $1+9+9+9 = 28$



                  We could perhaps generalize it a little more and say



                  $17 - 10c - d = 2 + c + d\
                  9c + 2d = 15$



                  or



                  $117 - 10c - d = 10 + c + d\
                  9c + 2d = 107$



                  If we want $c, d$ to be in ${0,1,2,3,4,5,6,7,8,9}, c $ must be odd and sufficiently small in one equation and large in the other.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Jan 11 at 22:22









                  Doug MDoug M

                  44.9k31854




                  44.9k31854






























                      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%2f3070370%2f2017-abcd-n-where-n-abcd-10-local-math-olympiad-qualification-exam%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

                      MongoDB - Not Authorized To Execute Command

                      in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith

                      Npm cannot find a required file even through it is in the searched directory