How do I solve this interesting age problem I just thought up randomly but can't figure out?











up vote
6
down vote

favorite












Here are some facts about myself:




  1. Last year, I was 15 years old.

  2. Canada, my country, was 150 years old.


When will be the next time that my country's age will be a multiple of mine?



I've toned this down to a function:



With $n$ being the number of years before this will happen and $mathbb{Z}$ being any integer,



$$frac{150+n}{15+n}=mathbb{Z}$$



How would you find $n$?










share|cite|improve this question









New contributor




Raymo111 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
























    up vote
    6
    down vote

    favorite












    Here are some facts about myself:




    1. Last year, I was 15 years old.

    2. Canada, my country, was 150 years old.


    When will be the next time that my country's age will be a multiple of mine?



    I've toned this down to a function:



    With $n$ being the number of years before this will happen and $mathbb{Z}$ being any integer,



    $$frac{150+n}{15+n}=mathbb{Z}$$



    How would you find $n$?










    share|cite|improve this question









    New contributor




    Raymo111 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      up vote
      6
      down vote

      favorite









      up vote
      6
      down vote

      favorite











      Here are some facts about myself:




      1. Last year, I was 15 years old.

      2. Canada, my country, was 150 years old.


      When will be the next time that my country's age will be a multiple of mine?



      I've toned this down to a function:



      With $n$ being the number of years before this will happen and $mathbb{Z}$ being any integer,



      $$frac{150+n}{15+n}=mathbb{Z}$$



      How would you find $n$?










      share|cite|improve this question









      New contributor




      Raymo111 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      Here are some facts about myself:




      1. Last year, I was 15 years old.

      2. Canada, my country, was 150 years old.


      When will be the next time that my country's age will be a multiple of mine?



      I've toned this down to a function:



      With $n$ being the number of years before this will happen and $mathbb{Z}$ being any integer,



      $$frac{150+n}{15+n}=mathbb{Z}$$



      How would you find $n$?







      algebra-precalculus divisibility integers






      share|cite|improve this question









      New contributor




      Raymo111 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|cite|improve this question









      New contributor




      Raymo111 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|cite|improve this question




      share|cite|improve this question








      edited 2 hours ago









      Aniruddh Venkatesan

      1188




      1188






      New contributor




      Raymo111 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 3 hours ago









      Raymo111

      1454




      1454




      New contributor




      Raymo111 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Raymo111 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Raymo111 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          5 Answers
          5






          active

          oldest

          votes

















          up vote
          7
          down vote



          accepted










          You want $frac{150+n}{15+n}inBbb{Z}$, so there is some $minBbb{Z}$ such that $frac{150+n}{15+n}=m.$ Then
          $$150+n=(15+n)m=15m+mn,$$
          and hence
          $$0=mn+15m-n-150=(m-1)(n+15)-135,$$
          or equivalently $135=(m-1)(n+15)$. Now you are looking for the smallest $n>1$ for which such an $m$ exists, so the smallest $n>1$ for which $n+15$ divides $135$.






          share|cite|improve this answer























          • Love it, thank you! Is 120 the only $n$ that exists for such a case? (Because $135over270$ $=$ $1over2$)?
            – Raymo111
            3 hours ago












          • What's wrong with $n=12$? The other solutions are $n=30$ and $n=120$.
            – Servaes
            2 hours ago












          • Oh shoot, I mistakenly read your answer as $n+15=135$, my bad! Also, upvote if you think this question that I thought of was interesting, it's a real-life example of an age problem.
            – Raymo111
            2 hours ago




















          up vote
          4
          down vote













          First thing I would do is say that Canada is $135$ years older than you.



          That gives you a simpler



          $frac {135+n}{n} = k\
          frac {135}{n} = k-1\$



          It will happen every time your age is a factor of $135.$
          It last happened when you were $15.$ It will next happen when you are $27$






          share|cite|improve this answer




























            up vote
            2
            down vote













            We want the smallest positive integer $n$ such that there is some (positive) integer $k$ such that
            $$frac{150+n}{15+n}=k.$$
            Note that $k=1$ can never work, so we can assume $k-1neq0.$ Now we rearrange the above equation: multiplying both sides by $15+n,$ we get $150+n=15k+nk;$ now rearrange and factorize to get $15(10-k)=(k-1)n;$ and now divide both sides by $k-1,$ to get
            $$n=frac{15(10-k)}{k-1}.$$
            Since we want the smallest positive integer $n,$ we can just try values of $kin{2,3,ldots,9},$ starting from the largest and working our way down (because the function of $k$ on the right-hand side is decreasing in this range), until we arrive at an integer value of $n.$* When $k=9,$ $8$ or $7$ we get non-integer values of $n;$ when $k=6$ we find $n=15times4/5=12.$



            So last year, $n$ was $0,$ and the ratio of Canada's age to your age was $k=150/15=10;$ and $11$ years from now, $n$ will be $12,$ and the ratio of Canada's age to your age will be $k=162/27=6.$



            *Incidentally, it is not obvious in advance that we will ever get an integer value of $n;$ if this were the case then the problem would simply have no answer. As it happens, the problem does have answers, namely $(n,k)in{(0,10),(12,6),(30,4),(120,2)}.$






            share|cite|improve this answer























            • The question asks for the next time, so the smallest $n>1$.
              – Servaes
              2 hours ago










            • @Servaes: Thanks, I have edited the answer.
              – Will R
              2 hours ago


















            up vote
            0
            down vote













            Note that if $k mid a$ and $k mid b$, then $k mid a - b$. In this particular instance, we have $15 + n mid 15 + n$ and $15 + n mid 150 + n$, so $15 + n mid 135$. In other words, we are looking for $n+15$ to be the next factor of $135$ which is larger than $15$. Can you continue from here?






            share|cite|improve this answer




























              up vote
              0
              down vote













              Alternatively:



              $frac {150 + n}{15 + n} = frac {150+ 10n}{15+n} +frac {-9 n}{15+n}$



              $=10 -frac {9 n}{15+n}$ (which is an integer for $n=0$ but when next?)



              $=10 - frac {9n + 9*15}{15+n} + frac {9*15}{15+n}=$



              $=10 - 9 + frac{3^3*5}{15+n}= 1 + frac{3^3*5}{15+n}$



              which is an integer if $15+n$ is one of the factors of $3^3*5$.



              And the factors of $3^3*5$ are $1, 3,9, 27, 5,15, 45, 135$.



              So this will occur when $n = -14,-12, -10, -6,0, 12,30, 120$



              When you are $1, 3, 5, 9, 15, 27, 45, 135$ and canada is $136, 138, 140, 144, 150, 162, 180, 270$ and canada is exactly $136,46, 28, 16, 10,6,4, 2$ as old as you are.



              (Enjoy your $45$ birthday when your country annexes my country after we collapse from the thirty year aftermath of the unrecoverable mistakes of the last two years.)



              That's a fun problem. It's nice to see other people like to think about these things.






              share|cite|improve this answer





















              • That's nice, that's the way I usually think about these problems too; but you can shorten the process by writing $dfrac {150+n}{15+n} = dfrac {15+n}{15+n} + dfrac{135}{15+n}$
                – Ovi
                9 mins ago











              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',
              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
              });


              }
              });






              Raymo111 is a new contributor. Be nice, and check out our Code of Conduct.










              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3035983%2fhow-do-i-solve-this-interesting-age-problem-i-just-thought-up-randomly-but-cant%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              5 Answers
              5






              active

              oldest

              votes








              5 Answers
              5






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              7
              down vote



              accepted










              You want $frac{150+n}{15+n}inBbb{Z}$, so there is some $minBbb{Z}$ such that $frac{150+n}{15+n}=m.$ Then
              $$150+n=(15+n)m=15m+mn,$$
              and hence
              $$0=mn+15m-n-150=(m-1)(n+15)-135,$$
              or equivalently $135=(m-1)(n+15)$. Now you are looking for the smallest $n>1$ for which such an $m$ exists, so the smallest $n>1$ for which $n+15$ divides $135$.






              share|cite|improve this answer























              • Love it, thank you! Is 120 the only $n$ that exists for such a case? (Because $135over270$ $=$ $1over2$)?
                – Raymo111
                3 hours ago












              • What's wrong with $n=12$? The other solutions are $n=30$ and $n=120$.
                – Servaes
                2 hours ago












              • Oh shoot, I mistakenly read your answer as $n+15=135$, my bad! Also, upvote if you think this question that I thought of was interesting, it's a real-life example of an age problem.
                – Raymo111
                2 hours ago

















              up vote
              7
              down vote



              accepted










              You want $frac{150+n}{15+n}inBbb{Z}$, so there is some $minBbb{Z}$ such that $frac{150+n}{15+n}=m.$ Then
              $$150+n=(15+n)m=15m+mn,$$
              and hence
              $$0=mn+15m-n-150=(m-1)(n+15)-135,$$
              or equivalently $135=(m-1)(n+15)$. Now you are looking for the smallest $n>1$ for which such an $m$ exists, so the smallest $n>1$ for which $n+15$ divides $135$.






              share|cite|improve this answer























              • Love it, thank you! Is 120 the only $n$ that exists for such a case? (Because $135over270$ $=$ $1over2$)?
                – Raymo111
                3 hours ago












              • What's wrong with $n=12$? The other solutions are $n=30$ and $n=120$.
                – Servaes
                2 hours ago












              • Oh shoot, I mistakenly read your answer as $n+15=135$, my bad! Also, upvote if you think this question that I thought of was interesting, it's a real-life example of an age problem.
                – Raymo111
                2 hours ago















              up vote
              7
              down vote



              accepted







              up vote
              7
              down vote



              accepted






              You want $frac{150+n}{15+n}inBbb{Z}$, so there is some $minBbb{Z}$ such that $frac{150+n}{15+n}=m.$ Then
              $$150+n=(15+n)m=15m+mn,$$
              and hence
              $$0=mn+15m-n-150=(m-1)(n+15)-135,$$
              or equivalently $135=(m-1)(n+15)$. Now you are looking for the smallest $n>1$ for which such an $m$ exists, so the smallest $n>1$ for which $n+15$ divides $135$.






              share|cite|improve this answer














              You want $frac{150+n}{15+n}inBbb{Z}$, so there is some $minBbb{Z}$ such that $frac{150+n}{15+n}=m.$ Then
              $$150+n=(15+n)m=15m+mn,$$
              and hence
              $$0=mn+15m-n-150=(m-1)(n+15)-135,$$
              or equivalently $135=(m-1)(n+15)$. Now you are looking for the smallest $n>1$ for which such an $m$ exists, so the smallest $n>1$ for which $n+15$ divides $135$.







              share|cite|improve this answer














              share|cite|improve this answer



              share|cite|improve this answer








              edited 3 hours ago

























              answered 3 hours ago









              Servaes

              21.9k33792




              21.9k33792












              • Love it, thank you! Is 120 the only $n$ that exists for such a case? (Because $135over270$ $=$ $1over2$)?
                – Raymo111
                3 hours ago












              • What's wrong with $n=12$? The other solutions are $n=30$ and $n=120$.
                – Servaes
                2 hours ago












              • Oh shoot, I mistakenly read your answer as $n+15=135$, my bad! Also, upvote if you think this question that I thought of was interesting, it's a real-life example of an age problem.
                – Raymo111
                2 hours ago




















              • Love it, thank you! Is 120 the only $n$ that exists for such a case? (Because $135over270$ $=$ $1over2$)?
                – Raymo111
                3 hours ago












              • What's wrong with $n=12$? The other solutions are $n=30$ and $n=120$.
                – Servaes
                2 hours ago












              • Oh shoot, I mistakenly read your answer as $n+15=135$, my bad! Also, upvote if you think this question that I thought of was interesting, it's a real-life example of an age problem.
                – Raymo111
                2 hours ago


















              Love it, thank you! Is 120 the only $n$ that exists for such a case? (Because $135over270$ $=$ $1over2$)?
              – Raymo111
              3 hours ago






              Love it, thank you! Is 120 the only $n$ that exists for such a case? (Because $135over270$ $=$ $1over2$)?
              – Raymo111
              3 hours ago














              What's wrong with $n=12$? The other solutions are $n=30$ and $n=120$.
              – Servaes
              2 hours ago






              What's wrong with $n=12$? The other solutions are $n=30$ and $n=120$.
              – Servaes
              2 hours ago














              Oh shoot, I mistakenly read your answer as $n+15=135$, my bad! Also, upvote if you think this question that I thought of was interesting, it's a real-life example of an age problem.
              – Raymo111
              2 hours ago






              Oh shoot, I mistakenly read your answer as $n+15=135$, my bad! Also, upvote if you think this question that I thought of was interesting, it's a real-life example of an age problem.
              – Raymo111
              2 hours ago












              up vote
              4
              down vote













              First thing I would do is say that Canada is $135$ years older than you.



              That gives you a simpler



              $frac {135+n}{n} = k\
              frac {135}{n} = k-1\$



              It will happen every time your age is a factor of $135.$
              It last happened when you were $15.$ It will next happen when you are $27$






              share|cite|improve this answer

























                up vote
                4
                down vote













                First thing I would do is say that Canada is $135$ years older than you.



                That gives you a simpler



                $frac {135+n}{n} = k\
                frac {135}{n} = k-1\$



                It will happen every time your age is a factor of $135.$
                It last happened when you were $15.$ It will next happen when you are $27$






                share|cite|improve this answer























                  up vote
                  4
                  down vote










                  up vote
                  4
                  down vote









                  First thing I would do is say that Canada is $135$ years older than you.



                  That gives you a simpler



                  $frac {135+n}{n} = k\
                  frac {135}{n} = k-1\$



                  It will happen every time your age is a factor of $135.$
                  It last happened when you were $15.$ It will next happen when you are $27$






                  share|cite|improve this answer












                  First thing I would do is say that Canada is $135$ years older than you.



                  That gives you a simpler



                  $frac {135+n}{n} = k\
                  frac {135}{n} = k-1\$



                  It will happen every time your age is a factor of $135.$
                  It last happened when you were $15.$ It will next happen when you are $27$







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered 2 hours ago









                  Doug M

                  43.2k31753




                  43.2k31753






















                      up vote
                      2
                      down vote













                      We want the smallest positive integer $n$ such that there is some (positive) integer $k$ such that
                      $$frac{150+n}{15+n}=k.$$
                      Note that $k=1$ can never work, so we can assume $k-1neq0.$ Now we rearrange the above equation: multiplying both sides by $15+n,$ we get $150+n=15k+nk;$ now rearrange and factorize to get $15(10-k)=(k-1)n;$ and now divide both sides by $k-1,$ to get
                      $$n=frac{15(10-k)}{k-1}.$$
                      Since we want the smallest positive integer $n,$ we can just try values of $kin{2,3,ldots,9},$ starting from the largest and working our way down (because the function of $k$ on the right-hand side is decreasing in this range), until we arrive at an integer value of $n.$* When $k=9,$ $8$ or $7$ we get non-integer values of $n;$ when $k=6$ we find $n=15times4/5=12.$



                      So last year, $n$ was $0,$ and the ratio of Canada's age to your age was $k=150/15=10;$ and $11$ years from now, $n$ will be $12,$ and the ratio of Canada's age to your age will be $k=162/27=6.$



                      *Incidentally, it is not obvious in advance that we will ever get an integer value of $n;$ if this were the case then the problem would simply have no answer. As it happens, the problem does have answers, namely $(n,k)in{(0,10),(12,6),(30,4),(120,2)}.$






                      share|cite|improve this answer























                      • The question asks for the next time, so the smallest $n>1$.
                        – Servaes
                        2 hours ago










                      • @Servaes: Thanks, I have edited the answer.
                        – Will R
                        2 hours ago















                      up vote
                      2
                      down vote













                      We want the smallest positive integer $n$ such that there is some (positive) integer $k$ such that
                      $$frac{150+n}{15+n}=k.$$
                      Note that $k=1$ can never work, so we can assume $k-1neq0.$ Now we rearrange the above equation: multiplying both sides by $15+n,$ we get $150+n=15k+nk;$ now rearrange and factorize to get $15(10-k)=(k-1)n;$ and now divide both sides by $k-1,$ to get
                      $$n=frac{15(10-k)}{k-1}.$$
                      Since we want the smallest positive integer $n,$ we can just try values of $kin{2,3,ldots,9},$ starting from the largest and working our way down (because the function of $k$ on the right-hand side is decreasing in this range), until we arrive at an integer value of $n.$* When $k=9,$ $8$ or $7$ we get non-integer values of $n;$ when $k=6$ we find $n=15times4/5=12.$



                      So last year, $n$ was $0,$ and the ratio of Canada's age to your age was $k=150/15=10;$ and $11$ years from now, $n$ will be $12,$ and the ratio of Canada's age to your age will be $k=162/27=6.$



                      *Incidentally, it is not obvious in advance that we will ever get an integer value of $n;$ if this were the case then the problem would simply have no answer. As it happens, the problem does have answers, namely $(n,k)in{(0,10),(12,6),(30,4),(120,2)}.$






                      share|cite|improve this answer























                      • The question asks for the next time, so the smallest $n>1$.
                        – Servaes
                        2 hours ago










                      • @Servaes: Thanks, I have edited the answer.
                        – Will R
                        2 hours ago













                      up vote
                      2
                      down vote










                      up vote
                      2
                      down vote









                      We want the smallest positive integer $n$ such that there is some (positive) integer $k$ such that
                      $$frac{150+n}{15+n}=k.$$
                      Note that $k=1$ can never work, so we can assume $k-1neq0.$ Now we rearrange the above equation: multiplying both sides by $15+n,$ we get $150+n=15k+nk;$ now rearrange and factorize to get $15(10-k)=(k-1)n;$ and now divide both sides by $k-1,$ to get
                      $$n=frac{15(10-k)}{k-1}.$$
                      Since we want the smallest positive integer $n,$ we can just try values of $kin{2,3,ldots,9},$ starting from the largest and working our way down (because the function of $k$ on the right-hand side is decreasing in this range), until we arrive at an integer value of $n.$* When $k=9,$ $8$ or $7$ we get non-integer values of $n;$ when $k=6$ we find $n=15times4/5=12.$



                      So last year, $n$ was $0,$ and the ratio of Canada's age to your age was $k=150/15=10;$ and $11$ years from now, $n$ will be $12,$ and the ratio of Canada's age to your age will be $k=162/27=6.$



                      *Incidentally, it is not obvious in advance that we will ever get an integer value of $n;$ if this were the case then the problem would simply have no answer. As it happens, the problem does have answers, namely $(n,k)in{(0,10),(12,6),(30,4),(120,2)}.$






                      share|cite|improve this answer














                      We want the smallest positive integer $n$ such that there is some (positive) integer $k$ such that
                      $$frac{150+n}{15+n}=k.$$
                      Note that $k=1$ can never work, so we can assume $k-1neq0.$ Now we rearrange the above equation: multiplying both sides by $15+n,$ we get $150+n=15k+nk;$ now rearrange and factorize to get $15(10-k)=(k-1)n;$ and now divide both sides by $k-1,$ to get
                      $$n=frac{15(10-k)}{k-1}.$$
                      Since we want the smallest positive integer $n,$ we can just try values of $kin{2,3,ldots,9},$ starting from the largest and working our way down (because the function of $k$ on the right-hand side is decreasing in this range), until we arrive at an integer value of $n.$* When $k=9,$ $8$ or $7$ we get non-integer values of $n;$ when $k=6$ we find $n=15times4/5=12.$



                      So last year, $n$ was $0,$ and the ratio of Canada's age to your age was $k=150/15=10;$ and $11$ years from now, $n$ will be $12,$ and the ratio of Canada's age to your age will be $k=162/27=6.$



                      *Incidentally, it is not obvious in advance that we will ever get an integer value of $n;$ if this were the case then the problem would simply have no answer. As it happens, the problem does have answers, namely $(n,k)in{(0,10),(12,6),(30,4),(120,2)}.$







                      share|cite|improve this answer














                      share|cite|improve this answer



                      share|cite|improve this answer








                      edited 2 hours ago

























                      answered 2 hours ago









                      Will R

                      6,46231429




                      6,46231429












                      • The question asks for the next time, so the smallest $n>1$.
                        – Servaes
                        2 hours ago










                      • @Servaes: Thanks, I have edited the answer.
                        – Will R
                        2 hours ago


















                      • The question asks for the next time, so the smallest $n>1$.
                        – Servaes
                        2 hours ago










                      • @Servaes: Thanks, I have edited the answer.
                        – Will R
                        2 hours ago
















                      The question asks for the next time, so the smallest $n>1$.
                      – Servaes
                      2 hours ago




                      The question asks for the next time, so the smallest $n>1$.
                      – Servaes
                      2 hours ago












                      @Servaes: Thanks, I have edited the answer.
                      – Will R
                      2 hours ago




                      @Servaes: Thanks, I have edited the answer.
                      – Will R
                      2 hours ago










                      up vote
                      0
                      down vote













                      Note that if $k mid a$ and $k mid b$, then $k mid a - b$. In this particular instance, we have $15 + n mid 15 + n$ and $15 + n mid 150 + n$, so $15 + n mid 135$. In other words, we are looking for $n+15$ to be the next factor of $135$ which is larger than $15$. Can you continue from here?






                      share|cite|improve this answer

























                        up vote
                        0
                        down vote













                        Note that if $k mid a$ and $k mid b$, then $k mid a - b$. In this particular instance, we have $15 + n mid 15 + n$ and $15 + n mid 150 + n$, so $15 + n mid 135$. In other words, we are looking for $n+15$ to be the next factor of $135$ which is larger than $15$. Can you continue from here?






                        share|cite|improve this answer























                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          Note that if $k mid a$ and $k mid b$, then $k mid a - b$. In this particular instance, we have $15 + n mid 15 + n$ and $15 + n mid 150 + n$, so $15 + n mid 135$. In other words, we are looking for $n+15$ to be the next factor of $135$ which is larger than $15$. Can you continue from here?






                          share|cite|improve this answer












                          Note that if $k mid a$ and $k mid b$, then $k mid a - b$. In this particular instance, we have $15 + n mid 15 + n$ and $15 + n mid 150 + n$, so $15 + n mid 135$. In other words, we are looking for $n+15$ to be the next factor of $135$ which is larger than $15$. Can you continue from here?







                          share|cite|improve this answer












                          share|cite|improve this answer



                          share|cite|improve this answer










                          answered 3 hours ago









                          platty

                          3,070319




                          3,070319






















                              up vote
                              0
                              down vote













                              Alternatively:



                              $frac {150 + n}{15 + n} = frac {150+ 10n}{15+n} +frac {-9 n}{15+n}$



                              $=10 -frac {9 n}{15+n}$ (which is an integer for $n=0$ but when next?)



                              $=10 - frac {9n + 9*15}{15+n} + frac {9*15}{15+n}=$



                              $=10 - 9 + frac{3^3*5}{15+n}= 1 + frac{3^3*5}{15+n}$



                              which is an integer if $15+n$ is one of the factors of $3^3*5$.



                              And the factors of $3^3*5$ are $1, 3,9, 27, 5,15, 45, 135$.



                              So this will occur when $n = -14,-12, -10, -6,0, 12,30, 120$



                              When you are $1, 3, 5, 9, 15, 27, 45, 135$ and canada is $136, 138, 140, 144, 150, 162, 180, 270$ and canada is exactly $136,46, 28, 16, 10,6,4, 2$ as old as you are.



                              (Enjoy your $45$ birthday when your country annexes my country after we collapse from the thirty year aftermath of the unrecoverable mistakes of the last two years.)



                              That's a fun problem. It's nice to see other people like to think about these things.






                              share|cite|improve this answer





















                              • That's nice, that's the way I usually think about these problems too; but you can shorten the process by writing $dfrac {150+n}{15+n} = dfrac {15+n}{15+n} + dfrac{135}{15+n}$
                                – Ovi
                                9 mins ago















                              up vote
                              0
                              down vote













                              Alternatively:



                              $frac {150 + n}{15 + n} = frac {150+ 10n}{15+n} +frac {-9 n}{15+n}$



                              $=10 -frac {9 n}{15+n}$ (which is an integer for $n=0$ but when next?)



                              $=10 - frac {9n + 9*15}{15+n} + frac {9*15}{15+n}=$



                              $=10 - 9 + frac{3^3*5}{15+n}= 1 + frac{3^3*5}{15+n}$



                              which is an integer if $15+n$ is one of the factors of $3^3*5$.



                              And the factors of $3^3*5$ are $1, 3,9, 27, 5,15, 45, 135$.



                              So this will occur when $n = -14,-12, -10, -6,0, 12,30, 120$



                              When you are $1, 3, 5, 9, 15, 27, 45, 135$ and canada is $136, 138, 140, 144, 150, 162, 180, 270$ and canada is exactly $136,46, 28, 16, 10,6,4, 2$ as old as you are.



                              (Enjoy your $45$ birthday when your country annexes my country after we collapse from the thirty year aftermath of the unrecoverable mistakes of the last two years.)



                              That's a fun problem. It's nice to see other people like to think about these things.






                              share|cite|improve this answer





















                              • That's nice, that's the way I usually think about these problems too; but you can shorten the process by writing $dfrac {150+n}{15+n} = dfrac {15+n}{15+n} + dfrac{135}{15+n}$
                                – Ovi
                                9 mins ago













                              up vote
                              0
                              down vote










                              up vote
                              0
                              down vote









                              Alternatively:



                              $frac {150 + n}{15 + n} = frac {150+ 10n}{15+n} +frac {-9 n}{15+n}$



                              $=10 -frac {9 n}{15+n}$ (which is an integer for $n=0$ but when next?)



                              $=10 - frac {9n + 9*15}{15+n} + frac {9*15}{15+n}=$



                              $=10 - 9 + frac{3^3*5}{15+n}= 1 + frac{3^3*5}{15+n}$



                              which is an integer if $15+n$ is one of the factors of $3^3*5$.



                              And the factors of $3^3*5$ are $1, 3,9, 27, 5,15, 45, 135$.



                              So this will occur when $n = -14,-12, -10, -6,0, 12,30, 120$



                              When you are $1, 3, 5, 9, 15, 27, 45, 135$ and canada is $136, 138, 140, 144, 150, 162, 180, 270$ and canada is exactly $136,46, 28, 16, 10,6,4, 2$ as old as you are.



                              (Enjoy your $45$ birthday when your country annexes my country after we collapse from the thirty year aftermath of the unrecoverable mistakes of the last two years.)



                              That's a fun problem. It's nice to see other people like to think about these things.






                              share|cite|improve this answer












                              Alternatively:



                              $frac {150 + n}{15 + n} = frac {150+ 10n}{15+n} +frac {-9 n}{15+n}$



                              $=10 -frac {9 n}{15+n}$ (which is an integer for $n=0$ but when next?)



                              $=10 - frac {9n + 9*15}{15+n} + frac {9*15}{15+n}=$



                              $=10 - 9 + frac{3^3*5}{15+n}= 1 + frac{3^3*5}{15+n}$



                              which is an integer if $15+n$ is one of the factors of $3^3*5$.



                              And the factors of $3^3*5$ are $1, 3,9, 27, 5,15, 45, 135$.



                              So this will occur when $n = -14,-12, -10, -6,0, 12,30, 120$



                              When you are $1, 3, 5, 9, 15, 27, 45, 135$ and canada is $136, 138, 140, 144, 150, 162, 180, 270$ and canada is exactly $136,46, 28, 16, 10,6,4, 2$ as old as you are.



                              (Enjoy your $45$ birthday when your country annexes my country after we collapse from the thirty year aftermath of the unrecoverable mistakes of the last two years.)



                              That's a fun problem. It's nice to see other people like to think about these things.







                              share|cite|improve this answer












                              share|cite|improve this answer



                              share|cite|improve this answer










                              answered 1 hour ago









                              fleablood

                              67.3k22684




                              67.3k22684












                              • That's nice, that's the way I usually think about these problems too; but you can shorten the process by writing $dfrac {150+n}{15+n} = dfrac {15+n}{15+n} + dfrac{135}{15+n}$
                                – Ovi
                                9 mins ago


















                              • That's nice, that's the way I usually think about these problems too; but you can shorten the process by writing $dfrac {150+n}{15+n} = dfrac {15+n}{15+n} + dfrac{135}{15+n}$
                                – Ovi
                                9 mins ago
















                              That's nice, that's the way I usually think about these problems too; but you can shorten the process by writing $dfrac {150+n}{15+n} = dfrac {15+n}{15+n} + dfrac{135}{15+n}$
                              – Ovi
                              9 mins ago




                              That's nice, that's the way I usually think about these problems too; but you can shorten the process by writing $dfrac {150+n}{15+n} = dfrac {15+n}{15+n} + dfrac{135}{15+n}$
                              – Ovi
                              9 mins ago










                              Raymo111 is a new contributor. Be nice, and check out our Code of Conduct.










                              draft saved

                              draft discarded


















                              Raymo111 is a new contributor. Be nice, and check out our Code of Conduct.













                              Raymo111 is a new contributor. Be nice, and check out our Code of Conduct.












                              Raymo111 is a new contributor. Be nice, and check out our Code of Conduct.
















                              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%2f3035983%2fhow-do-i-solve-this-interesting-age-problem-i-just-thought-up-randomly-but-cant%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

                              404 Error Contact Form 7 ajax form submitting

                              How to know if a Active Directory user can login interactively

                              TypeError: fit_transform() missing 1 required positional argument: 'X'