How to give k identical objects to n different people such that each of them gets odd number of these...












0












$begingroup$


How to give k identical objects to n different people such that each of them gets odd number of these objects? I don’t know how to include odd number thing.










share|cite|improve this question









$endgroup$












  • $begingroup$
    Show your work: can you find the number of way to distribute the objects without the restriction?
    $endgroup$
    – Daniel Mathias
    Jan 23 at 18:49










  • $begingroup$
    HINT Given each person $1$ ... and hand out the rest in pairs. How many such pairs are there?
    $endgroup$
    – Bram28
    Jan 23 at 18:50












  • $begingroup$
    If n is number of peopl and k number of objects then (k+n-1) choose (n-1)
    $endgroup$
    – Michael
    Jan 23 at 18:51










  • $begingroup$
    You may be asking about "partitions into odd parts," but I'm not sure.
    $endgroup$
    – saulspatz
    Jan 23 at 18:51


















0












$begingroup$


How to give k identical objects to n different people such that each of them gets odd number of these objects? I don’t know how to include odd number thing.










share|cite|improve this question









$endgroup$












  • $begingroup$
    Show your work: can you find the number of way to distribute the objects without the restriction?
    $endgroup$
    – Daniel Mathias
    Jan 23 at 18:49










  • $begingroup$
    HINT Given each person $1$ ... and hand out the rest in pairs. How many such pairs are there?
    $endgroup$
    – Bram28
    Jan 23 at 18:50












  • $begingroup$
    If n is number of peopl and k number of objects then (k+n-1) choose (n-1)
    $endgroup$
    – Michael
    Jan 23 at 18:51










  • $begingroup$
    You may be asking about "partitions into odd parts," but I'm not sure.
    $endgroup$
    – saulspatz
    Jan 23 at 18:51
















0












0








0





$begingroup$


How to give k identical objects to n different people such that each of them gets odd number of these objects? I don’t know how to include odd number thing.










share|cite|improve this question









$endgroup$




How to give k identical objects to n different people such that each of them gets odd number of these objects? I don’t know how to include odd number thing.







combinatorics






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Jan 23 at 18:47









MichaelMichael

246




246












  • $begingroup$
    Show your work: can you find the number of way to distribute the objects without the restriction?
    $endgroup$
    – Daniel Mathias
    Jan 23 at 18:49










  • $begingroup$
    HINT Given each person $1$ ... and hand out the rest in pairs. How many such pairs are there?
    $endgroup$
    – Bram28
    Jan 23 at 18:50












  • $begingroup$
    If n is number of peopl and k number of objects then (k+n-1) choose (n-1)
    $endgroup$
    – Michael
    Jan 23 at 18:51










  • $begingroup$
    You may be asking about "partitions into odd parts," but I'm not sure.
    $endgroup$
    – saulspatz
    Jan 23 at 18:51




















  • $begingroup$
    Show your work: can you find the number of way to distribute the objects without the restriction?
    $endgroup$
    – Daniel Mathias
    Jan 23 at 18:49










  • $begingroup$
    HINT Given each person $1$ ... and hand out the rest in pairs. How many such pairs are there?
    $endgroup$
    – Bram28
    Jan 23 at 18:50












  • $begingroup$
    If n is number of peopl and k number of objects then (k+n-1) choose (n-1)
    $endgroup$
    – Michael
    Jan 23 at 18:51










  • $begingroup$
    You may be asking about "partitions into odd parts," but I'm not sure.
    $endgroup$
    – saulspatz
    Jan 23 at 18:51


















$begingroup$
Show your work: can you find the number of way to distribute the objects without the restriction?
$endgroup$
– Daniel Mathias
Jan 23 at 18:49




$begingroup$
Show your work: can you find the number of way to distribute the objects without the restriction?
$endgroup$
– Daniel Mathias
Jan 23 at 18:49












$begingroup$
HINT Given each person $1$ ... and hand out the rest in pairs. How many such pairs are there?
$endgroup$
– Bram28
Jan 23 at 18:50






$begingroup$
HINT Given each person $1$ ... and hand out the rest in pairs. How many such pairs are there?
$endgroup$
– Bram28
Jan 23 at 18:50














$begingroup$
If n is number of peopl and k number of objects then (k+n-1) choose (n-1)
$endgroup$
– Michael
Jan 23 at 18:51




$begingroup$
If n is number of peopl and k number of objects then (k+n-1) choose (n-1)
$endgroup$
– Michael
Jan 23 at 18:51












$begingroup$
You may be asking about "partitions into odd parts," but I'm not sure.
$endgroup$
– saulspatz
Jan 23 at 18:51






$begingroup$
You may be asking about "partitions into odd parts," but I'm not sure.
$endgroup$
– saulspatz
Jan 23 at 18:51












1 Answer
1






active

oldest

votes


















1












$begingroup$

Letting $x_i$ be the number of objects given to person $i$, you are counting soluitions to the equation
$$
x_1+x_2+dots+x_n = k,
$$

subject to the constraint that each $x_i$ is an odd positive integer. Letting $y_i=(x_i-1)/2$, this is equivalent to counting nonnegative integer solutions to
$$
y_1+y_2+dots+y_n=(k-n)/2,
$$

which can be done with stars and bars.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    How can I use stars and bars then?
    $endgroup$
    – Michael
    Jan 23 at 19:14






  • 1




    $begingroup$
    @Michael you already gave the solution in your response to my comment: $binom{k+n-1}{n-1}$ becomes $binom{(k-n)/2+n-1}{n-1}$
    $endgroup$
    – Daniel Mathias
    Jan 23 at 19:16












  • $begingroup$
    @DanielMathias Thanks for pointing out the error!
    $endgroup$
    – Mike Earnest
    Jan 23 at 19:17










  • $begingroup$
    Thank you for your solution! Now I got it.
    $endgroup$
    – Michael
    Jan 23 at 19:20











Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3084893%2fhow-to-give-k-identical-objects-to-n-different-people-such-that-each-of-them-get%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1












$begingroup$

Letting $x_i$ be the number of objects given to person $i$, you are counting soluitions to the equation
$$
x_1+x_2+dots+x_n = k,
$$

subject to the constraint that each $x_i$ is an odd positive integer. Letting $y_i=(x_i-1)/2$, this is equivalent to counting nonnegative integer solutions to
$$
y_1+y_2+dots+y_n=(k-n)/2,
$$

which can be done with stars and bars.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    How can I use stars and bars then?
    $endgroup$
    – Michael
    Jan 23 at 19:14






  • 1




    $begingroup$
    @Michael you already gave the solution in your response to my comment: $binom{k+n-1}{n-1}$ becomes $binom{(k-n)/2+n-1}{n-1}$
    $endgroup$
    – Daniel Mathias
    Jan 23 at 19:16












  • $begingroup$
    @DanielMathias Thanks for pointing out the error!
    $endgroup$
    – Mike Earnest
    Jan 23 at 19:17










  • $begingroup$
    Thank you for your solution! Now I got it.
    $endgroup$
    – Michael
    Jan 23 at 19:20
















1












$begingroup$

Letting $x_i$ be the number of objects given to person $i$, you are counting soluitions to the equation
$$
x_1+x_2+dots+x_n = k,
$$

subject to the constraint that each $x_i$ is an odd positive integer. Letting $y_i=(x_i-1)/2$, this is equivalent to counting nonnegative integer solutions to
$$
y_1+y_2+dots+y_n=(k-n)/2,
$$

which can be done with stars and bars.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    How can I use stars and bars then?
    $endgroup$
    – Michael
    Jan 23 at 19:14






  • 1




    $begingroup$
    @Michael you already gave the solution in your response to my comment: $binom{k+n-1}{n-1}$ becomes $binom{(k-n)/2+n-1}{n-1}$
    $endgroup$
    – Daniel Mathias
    Jan 23 at 19:16












  • $begingroup$
    @DanielMathias Thanks for pointing out the error!
    $endgroup$
    – Mike Earnest
    Jan 23 at 19:17










  • $begingroup$
    Thank you for your solution! Now I got it.
    $endgroup$
    – Michael
    Jan 23 at 19:20














1












1








1





$begingroup$

Letting $x_i$ be the number of objects given to person $i$, you are counting soluitions to the equation
$$
x_1+x_2+dots+x_n = k,
$$

subject to the constraint that each $x_i$ is an odd positive integer. Letting $y_i=(x_i-1)/2$, this is equivalent to counting nonnegative integer solutions to
$$
y_1+y_2+dots+y_n=(k-n)/2,
$$

which can be done with stars and bars.






share|cite|improve this answer











$endgroup$



Letting $x_i$ be the number of objects given to person $i$, you are counting soluitions to the equation
$$
x_1+x_2+dots+x_n = k,
$$

subject to the constraint that each $x_i$ is an odd positive integer. Letting $y_i=(x_i-1)/2$, this is equivalent to counting nonnegative integer solutions to
$$
y_1+y_2+dots+y_n=(k-n)/2,
$$

which can be done with stars and bars.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Jan 23 at 19:14

























answered Jan 23 at 19:10









Mike EarnestMike Earnest

24.6k22151




24.6k22151












  • $begingroup$
    How can I use stars and bars then?
    $endgroup$
    – Michael
    Jan 23 at 19:14






  • 1




    $begingroup$
    @Michael you already gave the solution in your response to my comment: $binom{k+n-1}{n-1}$ becomes $binom{(k-n)/2+n-1}{n-1}$
    $endgroup$
    – Daniel Mathias
    Jan 23 at 19:16












  • $begingroup$
    @DanielMathias Thanks for pointing out the error!
    $endgroup$
    – Mike Earnest
    Jan 23 at 19:17










  • $begingroup$
    Thank you for your solution! Now I got it.
    $endgroup$
    – Michael
    Jan 23 at 19:20


















  • $begingroup$
    How can I use stars and bars then?
    $endgroup$
    – Michael
    Jan 23 at 19:14






  • 1




    $begingroup$
    @Michael you already gave the solution in your response to my comment: $binom{k+n-1}{n-1}$ becomes $binom{(k-n)/2+n-1}{n-1}$
    $endgroup$
    – Daniel Mathias
    Jan 23 at 19:16












  • $begingroup$
    @DanielMathias Thanks for pointing out the error!
    $endgroup$
    – Mike Earnest
    Jan 23 at 19:17










  • $begingroup$
    Thank you for your solution! Now I got it.
    $endgroup$
    – Michael
    Jan 23 at 19:20
















$begingroup$
How can I use stars and bars then?
$endgroup$
– Michael
Jan 23 at 19:14




$begingroup$
How can I use stars and bars then?
$endgroup$
– Michael
Jan 23 at 19:14




1




1




$begingroup$
@Michael you already gave the solution in your response to my comment: $binom{k+n-1}{n-1}$ becomes $binom{(k-n)/2+n-1}{n-1}$
$endgroup$
– Daniel Mathias
Jan 23 at 19:16






$begingroup$
@Michael you already gave the solution in your response to my comment: $binom{k+n-1}{n-1}$ becomes $binom{(k-n)/2+n-1}{n-1}$
$endgroup$
– Daniel Mathias
Jan 23 at 19:16














$begingroup$
@DanielMathias Thanks for pointing out the error!
$endgroup$
– Mike Earnest
Jan 23 at 19:17




$begingroup$
@DanielMathias Thanks for pointing out the error!
$endgroup$
– Mike Earnest
Jan 23 at 19:17












$begingroup$
Thank you for your solution! Now I got it.
$endgroup$
– Michael
Jan 23 at 19:20




$begingroup$
Thank you for your solution! Now I got it.
$endgroup$
– Michael
Jan 23 at 19:20


















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3084893%2fhow-to-give-k-identical-objects-to-n-different-people-such-that-each-of-them-get%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

android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

SQL update select statement

'app-layout' is not a known element: how to share Component with different Modules