How can I find integers which satisfy $frac{150+n}{15+n}=m$?
$begingroup$
Here are some facts about myself:
- In 2017, I was $15$ years old.
- 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 $m$ being any integer,
$$frac{150+n}{15+n}=m$$
How would you find $n$?
algebra-precalculus divisibility recreational-mathematics integers
$endgroup$
add a comment |
$begingroup$
Here are some facts about myself:
- In 2017, I was $15$ years old.
- 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 $m$ being any integer,
$$frac{150+n}{15+n}=m$$
How would you find $n$?
algebra-precalculus divisibility recreational-mathematics integers
$endgroup$
1
$begingroup$
For extra credit, consider that Canada turned 150 on July 1, 2017. If your birthday is after that date, 14+n is also a valid denominator, as you will be both age 14 and age 15 during the 12 months that Canada is 150 years old. Likewise, if your 15th birthday is before that date, 16+n is a valid denominator, since you will be 15 when Canada turns 150, but turn 16 before Canada turns 151.
$endgroup$
– Nuclear Wang
Dec 12 '18 at 4:51
2
$begingroup$
(1) Avoid using "interesting" in the title; (2) describe the problem in the title, not just your opinion and its topic.
$endgroup$
– Asaf Karagila♦
Dec 12 '18 at 11:19
add a comment |
$begingroup$
Here are some facts about myself:
- In 2017, I was $15$ years old.
- 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 $m$ being any integer,
$$frac{150+n}{15+n}=m$$
How would you find $n$?
algebra-precalculus divisibility recreational-mathematics integers
$endgroup$
Here are some facts about myself:
- In 2017, I was $15$ years old.
- 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 $m$ being any integer,
$$frac{150+n}{15+n}=m$$
How would you find $n$?
algebra-precalculus divisibility recreational-mathematics integers
algebra-precalculus divisibility recreational-mathematics integers
edited Dec 20 '18 at 3:08
Raymo111
asked Dec 11 '18 at 23:16
Raymo111Raymo111
2107
2107
1
$begingroup$
For extra credit, consider that Canada turned 150 on July 1, 2017. If your birthday is after that date, 14+n is also a valid denominator, as you will be both age 14 and age 15 during the 12 months that Canada is 150 years old. Likewise, if your 15th birthday is before that date, 16+n is a valid denominator, since you will be 15 when Canada turns 150, but turn 16 before Canada turns 151.
$endgroup$
– Nuclear Wang
Dec 12 '18 at 4:51
2
$begingroup$
(1) Avoid using "interesting" in the title; (2) describe the problem in the title, not just your opinion and its topic.
$endgroup$
– Asaf Karagila♦
Dec 12 '18 at 11:19
add a comment |
1
$begingroup$
For extra credit, consider that Canada turned 150 on July 1, 2017. If your birthday is after that date, 14+n is also a valid denominator, as you will be both age 14 and age 15 during the 12 months that Canada is 150 years old. Likewise, if your 15th birthday is before that date, 16+n is a valid denominator, since you will be 15 when Canada turns 150, but turn 16 before Canada turns 151.
$endgroup$
– Nuclear Wang
Dec 12 '18 at 4:51
2
$begingroup$
(1) Avoid using "interesting" in the title; (2) describe the problem in the title, not just your opinion and its topic.
$endgroup$
– Asaf Karagila♦
Dec 12 '18 at 11:19
1
1
$begingroup$
For extra credit, consider that Canada turned 150 on July 1, 2017. If your birthday is after that date, 14+n is also a valid denominator, as you will be both age 14 and age 15 during the 12 months that Canada is 150 years old. Likewise, if your 15th birthday is before that date, 16+n is a valid denominator, since you will be 15 when Canada turns 150, but turn 16 before Canada turns 151.
$endgroup$
– Nuclear Wang
Dec 12 '18 at 4:51
$begingroup$
For extra credit, consider that Canada turned 150 on July 1, 2017. If your birthday is after that date, 14+n is also a valid denominator, as you will be both age 14 and age 15 during the 12 months that Canada is 150 years old. Likewise, if your 15th birthday is before that date, 16+n is a valid denominator, since you will be 15 when Canada turns 150, but turn 16 before Canada turns 151.
$endgroup$
– Nuclear Wang
Dec 12 '18 at 4:51
2
2
$begingroup$
(1) Avoid using "interesting" in the title; (2) describe the problem in the title, not just your opinion and its topic.
$endgroup$
– Asaf Karagila♦
Dec 12 '18 at 11:19
$begingroup$
(1) Avoid using "interesting" in the title; (2) describe the problem in the title, not just your opinion and its topic.
$endgroup$
– Asaf Karagila♦
Dec 12 '18 at 11:19
add a comment |
7 Answers
7
active
oldest
votes
$begingroup$
You want $frac{150+n}{15+n}=m$, and clearing denominators gives us
$$150+n=(15+n)m.$$
Subtracting $15+n$ from both sides give us
$$135=(15+n)(m-1).$$
Now you are looking for the smallest $n>1$ for which such an $m$ exists, so the smallest $n>1$ for which $15+n$ divides $135$.
$endgroup$
1
$begingroup$
Love it, thank you! Is 120 the only $n$ that exists for such a case? (Because $135over270$ $=$ $1over2$)?
$endgroup$
– Raymo111
Dec 11 '18 at 23:21
1
$begingroup$
What's wrong with $n=12$? The other solutions are $n=30$ and $n=120$.
$endgroup$
– Servaes
Dec 11 '18 at 23:46
$begingroup$
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.
$endgroup$
– Raymo111
Dec 11 '18 at 23:48
add a comment |
$begingroup$
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$
$endgroup$
$begingroup$
Do Canadians live past age 135?
$endgroup$
– richard1941
Dec 21 '18 at 16:51
$begingroup$
Almost never. But with advancements in medical technology, that may change.
$endgroup$
– Doug M
Dec 21 '18 at 17:00
add a comment |
$begingroup$
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)}.$
$endgroup$
add a comment |
$begingroup$
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.
$endgroup$
2
$begingroup$
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}$
$endgroup$
– Ovi
Dec 12 '18 at 2:34
$begingroup$
Hmmm.... I'm not sure why I did it the way I did. I think somehow I briefly thought the obviousness that 15 goes directly into 150 made me briefly think that they were the coeficients and I started doing it that way and just continued. Obviously it'd be shorter and direct to do the coefficients.
$endgroup$
– fleablood
Dec 12 '18 at 15:40
add a comment |
$begingroup$
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?
$endgroup$
add a comment |
$begingroup$
Servaes answer is excellent but let me add few cents for those who can't really make out something from dual variables and other factors (I know some people have problem with such things).
There is also a brute force solution, requiring a bit of thinking and a bit of simple calculation (the larger is the $n$ i $n$-times larger the more difficult it becomes though so I really suggest you try understanding the accepted solution anyway).
It's enough to check if there is an integer solution to equation
$$frac{150+n}{15+n}=9$$
If no, proceed with 8, 7 and so on. If you get to 2 and still have no anwser then the answer is never.
So a quick brute force check will like that:
$$frac{150+n}{15+n}=9$$
$$150+n=9cdot(15+n)$$
$$150+n=135+9cdot n$$
$$15=8cdot n$$
$$n = frac{15}{8}notinmathbb{Z}$$
So we continue with $8$
$$frac{150+n}{15+n}=8$$
$$150+n=8cdot(15+n)$$
$$150+n=120+8cdot n$$
$$30=7cdot n$$
$$n = frac{30}{7}notinmathbb{Z}$$
You may continue from here. Note, a smart person using this method will notice some pattern that will make it even simpler to test (not requiring all the calculation, just a quick check that literally takes seconds) but I will not give a direct hint.
Explanation
When you add the same number to both numerator and denominator of a fraction, the fraction decreases. In other words if you consider how the fraction of age of Canada and your age changes over time it will decrease.
On the other hand the fraction can never go to $1$ (or below) since the numerator will always be obviously greater than denominator (in our case by 135).
In other words you have a finite set of possible resultant fractions (namely ${2,3,4,5,6,7,8,9}$) that are potentially the sought "next case". From those you're looking for the largest one, so test them one by one, starting with $9$ and going down until you have an integer result or your options are gone.
Remarks
- Once again - this is a brute force solution and should not be treated as preferred if you can understand using two variables. But if you can't, it's still doable.
- If you notice the relationship I mention above, I guess even testing situation where the initial fraction is 100 could be done.
- You may try solving an interesting opposite question - when was the last time when such situation occurred (i.e. Canadas age was a multiply of your age). If you think it over well, you may use both Servaes and my approaches to that as well. Especially try rationalising that my approach will again have a finite and easily predictable number of tests to be performed.
- A food for thoughts. Is there always a solution to the original question (with differently chosen ages)? Is there always a solution to the problem I state in remark 3?
- Can you think of other related questions that will use similar approach (either Servaes's elegant one or mine brute force) to find a solution?
$endgroup$
add a comment |
$begingroup$
In general questions like this, where
$frac{x+n}{y+n}=m$
$m$ will be an integer smaller than $frac{x}{y}$. Since there are finitely many integers less than $frac{x}{y}$, each value of $m$ can be checked one by one. Not all values will generally give an integer $n$.
$endgroup$
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3035983%2fhow-can-i-find-integers-which-satisfy-frac150n15n-m%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
7 Answers
7
active
oldest
votes
7 Answers
7
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
You want $frac{150+n}{15+n}=m$, and clearing denominators gives us
$$150+n=(15+n)m.$$
Subtracting $15+n$ from both sides give us
$$135=(15+n)(m-1).$$
Now you are looking for the smallest $n>1$ for which such an $m$ exists, so the smallest $n>1$ for which $15+n$ divides $135$.
$endgroup$
1
$begingroup$
Love it, thank you! Is 120 the only $n$ that exists for such a case? (Because $135over270$ $=$ $1over2$)?
$endgroup$
– Raymo111
Dec 11 '18 at 23:21
1
$begingroup$
What's wrong with $n=12$? The other solutions are $n=30$ and $n=120$.
$endgroup$
– Servaes
Dec 11 '18 at 23:46
$begingroup$
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.
$endgroup$
– Raymo111
Dec 11 '18 at 23:48
add a comment |
$begingroup$
You want $frac{150+n}{15+n}=m$, and clearing denominators gives us
$$150+n=(15+n)m.$$
Subtracting $15+n$ from both sides give us
$$135=(15+n)(m-1).$$
Now you are looking for the smallest $n>1$ for which such an $m$ exists, so the smallest $n>1$ for which $15+n$ divides $135$.
$endgroup$
1
$begingroup$
Love it, thank you! Is 120 the only $n$ that exists for such a case? (Because $135over270$ $=$ $1over2$)?
$endgroup$
– Raymo111
Dec 11 '18 at 23:21
1
$begingroup$
What's wrong with $n=12$? The other solutions are $n=30$ and $n=120$.
$endgroup$
– Servaes
Dec 11 '18 at 23:46
$begingroup$
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.
$endgroup$
– Raymo111
Dec 11 '18 at 23:48
add a comment |
$begingroup$
You want $frac{150+n}{15+n}=m$, and clearing denominators gives us
$$150+n=(15+n)m.$$
Subtracting $15+n$ from both sides give us
$$135=(15+n)(m-1).$$
Now you are looking for the smallest $n>1$ for which such an $m$ exists, so the smallest $n>1$ for which $15+n$ divides $135$.
$endgroup$
You want $frac{150+n}{15+n}=m$, and clearing denominators gives us
$$150+n=(15+n)m.$$
Subtracting $15+n$ from both sides give us
$$135=(15+n)(m-1).$$
Now you are looking for the smallest $n>1$ for which such an $m$ exists, so the smallest $n>1$ for which $15+n$ divides $135$.
edited Dec 12 '18 at 11:13
answered Dec 11 '18 at 23:20
ServaesServaes
24.9k33893
24.9k33893
1
$begingroup$
Love it, thank you! Is 120 the only $n$ that exists for such a case? (Because $135over270$ $=$ $1over2$)?
$endgroup$
– Raymo111
Dec 11 '18 at 23:21
1
$begingroup$
What's wrong with $n=12$? The other solutions are $n=30$ and $n=120$.
$endgroup$
– Servaes
Dec 11 '18 at 23:46
$begingroup$
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.
$endgroup$
– Raymo111
Dec 11 '18 at 23:48
add a comment |
1
$begingroup$
Love it, thank you! Is 120 the only $n$ that exists for such a case? (Because $135over270$ $=$ $1over2$)?
$endgroup$
– Raymo111
Dec 11 '18 at 23:21
1
$begingroup$
What's wrong with $n=12$? The other solutions are $n=30$ and $n=120$.
$endgroup$
– Servaes
Dec 11 '18 at 23:46
$begingroup$
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.
$endgroup$
– Raymo111
Dec 11 '18 at 23:48
1
1
$begingroup$
Love it, thank you! Is 120 the only $n$ that exists for such a case? (Because $135over270$ $=$ $1over2$)?
$endgroup$
– Raymo111
Dec 11 '18 at 23:21
$begingroup$
Love it, thank you! Is 120 the only $n$ that exists for such a case? (Because $135over270$ $=$ $1over2$)?
$endgroup$
– Raymo111
Dec 11 '18 at 23:21
1
1
$begingroup$
What's wrong with $n=12$? The other solutions are $n=30$ and $n=120$.
$endgroup$
– Servaes
Dec 11 '18 at 23:46
$begingroup$
What's wrong with $n=12$? The other solutions are $n=30$ and $n=120$.
$endgroup$
– Servaes
Dec 11 '18 at 23:46
$begingroup$
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.
$endgroup$
– Raymo111
Dec 11 '18 at 23:48
$begingroup$
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.
$endgroup$
– Raymo111
Dec 11 '18 at 23:48
add a comment |
$begingroup$
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$
$endgroup$
$begingroup$
Do Canadians live past age 135?
$endgroup$
– richard1941
Dec 21 '18 at 16:51
$begingroup$
Almost never. But with advancements in medical technology, that may change.
$endgroup$
– Doug M
Dec 21 '18 at 17:00
add a comment |
$begingroup$
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$
$endgroup$
$begingroup$
Do Canadians live past age 135?
$endgroup$
– richard1941
Dec 21 '18 at 16:51
$begingroup$
Almost never. But with advancements in medical technology, that may change.
$endgroup$
– Doug M
Dec 21 '18 at 17:00
add a comment |
$begingroup$
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$
$endgroup$
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$
edited Dec 19 '18 at 1:16
Eevee Trainer
5,9761936
5,9761936
answered Dec 12 '18 at 0:03
Doug MDoug M
44.9k31854
44.9k31854
$begingroup$
Do Canadians live past age 135?
$endgroup$
– richard1941
Dec 21 '18 at 16:51
$begingroup$
Almost never. But with advancements in medical technology, that may change.
$endgroup$
– Doug M
Dec 21 '18 at 17:00
add a comment |
$begingroup$
Do Canadians live past age 135?
$endgroup$
– richard1941
Dec 21 '18 at 16:51
$begingroup$
Almost never. But with advancements in medical technology, that may change.
$endgroup$
– Doug M
Dec 21 '18 at 17:00
$begingroup$
Do Canadians live past age 135?
$endgroup$
– richard1941
Dec 21 '18 at 16:51
$begingroup$
Do Canadians live past age 135?
$endgroup$
– richard1941
Dec 21 '18 at 16:51
$begingroup$
Almost never. But with advancements in medical technology, that may change.
$endgroup$
– Doug M
Dec 21 '18 at 17:00
$begingroup$
Almost never. But with advancements in medical technology, that may change.
$endgroup$
– Doug M
Dec 21 '18 at 17:00
add a comment |
$begingroup$
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)}.$
$endgroup$
add a comment |
$begingroup$
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)}.$
$endgroup$
add a comment |
$begingroup$
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)}.$
$endgroup$
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)}.$
edited Dec 12 '18 at 0:27
answered Dec 11 '18 at 23:56
Will RWill R
6,59731429
6,59731429
add a comment |
add a comment |
$begingroup$
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.
$endgroup$
2
$begingroup$
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}$
$endgroup$
– Ovi
Dec 12 '18 at 2:34
$begingroup$
Hmmm.... I'm not sure why I did it the way I did. I think somehow I briefly thought the obviousness that 15 goes directly into 150 made me briefly think that they were the coeficients and I started doing it that way and just continued. Obviously it'd be shorter and direct to do the coefficients.
$endgroup$
– fleablood
Dec 12 '18 at 15:40
add a comment |
$begingroup$
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.
$endgroup$
2
$begingroup$
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}$
$endgroup$
– Ovi
Dec 12 '18 at 2:34
$begingroup$
Hmmm.... I'm not sure why I did it the way I did. I think somehow I briefly thought the obviousness that 15 goes directly into 150 made me briefly think that they were the coeficients and I started doing it that way and just continued. Obviously it'd be shorter and direct to do the coefficients.
$endgroup$
– fleablood
Dec 12 '18 at 15:40
add a comment |
$begingroup$
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.
$endgroup$
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.
answered Dec 12 '18 at 0:49
fleabloodfleablood
70.5k22685
70.5k22685
2
$begingroup$
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}$
$endgroup$
– Ovi
Dec 12 '18 at 2:34
$begingroup$
Hmmm.... I'm not sure why I did it the way I did. I think somehow I briefly thought the obviousness that 15 goes directly into 150 made me briefly think that they were the coeficients and I started doing it that way and just continued. Obviously it'd be shorter and direct to do the coefficients.
$endgroup$
– fleablood
Dec 12 '18 at 15:40
add a comment |
2
$begingroup$
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}$
$endgroup$
– Ovi
Dec 12 '18 at 2:34
$begingroup$
Hmmm.... I'm not sure why I did it the way I did. I think somehow I briefly thought the obviousness that 15 goes directly into 150 made me briefly think that they were the coeficients and I started doing it that way and just continued. Obviously it'd be shorter and direct to do the coefficients.
$endgroup$
– fleablood
Dec 12 '18 at 15:40
2
2
$begingroup$
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}$
$endgroup$
– Ovi
Dec 12 '18 at 2:34
$begingroup$
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}$
$endgroup$
– Ovi
Dec 12 '18 at 2:34
$begingroup$
Hmmm.... I'm not sure why I did it the way I did. I think somehow I briefly thought the obviousness that 15 goes directly into 150 made me briefly think that they were the coeficients and I started doing it that way and just continued. Obviously it'd be shorter and direct to do the coefficients.
$endgroup$
– fleablood
Dec 12 '18 at 15:40
$begingroup$
Hmmm.... I'm not sure why I did it the way I did. I think somehow I briefly thought the obviousness that 15 goes directly into 150 made me briefly think that they were the coeficients and I started doing it that way and just continued. Obviously it'd be shorter and direct to do the coefficients.
$endgroup$
– fleablood
Dec 12 '18 at 15:40
add a comment |
$begingroup$
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?
$endgroup$
add a comment |
$begingroup$
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?
$endgroup$
add a comment |
$begingroup$
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?
$endgroup$
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?
answered Dec 11 '18 at 23:20
plattyplatty
3,370320
3,370320
add a comment |
add a comment |
$begingroup$
Servaes answer is excellent but let me add few cents for those who can't really make out something from dual variables and other factors (I know some people have problem with such things).
There is also a brute force solution, requiring a bit of thinking and a bit of simple calculation (the larger is the $n$ i $n$-times larger the more difficult it becomes though so I really suggest you try understanding the accepted solution anyway).
It's enough to check if there is an integer solution to equation
$$frac{150+n}{15+n}=9$$
If no, proceed with 8, 7 and so on. If you get to 2 and still have no anwser then the answer is never.
So a quick brute force check will like that:
$$frac{150+n}{15+n}=9$$
$$150+n=9cdot(15+n)$$
$$150+n=135+9cdot n$$
$$15=8cdot n$$
$$n = frac{15}{8}notinmathbb{Z}$$
So we continue with $8$
$$frac{150+n}{15+n}=8$$
$$150+n=8cdot(15+n)$$
$$150+n=120+8cdot n$$
$$30=7cdot n$$
$$n = frac{30}{7}notinmathbb{Z}$$
You may continue from here. Note, a smart person using this method will notice some pattern that will make it even simpler to test (not requiring all the calculation, just a quick check that literally takes seconds) but I will not give a direct hint.
Explanation
When you add the same number to both numerator and denominator of a fraction, the fraction decreases. In other words if you consider how the fraction of age of Canada and your age changes over time it will decrease.
On the other hand the fraction can never go to $1$ (or below) since the numerator will always be obviously greater than denominator (in our case by 135).
In other words you have a finite set of possible resultant fractions (namely ${2,3,4,5,6,7,8,9}$) that are potentially the sought "next case". From those you're looking for the largest one, so test them one by one, starting with $9$ and going down until you have an integer result or your options are gone.
Remarks
- Once again - this is a brute force solution and should not be treated as preferred if you can understand using two variables. But if you can't, it's still doable.
- If you notice the relationship I mention above, I guess even testing situation where the initial fraction is 100 could be done.
- You may try solving an interesting opposite question - when was the last time when such situation occurred (i.e. Canadas age was a multiply of your age). If you think it over well, you may use both Servaes and my approaches to that as well. Especially try rationalising that my approach will again have a finite and easily predictable number of tests to be performed.
- A food for thoughts. Is there always a solution to the original question (with differently chosen ages)? Is there always a solution to the problem I state in remark 3?
- Can you think of other related questions that will use similar approach (either Servaes's elegant one or mine brute force) to find a solution?
$endgroup$
add a comment |
$begingroup$
Servaes answer is excellent but let me add few cents for those who can't really make out something from dual variables and other factors (I know some people have problem with such things).
There is also a brute force solution, requiring a bit of thinking and a bit of simple calculation (the larger is the $n$ i $n$-times larger the more difficult it becomes though so I really suggest you try understanding the accepted solution anyway).
It's enough to check if there is an integer solution to equation
$$frac{150+n}{15+n}=9$$
If no, proceed with 8, 7 and so on. If you get to 2 and still have no anwser then the answer is never.
So a quick brute force check will like that:
$$frac{150+n}{15+n}=9$$
$$150+n=9cdot(15+n)$$
$$150+n=135+9cdot n$$
$$15=8cdot n$$
$$n = frac{15}{8}notinmathbb{Z}$$
So we continue with $8$
$$frac{150+n}{15+n}=8$$
$$150+n=8cdot(15+n)$$
$$150+n=120+8cdot n$$
$$30=7cdot n$$
$$n = frac{30}{7}notinmathbb{Z}$$
You may continue from here. Note, a smart person using this method will notice some pattern that will make it even simpler to test (not requiring all the calculation, just a quick check that literally takes seconds) but I will not give a direct hint.
Explanation
When you add the same number to both numerator and denominator of a fraction, the fraction decreases. In other words if you consider how the fraction of age of Canada and your age changes over time it will decrease.
On the other hand the fraction can never go to $1$ (or below) since the numerator will always be obviously greater than denominator (in our case by 135).
In other words you have a finite set of possible resultant fractions (namely ${2,3,4,5,6,7,8,9}$) that are potentially the sought "next case". From those you're looking for the largest one, so test them one by one, starting with $9$ and going down until you have an integer result or your options are gone.
Remarks
- Once again - this is a brute force solution and should not be treated as preferred if you can understand using two variables. But if you can't, it's still doable.
- If you notice the relationship I mention above, I guess even testing situation where the initial fraction is 100 could be done.
- You may try solving an interesting opposite question - when was the last time when such situation occurred (i.e. Canadas age was a multiply of your age). If you think it over well, you may use both Servaes and my approaches to that as well. Especially try rationalising that my approach will again have a finite and easily predictable number of tests to be performed.
- A food for thoughts. Is there always a solution to the original question (with differently chosen ages)? Is there always a solution to the problem I state in remark 3?
- Can you think of other related questions that will use similar approach (either Servaes's elegant one or mine brute force) to find a solution?
$endgroup$
add a comment |
$begingroup$
Servaes answer is excellent but let me add few cents for those who can't really make out something from dual variables and other factors (I know some people have problem with such things).
There is also a brute force solution, requiring a bit of thinking and a bit of simple calculation (the larger is the $n$ i $n$-times larger the more difficult it becomes though so I really suggest you try understanding the accepted solution anyway).
It's enough to check if there is an integer solution to equation
$$frac{150+n}{15+n}=9$$
If no, proceed with 8, 7 and so on. If you get to 2 and still have no anwser then the answer is never.
So a quick brute force check will like that:
$$frac{150+n}{15+n}=9$$
$$150+n=9cdot(15+n)$$
$$150+n=135+9cdot n$$
$$15=8cdot n$$
$$n = frac{15}{8}notinmathbb{Z}$$
So we continue with $8$
$$frac{150+n}{15+n}=8$$
$$150+n=8cdot(15+n)$$
$$150+n=120+8cdot n$$
$$30=7cdot n$$
$$n = frac{30}{7}notinmathbb{Z}$$
You may continue from here. Note, a smart person using this method will notice some pattern that will make it even simpler to test (not requiring all the calculation, just a quick check that literally takes seconds) but I will not give a direct hint.
Explanation
When you add the same number to both numerator and denominator of a fraction, the fraction decreases. In other words if you consider how the fraction of age of Canada and your age changes over time it will decrease.
On the other hand the fraction can never go to $1$ (or below) since the numerator will always be obviously greater than denominator (in our case by 135).
In other words you have a finite set of possible resultant fractions (namely ${2,3,4,5,6,7,8,9}$) that are potentially the sought "next case". From those you're looking for the largest one, so test them one by one, starting with $9$ and going down until you have an integer result or your options are gone.
Remarks
- Once again - this is a brute force solution and should not be treated as preferred if you can understand using two variables. But if you can't, it's still doable.
- If you notice the relationship I mention above, I guess even testing situation where the initial fraction is 100 could be done.
- You may try solving an interesting opposite question - when was the last time when such situation occurred (i.e. Canadas age was a multiply of your age). If you think it over well, you may use both Servaes and my approaches to that as well. Especially try rationalising that my approach will again have a finite and easily predictable number of tests to be performed.
- A food for thoughts. Is there always a solution to the original question (with differently chosen ages)? Is there always a solution to the problem I state in remark 3?
- Can you think of other related questions that will use similar approach (either Servaes's elegant one or mine brute force) to find a solution?
$endgroup$
Servaes answer is excellent but let me add few cents for those who can't really make out something from dual variables and other factors (I know some people have problem with such things).
There is also a brute force solution, requiring a bit of thinking and a bit of simple calculation (the larger is the $n$ i $n$-times larger the more difficult it becomes though so I really suggest you try understanding the accepted solution anyway).
It's enough to check if there is an integer solution to equation
$$frac{150+n}{15+n}=9$$
If no, proceed with 8, 7 and so on. If you get to 2 and still have no anwser then the answer is never.
So a quick brute force check will like that:
$$frac{150+n}{15+n}=9$$
$$150+n=9cdot(15+n)$$
$$150+n=135+9cdot n$$
$$15=8cdot n$$
$$n = frac{15}{8}notinmathbb{Z}$$
So we continue with $8$
$$frac{150+n}{15+n}=8$$
$$150+n=8cdot(15+n)$$
$$150+n=120+8cdot n$$
$$30=7cdot n$$
$$n = frac{30}{7}notinmathbb{Z}$$
You may continue from here. Note, a smart person using this method will notice some pattern that will make it even simpler to test (not requiring all the calculation, just a quick check that literally takes seconds) but I will not give a direct hint.
Explanation
When you add the same number to both numerator and denominator of a fraction, the fraction decreases. In other words if you consider how the fraction of age of Canada and your age changes over time it will decrease.
On the other hand the fraction can never go to $1$ (or below) since the numerator will always be obviously greater than denominator (in our case by 135).
In other words you have a finite set of possible resultant fractions (namely ${2,3,4,5,6,7,8,9}$) that are potentially the sought "next case". From those you're looking for the largest one, so test them one by one, starting with $9$ and going down until you have an integer result or your options are gone.
Remarks
- Once again - this is a brute force solution and should not be treated as preferred if you can understand using two variables. But if you can't, it's still doable.
- If you notice the relationship I mention above, I guess even testing situation where the initial fraction is 100 could be done.
- You may try solving an interesting opposite question - when was the last time when such situation occurred (i.e. Canadas age was a multiply of your age). If you think it over well, you may use both Servaes and my approaches to that as well. Especially try rationalising that my approach will again have a finite and easily predictable number of tests to be performed.
- A food for thoughts. Is there always a solution to the original question (with differently chosen ages)? Is there always a solution to the problem I state in remark 3?
- Can you think of other related questions that will use similar approach (either Servaes's elegant one or mine brute force) to find a solution?
answered Dec 12 '18 at 9:35
IsterIster
2216
2216
add a comment |
add a comment |
$begingroup$
In general questions like this, where
$frac{x+n}{y+n}=m$
$m$ will be an integer smaller than $frac{x}{y}$. Since there are finitely many integers less than $frac{x}{y}$, each value of $m$ can be checked one by one. Not all values will generally give an integer $n$.
$endgroup$
add a comment |
$begingroup$
In general questions like this, where
$frac{x+n}{y+n}=m$
$m$ will be an integer smaller than $frac{x}{y}$. Since there are finitely many integers less than $frac{x}{y}$, each value of $m$ can be checked one by one. Not all values will generally give an integer $n$.
$endgroup$
add a comment |
$begingroup$
In general questions like this, where
$frac{x+n}{y+n}=m$
$m$ will be an integer smaller than $frac{x}{y}$. Since there are finitely many integers less than $frac{x}{y}$, each value of $m$ can be checked one by one. Not all values will generally give an integer $n$.
$endgroup$
In general questions like this, where
$frac{x+n}{y+n}=m$
$m$ will be an integer smaller than $frac{x}{y}$. Since there are finitely many integers less than $frac{x}{y}$, each value of $m$ can be checked one by one. Not all values will generally give an integer $n$.
edited Dec 14 '18 at 4:56
user334732
4,26811240
4,26811240
answered Dec 12 '18 at 7:04
Prem kumarPrem kumar
18410
18410
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3035983%2fhow-can-i-find-integers-which-satisfy-frac150n15n-m%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
1
$begingroup$
For extra credit, consider that Canada turned 150 on July 1, 2017. If your birthday is after that date, 14+n is also a valid denominator, as you will be both age 14 and age 15 during the 12 months that Canada is 150 years old. Likewise, if your 15th birthday is before that date, 16+n is a valid denominator, since you will be 15 when Canada turns 150, but turn 16 before Canada turns 151.
$endgroup$
– Nuclear Wang
Dec 12 '18 at 4:51
2
$begingroup$
(1) Avoid using "interesting" in the title; (2) describe the problem in the title, not just your opinion and its topic.
$endgroup$
– Asaf Karagila♦
Dec 12 '18 at 11:19