Inverse/Reverse of Number of Permutations and of Number of Combinations with Repetitions?How to reverse the $n$ choose $k$ formula?Permutations with Repetitions, how to select $n$ and $r$How many possible combinations/permutations?Trouble with permutations and combinations problemsCombinatorics: terminology for permutations and combinationsTerminology clarification: are these permutations or combinations?Finding $n$ permutations $r$ with repetitionsCombinations and Permutations artistHow can we count combinations with repetition (or permutations) using inequality symbols between each number?Visualizing combinations with repetitions allowed.Using the numbers 1, 2, 3, 4 and 5, how many 3-digit combinations can you make? Repetitions allowed.
Integer addition + constant, is it a group?
Is oxalic acid dihydrate considered a primary acid standard in analytical chemistry?
Was Spock the First Vulcan in Starfleet?
You cannot touch me, but I can touch you, who am I?
Trouble understanding the speech of overseas colleagues
How did Arya survive the stabbing?
Large drywall patch supports
How to safely derail a train during transit?
Failed to fetch jessie backports repository
Method to test if a number is a perfect power?
Pole-zeros of a real-valued causal FIR system
Is a stroke of luck acceptable after a series of unfavorable events?
Do the temporary hit points from the Battlerager barbarian's Reckless Abandon stack if I make multiple attacks on my turn?
Crossing the line between justified force and brutality
How do I find the solutions of the following equation?
How does the UK government determine the size of a mandate?
Would a high gravity rocky planet be guaranteed to have an atmosphere?
Gears on left are inverse to gears on right?
How do scammers retract money, while you can’t?
How do I extract a value from a time formatted value in excel?
How do I go from 300 unfinished/half written blog posts, to published posts?
Avoiding estate tax by giving multiple gifts
Why Were Madagascar and New Zealand Discovered So Late?
How to be diplomatic in refusing to write code that breaches the privacy of our users
Inverse/Reverse of Number of Permutations and of Number of Combinations with Repetitions?
How to reverse the $n$ choose $k$ formula?Permutations with Repetitions, how to select $n$ and $r$How many possible combinations/permutations?Trouble with permutations and combinations problemsCombinatorics: terminology for permutations and combinationsTerminology clarification: are these permutations or combinations?Finding $n$ permutations $r$ with repetitionsCombinations and Permutations artistHow can we count combinations with repetition (or permutations) using inequality symbols between each number?Visualizing combinations with repetitions allowed.Using the numbers 1, 2, 3, 4 and 5, how many 3-digit combinations can you make? Repetitions allowed.
$begingroup$
For an engineering application, I need the inverse functions of the computations of the number of combinations and permutations.
In the thread How to reverse the $n$ choose $k$ formula? it shows how to reverse/inverse the number of combinations function...
Given:
$X = C(n, k) = binomnk = fracn! k!(n-k)! $
then you can limit n to:
$sqrt[k]k! X + k ge n ge sqrt[k]k! X$
And thus you at most need to check k+1 possible values of n.
Great!
But how do I solve for k instead of for n?
And given instead:
$X = P(n, k) = fracn! (n-k)! $
then would I be correct in assuming from above that:
$sqrt[k]X + k ge n ge sqrt[k]X$
? And if so, how would I then solve for k instead of n?
And finally, given instead CR is Combinations with Repetitions:
$X = CR(n, k) = binomn+k-1k = binomn+k-1n-1 = frac (n+k-1)! k!(n-1)! $
then would I be correct in assuming from above that:
$sqrt[k]k! X + 1 ge n ge sqrt[k]k! X - k + 1$
? And if so, how would I then solve for k instead of n?
Any help on the algebra for these five related inverse functions would be greatly appreciated!
combinatorics permutations combinations binomial-coefficients inverse-function
$endgroup$
add a comment |
$begingroup$
For an engineering application, I need the inverse functions of the computations of the number of combinations and permutations.
In the thread How to reverse the $n$ choose $k$ formula? it shows how to reverse/inverse the number of combinations function...
Given:
$X = C(n, k) = binomnk = fracn! k!(n-k)! $
then you can limit n to:
$sqrt[k]k! X + k ge n ge sqrt[k]k! X$
And thus you at most need to check k+1 possible values of n.
Great!
But how do I solve for k instead of for n?
And given instead:
$X = P(n, k) = fracn! (n-k)! $
then would I be correct in assuming from above that:
$sqrt[k]X + k ge n ge sqrt[k]X$
? And if so, how would I then solve for k instead of n?
And finally, given instead CR is Combinations with Repetitions:
$X = CR(n, k) = binomn+k-1k = binomn+k-1n-1 = frac (n+k-1)! k!(n-1)! $
then would I be correct in assuming from above that:
$sqrt[k]k! X + 1 ge n ge sqrt[k]k! X - k + 1$
? And if so, how would I then solve for k instead of n?
Any help on the algebra for these five related inverse functions would be greatly appreciated!
combinatorics permutations combinations binomial-coefficients inverse-function
$endgroup$
1
$begingroup$
Question: when we are solving for $k$, is $n$ fixed?
$endgroup$
– Eevee Trainer
19 hours ago
$begingroup$
Yes, @Eevee Trainer, when solving for k, you can assume n is fixed/known.
$endgroup$
– Brian Kennedy
11 hours ago
add a comment |
$begingroup$
For an engineering application, I need the inverse functions of the computations of the number of combinations and permutations.
In the thread How to reverse the $n$ choose $k$ formula? it shows how to reverse/inverse the number of combinations function...
Given:
$X = C(n, k) = binomnk = fracn! k!(n-k)! $
then you can limit n to:
$sqrt[k]k! X + k ge n ge sqrt[k]k! X$
And thus you at most need to check k+1 possible values of n.
Great!
But how do I solve for k instead of for n?
And given instead:
$X = P(n, k) = fracn! (n-k)! $
then would I be correct in assuming from above that:
$sqrt[k]X + k ge n ge sqrt[k]X$
? And if so, how would I then solve for k instead of n?
And finally, given instead CR is Combinations with Repetitions:
$X = CR(n, k) = binomn+k-1k = binomn+k-1n-1 = frac (n+k-1)! k!(n-1)! $
then would I be correct in assuming from above that:
$sqrt[k]k! X + 1 ge n ge sqrt[k]k! X - k + 1$
? And if so, how would I then solve for k instead of n?
Any help on the algebra for these five related inverse functions would be greatly appreciated!
combinatorics permutations combinations binomial-coefficients inverse-function
$endgroup$
For an engineering application, I need the inverse functions of the computations of the number of combinations and permutations.
In the thread How to reverse the $n$ choose $k$ formula? it shows how to reverse/inverse the number of combinations function...
Given:
$X = C(n, k) = binomnk = fracn! k!(n-k)! $
then you can limit n to:
$sqrt[k]k! X + k ge n ge sqrt[k]k! X$
And thus you at most need to check k+1 possible values of n.
Great!
But how do I solve for k instead of for n?
And given instead:
$X = P(n, k) = fracn! (n-k)! $
then would I be correct in assuming from above that:
$sqrt[k]X + k ge n ge sqrt[k]X$
? And if so, how would I then solve for k instead of n?
And finally, given instead CR is Combinations with Repetitions:
$X = CR(n, k) = binomn+k-1k = binomn+k-1n-1 = frac (n+k-1)! k!(n-1)! $
then would I be correct in assuming from above that:
$sqrt[k]k! X + 1 ge n ge sqrt[k]k! X - k + 1$
? And if so, how would I then solve for k instead of n?
Any help on the algebra for these five related inverse functions would be greatly appreciated!
combinatorics permutations combinations binomial-coefficients inverse-function
combinatorics permutations combinations binomial-coefficients inverse-function
asked 20 hours ago
Brian KennedyBrian Kennedy
1062
1062
1
$begingroup$
Question: when we are solving for $k$, is $n$ fixed?
$endgroup$
– Eevee Trainer
19 hours ago
$begingroup$
Yes, @Eevee Trainer, when solving for k, you can assume n is fixed/known.
$endgroup$
– Brian Kennedy
11 hours ago
add a comment |
1
$begingroup$
Question: when we are solving for $k$, is $n$ fixed?
$endgroup$
– Eevee Trainer
19 hours ago
$begingroup$
Yes, @Eevee Trainer, when solving for k, you can assume n is fixed/known.
$endgroup$
– Brian Kennedy
11 hours ago
1
1
$begingroup$
Question: when we are solving for $k$, is $n$ fixed?
$endgroup$
– Eevee Trainer
19 hours ago
$begingroup$
Question: when we are solving for $k$, is $n$ fixed?
$endgroup$
– Eevee Trainer
19 hours ago
$begingroup$
Yes, @Eevee Trainer, when solving for k, you can assume n is fixed/known.
$endgroup$
– Brian Kennedy
11 hours ago
$begingroup$
Yes, @Eevee Trainer, when solving for k, you can assume n is fixed/known.
$endgroup$
– Brian Kennedy
11 hours ago
add a comment |
0
active
oldest
votes
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%2f3164173%2finverse-reverse-of-number-of-permutations-and-of-number-of-combinations-with-rep%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f3164173%2finverse-reverse-of-number-of-permutations-and-of-number-of-combinations-with-rep%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$
Question: when we are solving for $k$, is $n$ fixed?
$endgroup$
– Eevee Trainer
19 hours ago
$begingroup$
Yes, @Eevee Trainer, when solving for k, you can assume n is fixed/known.
$endgroup$
– Brian Kennedy
11 hours ago