Solving for $r$ in ${12choose{r}}=924$

Multi tool use
$begingroup$
I can solve the equation $_{12}C_r=924$ fairly easily by guess and test because there are so few possible $r$ values, but is there a clean way to solve an equation of this format algebraically? I can't seem to simplify the combination expression without using a large number of cases.
combinations factorial
$endgroup$
add a comment |
$begingroup$
I can solve the equation $_{12}C_r=924$ fairly easily by guess and test because there are so few possible $r$ values, but is there a clean way to solve an equation of this format algebraically? I can't seem to simplify the combination expression without using a large number of cases.
combinations factorial
$endgroup$
add a comment |
$begingroup$
I can solve the equation $_{12}C_r=924$ fairly easily by guess and test because there are so few possible $r$ values, but is there a clean way to solve an equation of this format algebraically? I can't seem to simplify the combination expression without using a large number of cases.
combinations factorial
$endgroup$
I can solve the equation $_{12}C_r=924$ fairly easily by guess and test because there are so few possible $r$ values, but is there a clean way to solve an equation of this format algebraically? I can't seem to simplify the combination expression without using a large number of cases.
combinations factorial
combinations factorial
edited Jan 6 '15 at 18:12


Sujaan Kunalan
7,191133973
7,191133973
asked Jan 6 '15 at 18:06
user2520444user2520444
1816
1816
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
$begingroup$
Use the definition $$_nC_r = frac{n!}{r!(n-r)!}$$ Plug in $n=12$ and set everything equal to $924$. With a little algebra you'll get $$frac{12!}{924} = r!(12-r)!$$ Then write $924 = 2^2cdot 3 cdot 7 cdot 11$ which means $$frac{12!}{924} =require{cancel} frac{1cdot 2cdot cancel{3} cdot cancel{4} cdot 5 cdot 6 cdot cancel{7} cdot 8 cdot 9 cdot 10 cdot cancel{11} cdot 12}{cancel{2^2}cdot cancel{3} cdot cancel{7} cdot cancel{11}} \ = 2 cdot 5 cdot 6 cdot 8 cdot 9 cdot 10 cdot 12$$ So now you have $$2 cdot 5 cdot 6 cdot 8 cdot 9 cdot 10 cdot 12=r!(12-r)!$$ Now you can quickly eliminate $r=0,1,2,3,4,5,7,8,9,10,11,12$ because if $r$ is one of those numbers, then either $r!$ or $(12-r)!$ will have a factor of $7$, and will not cancel with the LHS, hence you cannot have equality. This leaves you with $r=6$ as the only option.
$endgroup$
add a comment |
$begingroup$
Since $7$ is a factor of $frac{12!}{r!(12-r)!}=924$, $r!$ and $(12-r)!$ must not have factor $7$, which implies $r=6$.
$endgroup$
add a comment |
$begingroup$
I don't know of a quick way. As $12-r$ is a solution whenever $r$ is, you can concentrate on $r le frac {12}2$ For reasonably small values, you can then do binary search.
If the value $12$ is larger, you can use Stirling's approximation $12Cr=frac {12!}{r!(12-r)!}approxfrac {12^{12}sqrt{24pi}}{r^r(12-r)^{12-r}2pisqrt{r(12-r)}}$ Now take the logs and solve the equation to get $r=$ and expression involving $log r, log(12-r)$. Since the log changes rather slowly, guess that $r approx frac {12}4$ (the same starting point as the binary search. Plug that value in on the right, compute $r$, and you should come close with few iterations. Once you get close, use the fact that $r$ is a natural.
$endgroup$
add a comment |
$begingroup$
You can spot the high prime factors of $924$ - which exist by Bertrand's Postulate.
Here you see $11$ and $7$ and the highest value for $r$ which avoids cancelling $7$ is $6$, which happens to be the only possibility.
This would work more generally to reduce the possbilities. Note that if a high prime doesn't appear in the factorisation that puts a constraint on too, because that prime has to cancel.
This puts the larger of $r$ and $n-r$ greater than or equal to the highest prime less than $n$ excluded from the factorisation and lower than any prime greater than $frac n2$ which is included.
$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%2f1093305%2fsolving-for-r-in-12-chooser-924%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Use the definition $$_nC_r = frac{n!}{r!(n-r)!}$$ Plug in $n=12$ and set everything equal to $924$. With a little algebra you'll get $$frac{12!}{924} = r!(12-r)!$$ Then write $924 = 2^2cdot 3 cdot 7 cdot 11$ which means $$frac{12!}{924} =require{cancel} frac{1cdot 2cdot cancel{3} cdot cancel{4} cdot 5 cdot 6 cdot cancel{7} cdot 8 cdot 9 cdot 10 cdot cancel{11} cdot 12}{cancel{2^2}cdot cancel{3} cdot cancel{7} cdot cancel{11}} \ = 2 cdot 5 cdot 6 cdot 8 cdot 9 cdot 10 cdot 12$$ So now you have $$2 cdot 5 cdot 6 cdot 8 cdot 9 cdot 10 cdot 12=r!(12-r)!$$ Now you can quickly eliminate $r=0,1,2,3,4,5,7,8,9,10,11,12$ because if $r$ is one of those numbers, then either $r!$ or $(12-r)!$ will have a factor of $7$, and will not cancel with the LHS, hence you cannot have equality. This leaves you with $r=6$ as the only option.
$endgroup$
add a comment |
$begingroup$
Use the definition $$_nC_r = frac{n!}{r!(n-r)!}$$ Plug in $n=12$ and set everything equal to $924$. With a little algebra you'll get $$frac{12!}{924} = r!(12-r)!$$ Then write $924 = 2^2cdot 3 cdot 7 cdot 11$ which means $$frac{12!}{924} =require{cancel} frac{1cdot 2cdot cancel{3} cdot cancel{4} cdot 5 cdot 6 cdot cancel{7} cdot 8 cdot 9 cdot 10 cdot cancel{11} cdot 12}{cancel{2^2}cdot cancel{3} cdot cancel{7} cdot cancel{11}} \ = 2 cdot 5 cdot 6 cdot 8 cdot 9 cdot 10 cdot 12$$ So now you have $$2 cdot 5 cdot 6 cdot 8 cdot 9 cdot 10 cdot 12=r!(12-r)!$$ Now you can quickly eliminate $r=0,1,2,3,4,5,7,8,9,10,11,12$ because if $r$ is one of those numbers, then either $r!$ or $(12-r)!$ will have a factor of $7$, and will not cancel with the LHS, hence you cannot have equality. This leaves you with $r=6$ as the only option.
$endgroup$
add a comment |
$begingroup$
Use the definition $$_nC_r = frac{n!}{r!(n-r)!}$$ Plug in $n=12$ and set everything equal to $924$. With a little algebra you'll get $$frac{12!}{924} = r!(12-r)!$$ Then write $924 = 2^2cdot 3 cdot 7 cdot 11$ which means $$frac{12!}{924} =require{cancel} frac{1cdot 2cdot cancel{3} cdot cancel{4} cdot 5 cdot 6 cdot cancel{7} cdot 8 cdot 9 cdot 10 cdot cancel{11} cdot 12}{cancel{2^2}cdot cancel{3} cdot cancel{7} cdot cancel{11}} \ = 2 cdot 5 cdot 6 cdot 8 cdot 9 cdot 10 cdot 12$$ So now you have $$2 cdot 5 cdot 6 cdot 8 cdot 9 cdot 10 cdot 12=r!(12-r)!$$ Now you can quickly eliminate $r=0,1,2,3,4,5,7,8,9,10,11,12$ because if $r$ is one of those numbers, then either $r!$ or $(12-r)!$ will have a factor of $7$, and will not cancel with the LHS, hence you cannot have equality. This leaves you with $r=6$ as the only option.
$endgroup$
Use the definition $$_nC_r = frac{n!}{r!(n-r)!}$$ Plug in $n=12$ and set everything equal to $924$. With a little algebra you'll get $$frac{12!}{924} = r!(12-r)!$$ Then write $924 = 2^2cdot 3 cdot 7 cdot 11$ which means $$frac{12!}{924} =require{cancel} frac{1cdot 2cdot cancel{3} cdot cancel{4} cdot 5 cdot 6 cdot cancel{7} cdot 8 cdot 9 cdot 10 cdot cancel{11} cdot 12}{cancel{2^2}cdot cancel{3} cdot cancel{7} cdot cancel{11}} \ = 2 cdot 5 cdot 6 cdot 8 cdot 9 cdot 10 cdot 12$$ So now you have $$2 cdot 5 cdot 6 cdot 8 cdot 9 cdot 10 cdot 12=r!(12-r)!$$ Now you can quickly eliminate $r=0,1,2,3,4,5,7,8,9,10,11,12$ because if $r$ is one of those numbers, then either $r!$ or $(12-r)!$ will have a factor of $7$, and will not cancel with the LHS, hence you cannot have equality. This leaves you with $r=6$ as the only option.
edited Jan 6 '15 at 19:20
answered Jan 6 '15 at 18:56


graydadgraydad
12.8k61933
12.8k61933
add a comment |
add a comment |
$begingroup$
Since $7$ is a factor of $frac{12!}{r!(12-r)!}=924$, $r!$ and $(12-r)!$ must not have factor $7$, which implies $r=6$.
$endgroup$
add a comment |
$begingroup$
Since $7$ is a factor of $frac{12!}{r!(12-r)!}=924$, $r!$ and $(12-r)!$ must not have factor $7$, which implies $r=6$.
$endgroup$
add a comment |
$begingroup$
Since $7$ is a factor of $frac{12!}{r!(12-r)!}=924$, $r!$ and $(12-r)!$ must not have factor $7$, which implies $r=6$.
$endgroup$
Since $7$ is a factor of $frac{12!}{r!(12-r)!}=924$, $r!$ and $(12-r)!$ must not have factor $7$, which implies $r=6$.
answered Jan 6 '15 at 18:26
zed111zed111
1,216721
1,216721
add a comment |
add a comment |
$begingroup$
I don't know of a quick way. As $12-r$ is a solution whenever $r$ is, you can concentrate on $r le frac {12}2$ For reasonably small values, you can then do binary search.
If the value $12$ is larger, you can use Stirling's approximation $12Cr=frac {12!}{r!(12-r)!}approxfrac {12^{12}sqrt{24pi}}{r^r(12-r)^{12-r}2pisqrt{r(12-r)}}$ Now take the logs and solve the equation to get $r=$ and expression involving $log r, log(12-r)$. Since the log changes rather slowly, guess that $r approx frac {12}4$ (the same starting point as the binary search. Plug that value in on the right, compute $r$, and you should come close with few iterations. Once you get close, use the fact that $r$ is a natural.
$endgroup$
add a comment |
$begingroup$
I don't know of a quick way. As $12-r$ is a solution whenever $r$ is, you can concentrate on $r le frac {12}2$ For reasonably small values, you can then do binary search.
If the value $12$ is larger, you can use Stirling's approximation $12Cr=frac {12!}{r!(12-r)!}approxfrac {12^{12}sqrt{24pi}}{r^r(12-r)^{12-r}2pisqrt{r(12-r)}}$ Now take the logs and solve the equation to get $r=$ and expression involving $log r, log(12-r)$. Since the log changes rather slowly, guess that $r approx frac {12}4$ (the same starting point as the binary search. Plug that value in on the right, compute $r$, and you should come close with few iterations. Once you get close, use the fact that $r$ is a natural.
$endgroup$
add a comment |
$begingroup$
I don't know of a quick way. As $12-r$ is a solution whenever $r$ is, you can concentrate on $r le frac {12}2$ For reasonably small values, you can then do binary search.
If the value $12$ is larger, you can use Stirling's approximation $12Cr=frac {12!}{r!(12-r)!}approxfrac {12^{12}sqrt{24pi}}{r^r(12-r)^{12-r}2pisqrt{r(12-r)}}$ Now take the logs and solve the equation to get $r=$ and expression involving $log r, log(12-r)$. Since the log changes rather slowly, guess that $r approx frac {12}4$ (the same starting point as the binary search. Plug that value in on the right, compute $r$, and you should come close with few iterations. Once you get close, use the fact that $r$ is a natural.
$endgroup$
I don't know of a quick way. As $12-r$ is a solution whenever $r$ is, you can concentrate on $r le frac {12}2$ For reasonably small values, you can then do binary search.
If the value $12$ is larger, you can use Stirling's approximation $12Cr=frac {12!}{r!(12-r)!}approxfrac {12^{12}sqrt{24pi}}{r^r(12-r)^{12-r}2pisqrt{r(12-r)}}$ Now take the logs and solve the equation to get $r=$ and expression involving $log r, log(12-r)$. Since the log changes rather slowly, guess that $r approx frac {12}4$ (the same starting point as the binary search. Plug that value in on the right, compute $r$, and you should come close with few iterations. Once you get close, use the fact that $r$ is a natural.
answered Jan 6 '15 at 18:20


Ross MillikanRoss Millikan
298k24200374
298k24200374
add a comment |
add a comment |
$begingroup$
You can spot the high prime factors of $924$ - which exist by Bertrand's Postulate.
Here you see $11$ and $7$ and the highest value for $r$ which avoids cancelling $7$ is $6$, which happens to be the only possibility.
This would work more generally to reduce the possbilities. Note that if a high prime doesn't appear in the factorisation that puts a constraint on too, because that prime has to cancel.
This puts the larger of $r$ and $n-r$ greater than or equal to the highest prime less than $n$ excluded from the factorisation and lower than any prime greater than $frac n2$ which is included.
$endgroup$
add a comment |
$begingroup$
You can spot the high prime factors of $924$ - which exist by Bertrand's Postulate.
Here you see $11$ and $7$ and the highest value for $r$ which avoids cancelling $7$ is $6$, which happens to be the only possibility.
This would work more generally to reduce the possbilities. Note that if a high prime doesn't appear in the factorisation that puts a constraint on too, because that prime has to cancel.
This puts the larger of $r$ and $n-r$ greater than or equal to the highest prime less than $n$ excluded from the factorisation and lower than any prime greater than $frac n2$ which is included.
$endgroup$
add a comment |
$begingroup$
You can spot the high prime factors of $924$ - which exist by Bertrand's Postulate.
Here you see $11$ and $7$ and the highest value for $r$ which avoids cancelling $7$ is $6$, which happens to be the only possibility.
This would work more generally to reduce the possbilities. Note that if a high prime doesn't appear in the factorisation that puts a constraint on too, because that prime has to cancel.
This puts the larger of $r$ and $n-r$ greater than or equal to the highest prime less than $n$ excluded from the factorisation and lower than any prime greater than $frac n2$ which is included.
$endgroup$
You can spot the high prime factors of $924$ - which exist by Bertrand's Postulate.
Here you see $11$ and $7$ and the highest value for $r$ which avoids cancelling $7$ is $6$, which happens to be the only possibility.
This would work more generally to reduce the possbilities. Note that if a high prime doesn't appear in the factorisation that puts a constraint on too, because that prime has to cancel.
This puts the larger of $r$ and $n-r$ greater than or equal to the highest prime less than $n$ excluded from the factorisation and lower than any prime greater than $frac n2$ which is included.
edited Jan 6 '15 at 20:09
answered Jan 6 '15 at 18:25
Mark BennetMark Bennet
81.5k983180
81.5k983180
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%2f1093305%2fsolving-for-r-in-12-chooser-924%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
NbVfK5PJrbc,AQhh73MV,eR66Q08Kh3,VTS,ZE,nwWbQKt2 4MwQ,IhsxSgsAs J65Rbv9lhCjc9ArCzOC RQiEoLyiLDh5EyHW6Q2W