Showing that two combinatorial expressions are equalUniversal algorithm to estimate probability of drawing certain combination of coloured ballsUrn problem- distribution after all balls of x randomly selected colours are removedExpected value of distinct ballsProbability that $S$ of the sets are of a given type?Expected cost of algorithmExpected cost of algorithm based on hypergeometrical distributionWays to choose balls such that identical colours are adjacent.Probability of drawing three different colours without order
How did Ron get five hundred Chocolate Frog cards?
UK PM is taking his proposal to EU but has not proposed to his own parliament - can he legally bypass the UK parliament?
Why are Starfleet vessels designed with nacelles so far away from the hull?
Negative feedbacks and "Language smoother"
33 Months on Death Row
Are There 3D Rules for Flying and Distance?
How can I cut a metal pipe while preserving the wires inside?
If the music alphabet had more than 7 letters would octaves still sound like the same note?
How can demon technology be prevented from surpassing humans?
How should I tell a professor the answer to something he doesn't know?
Fill a bowl with alphabet soup
Do I need to explicitly handle negative numbers or zero when summing squared digits?
"Shake your head all you like" meaning
Match the blocks
'The Kukhtarev's model' or 'Kukhtarev's model' ('John's car' or 'The John's car')?
How honest to be with US immigration about uncertainty about travel plans?
Is it realistic that an advanced species isn't good at war?
How does Firefox know my ISP login page?
Why are seats at the rear of a plane sometimes unavailable even though many other seats are available in the plane?
Why is it popular to teach modulus via the example of mod 12 and analogue clocks?
Can a character dodge an attack that beats their Armor Class?
How to protect my Wi-Fi password from being displayed by Android phones when sharing it with QR code?
How to handle shared mortgage payment if one person can't pay their share?
Drawing Super Mario Bros.....in LaTeX
Showing that two combinatorial expressions are equal
Universal algorithm to estimate probability of drawing certain combination of coloured ballsUrn problem- distribution after all balls of x randomly selected colours are removedExpected value of distinct ballsProbability that $S$ of the sets are of a given type?Expected cost of algorithmExpected cost of algorithm based on hypergeometrical distributionWays to choose balls such that identical colours are adjacent.Probability of drawing three different colours without order
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
.everyonelovesstackoverflowposition:absolute;height:1px;width:1px;opacity:0;top:0;left:0;pointer-events:none;
$begingroup$
Is there an algebraic way of showing that $$sum_m=lceil p / brceil^c left(-1right)^m fracbinombcdot mpbinombcdot cp sum_k=m^ckcdot(-1)^k binomck binomkm = ccdotleft[1 - fracbinombcdot[c - 1]pbinombcdot cpright], $$
for all positive integers $b$, $c$, $p$?
Background:
A friend sent me a puzzle, which I've solved in two different ways, and I'd like to convince myself that they're algebraically the same.
Specifically, I was asked to consider the following problem: Suppose we have 80 balls in a bowl of 8 different colours, with 10 of each colour. If we draw 15 of them without replacement, how many colours would we expect to see?
Method 1:
We can find the expected number of colours as the weighted average of the possible number of colours, with the weights being the probabilities: $bark = sum_k k cdot P_k$. To do this we need to calculate the probabilities of seeing exactly $k$ colours for all possible values of $k$.
The probability of using just one colour is 0, as $15 > 10$.
The probability of using exactly two colours is $binom82 cdot fracbinom2015binom8015$.
The probability of using exactly at most three colours is $binom83 cdot fracbinom3015binom8015$.This probability however includes some cases where we've picked only two colours. To get the probability of picking exactly three colours, we need to subtract these cases, giving: $binom83 cdot left[fracbinom3015binom8015 - binom32fracbinom2015binom8015right]$. Using the inclusion-exclusion principle, the general probability of getting exactly $k$ colours is
$$
P_k = (-1)^k fracbinom8kbinom8015 sum_m=2^kleft(-1right)^m binomkmbinom10m15
$$
The expected number of colours can then be written as
$$ beginalign
bark &= sum_k=2^8kcdot(-1)^k fracbinom8kbinom8015 sum_m=2^kleft(-1right)^m binomkmbinom10m15\
&= sum_m=2^8 left(-1right)^m fracbinom10m15binom8015 sum_k=m^8kcdot(-1)^k binom8k binomkm.
endalign $$
Method 2
Alternatively, I reasoned that for any given colour, the probability of having that colour in the draw is $P_mathrmc = 1 - fracbinom7015binom8015$. If the colour is included, it contributes 1 to the total number of colours, and if not, it contributes 0. The expected value of the number of colours is then
$$
bark = sum_mathrmcolours P_mathrmc = 8 - 8 fracbinom7015binom8015
$$
I can calculate both of these numbers, and for this particular case, they are the same.
What I'd like is to understand why they should be equal in general -- there's nothing in the derivations which limits us to 8 colours, 10 balls of each colour and 15 picks.
It's been a while since I had any combinatorics, so I'm a bit stuck
combinatorics puzzle inclusion-exclusion
$endgroup$
add a comment
|
$begingroup$
Is there an algebraic way of showing that $$sum_m=lceil p / brceil^c left(-1right)^m fracbinombcdot mpbinombcdot cp sum_k=m^ckcdot(-1)^k binomck binomkm = ccdotleft[1 - fracbinombcdot[c - 1]pbinombcdot cpright], $$
for all positive integers $b$, $c$, $p$?
Background:
A friend sent me a puzzle, which I've solved in two different ways, and I'd like to convince myself that they're algebraically the same.
Specifically, I was asked to consider the following problem: Suppose we have 80 balls in a bowl of 8 different colours, with 10 of each colour. If we draw 15 of them without replacement, how many colours would we expect to see?
Method 1:
We can find the expected number of colours as the weighted average of the possible number of colours, with the weights being the probabilities: $bark = sum_k k cdot P_k$. To do this we need to calculate the probabilities of seeing exactly $k$ colours for all possible values of $k$.
The probability of using just one colour is 0, as $15 > 10$.
The probability of using exactly two colours is $binom82 cdot fracbinom2015binom8015$.
The probability of using exactly at most three colours is $binom83 cdot fracbinom3015binom8015$.This probability however includes some cases where we've picked only two colours. To get the probability of picking exactly three colours, we need to subtract these cases, giving: $binom83 cdot left[fracbinom3015binom8015 - binom32fracbinom2015binom8015right]$. Using the inclusion-exclusion principle, the general probability of getting exactly $k$ colours is
$$
P_k = (-1)^k fracbinom8kbinom8015 sum_m=2^kleft(-1right)^m binomkmbinom10m15
$$
The expected number of colours can then be written as
$$ beginalign
bark &= sum_k=2^8kcdot(-1)^k fracbinom8kbinom8015 sum_m=2^kleft(-1right)^m binomkmbinom10m15\
&= sum_m=2^8 left(-1right)^m fracbinom10m15binom8015 sum_k=m^8kcdot(-1)^k binom8k binomkm.
endalign $$
Method 2
Alternatively, I reasoned that for any given colour, the probability of having that colour in the draw is $P_mathrmc = 1 - fracbinom7015binom8015$. If the colour is included, it contributes 1 to the total number of colours, and if not, it contributes 0. The expected value of the number of colours is then
$$
bark = sum_mathrmcolours P_mathrmc = 8 - 8 fracbinom7015binom8015
$$
I can calculate both of these numbers, and for this particular case, they are the same.
What I'd like is to understand why they should be equal in general -- there's nothing in the derivations which limits us to 8 colours, 10 balls of each colour and 15 picks.
It's been a while since I had any combinatorics, so I'm a bit stuck
combinatorics puzzle inclusion-exclusion
$endgroup$
$begingroup$
You might want to look into generating functions, which can be used to tackle problems like this generally.
$endgroup$
– YiFan
7 hours ago
$begingroup$
typo alert? i think you meant to say 8 different colors (2nd paragraph of Background section).
$endgroup$
– antkam
5 hours ago
$begingroup$
Whoops, thanks for catching that!
$endgroup$
– Sten
5 hours ago
add a comment
|
$begingroup$
Is there an algebraic way of showing that $$sum_m=lceil p / brceil^c left(-1right)^m fracbinombcdot mpbinombcdot cp sum_k=m^ckcdot(-1)^k binomck binomkm = ccdotleft[1 - fracbinombcdot[c - 1]pbinombcdot cpright], $$
for all positive integers $b$, $c$, $p$?
Background:
A friend sent me a puzzle, which I've solved in two different ways, and I'd like to convince myself that they're algebraically the same.
Specifically, I was asked to consider the following problem: Suppose we have 80 balls in a bowl of 8 different colours, with 10 of each colour. If we draw 15 of them without replacement, how many colours would we expect to see?
Method 1:
We can find the expected number of colours as the weighted average of the possible number of colours, with the weights being the probabilities: $bark = sum_k k cdot P_k$. To do this we need to calculate the probabilities of seeing exactly $k$ colours for all possible values of $k$.
The probability of using just one colour is 0, as $15 > 10$.
The probability of using exactly two colours is $binom82 cdot fracbinom2015binom8015$.
The probability of using exactly at most three colours is $binom83 cdot fracbinom3015binom8015$.This probability however includes some cases where we've picked only two colours. To get the probability of picking exactly three colours, we need to subtract these cases, giving: $binom83 cdot left[fracbinom3015binom8015 - binom32fracbinom2015binom8015right]$. Using the inclusion-exclusion principle, the general probability of getting exactly $k$ colours is
$$
P_k = (-1)^k fracbinom8kbinom8015 sum_m=2^kleft(-1right)^m binomkmbinom10m15
$$
The expected number of colours can then be written as
$$ beginalign
bark &= sum_k=2^8kcdot(-1)^k fracbinom8kbinom8015 sum_m=2^kleft(-1right)^m binomkmbinom10m15\
&= sum_m=2^8 left(-1right)^m fracbinom10m15binom8015 sum_k=m^8kcdot(-1)^k binom8k binomkm.
endalign $$
Method 2
Alternatively, I reasoned that for any given colour, the probability of having that colour in the draw is $P_mathrmc = 1 - fracbinom7015binom8015$. If the colour is included, it contributes 1 to the total number of colours, and if not, it contributes 0. The expected value of the number of colours is then
$$
bark = sum_mathrmcolours P_mathrmc = 8 - 8 fracbinom7015binom8015
$$
I can calculate both of these numbers, and for this particular case, they are the same.
What I'd like is to understand why they should be equal in general -- there's nothing in the derivations which limits us to 8 colours, 10 balls of each colour and 15 picks.
It's been a while since I had any combinatorics, so I'm a bit stuck
combinatorics puzzle inclusion-exclusion
$endgroup$
Is there an algebraic way of showing that $$sum_m=lceil p / brceil^c left(-1right)^m fracbinombcdot mpbinombcdot cp sum_k=m^ckcdot(-1)^k binomck binomkm = ccdotleft[1 - fracbinombcdot[c - 1]pbinombcdot cpright], $$
for all positive integers $b$, $c$, $p$?
Background:
A friend sent me a puzzle, which I've solved in two different ways, and I'd like to convince myself that they're algebraically the same.
Specifically, I was asked to consider the following problem: Suppose we have 80 balls in a bowl of 8 different colours, with 10 of each colour. If we draw 15 of them without replacement, how many colours would we expect to see?
Method 1:
We can find the expected number of colours as the weighted average of the possible number of colours, with the weights being the probabilities: $bark = sum_k k cdot P_k$. To do this we need to calculate the probabilities of seeing exactly $k$ colours for all possible values of $k$.
The probability of using just one colour is 0, as $15 > 10$.
The probability of using exactly two colours is $binom82 cdot fracbinom2015binom8015$.
The probability of using exactly at most three colours is $binom83 cdot fracbinom3015binom8015$.This probability however includes some cases where we've picked only two colours. To get the probability of picking exactly three colours, we need to subtract these cases, giving: $binom83 cdot left[fracbinom3015binom8015 - binom32fracbinom2015binom8015right]$. Using the inclusion-exclusion principle, the general probability of getting exactly $k$ colours is
$$
P_k = (-1)^k fracbinom8kbinom8015 sum_m=2^kleft(-1right)^m binomkmbinom10m15
$$
The expected number of colours can then be written as
$$ beginalign
bark &= sum_k=2^8kcdot(-1)^k fracbinom8kbinom8015 sum_m=2^kleft(-1right)^m binomkmbinom10m15\
&= sum_m=2^8 left(-1right)^m fracbinom10m15binom8015 sum_k=m^8kcdot(-1)^k binom8k binomkm.
endalign $$
Method 2
Alternatively, I reasoned that for any given colour, the probability of having that colour in the draw is $P_mathrmc = 1 - fracbinom7015binom8015$. If the colour is included, it contributes 1 to the total number of colours, and if not, it contributes 0. The expected value of the number of colours is then
$$
bark = sum_mathrmcolours P_mathrmc = 8 - 8 fracbinom7015binom8015
$$
I can calculate both of these numbers, and for this particular case, they are the same.
What I'd like is to understand why they should be equal in general -- there's nothing in the derivations which limits us to 8 colours, 10 balls of each colour and 15 picks.
It's been a while since I had any combinatorics, so I'm a bit stuck
combinatorics puzzle inclusion-exclusion
combinatorics puzzle inclusion-exclusion
edited 5 hours ago
Sten
asked 8 hours ago
StenSten
5674 silver badges15 bronze badges
5674 silver badges15 bronze badges
$begingroup$
You might want to look into generating functions, which can be used to tackle problems like this generally.
$endgroup$
– YiFan
7 hours ago
$begingroup$
typo alert? i think you meant to say 8 different colors (2nd paragraph of Background section).
$endgroup$
– antkam
5 hours ago
$begingroup$
Whoops, thanks for catching that!
$endgroup$
– Sten
5 hours ago
add a comment
|
$begingroup$
You might want to look into generating functions, which can be used to tackle problems like this generally.
$endgroup$
– YiFan
7 hours ago
$begingroup$
typo alert? i think you meant to say 8 different colors (2nd paragraph of Background section).
$endgroup$
– antkam
5 hours ago
$begingroup$
Whoops, thanks for catching that!
$endgroup$
– Sten
5 hours ago
$begingroup$
You might want to look into generating functions, which can be used to tackle problems like this generally.
$endgroup$
– YiFan
7 hours ago
$begingroup$
You might want to look into generating functions, which can be used to tackle problems like this generally.
$endgroup$
– YiFan
7 hours ago
$begingroup$
typo alert? i think you meant to say 8 different colors (2nd paragraph of Background section).
$endgroup$
– antkam
5 hours ago
$begingroup$
typo alert? i think you meant to say 8 different colors (2nd paragraph of Background section).
$endgroup$
– antkam
5 hours ago
$begingroup$
Whoops, thanks for catching that!
$endgroup$
– Sten
5 hours ago
$begingroup$
Whoops, thanks for catching that!
$endgroup$
– Sten
5 hours ago
add a comment
|
1 Answer
1
active
oldest
votes
$begingroup$
We seek to show that
$$sum_m=lceil p/b rceil^c (-1)^m bmchoose p
sum_k=m^c (-1)^k k cchoose k kchoose m
= cbcchoose p - cb(c-1)choose p.$$
We have
$$cchoose k kchoose m
= fracc!(c-k)! times m! times (k-m)!
= cchoose m c-mchoose c-k$$
and we get for the LHS
$$sum_m=lceil p/b rceil^c (-1)^m bmchoose p
cchoose m
sum_k=m^c (-1)^k k c-mchoose c-k
\ = sum_m=lceil p/b rceil^c (-1)^m bmchoose p
cchoose m
sum_k=0^c-m (-1)^k+m (k+m) c-mchoose c-m-k
\ = sum_m=lceil p/b rceil^c bmchoose p
cchoose m
sum_k=0^c-m (-1)^k (k+m) c-mchoose k.$$
Now we have
$$m sum_k=0^c-m (-1)^k c-mchoose k
= m [[ c = m ]]$$
so that this becomes
$$ c bcchoose p +
sum_m=lceil p/b rceil^c bmchoose p
cchoose m
sum_k=0^c-m (-1)^k k c-mchoose k
\ = c bcchoose p +
sum_m=lceil p/b rceil^c bmchoose p
(c-m) cchoose m
sum_k=1^c-m (-1)^k c-m-1choose k-1
\ = c bcchoose p -
sum_m=lceil p/b rceil^c bmchoose p
(c-m) cchoose m
sum_k=0^c-m-1 (-1)^k c-m-1choose k.$$
Again we have
$$sum_k=0^c-m-1 (-1)^k c-m-1choose k
= [[c-1 = m]]$$
so we find
$$c bcchoose p -
b(c-1)choose p (c-(c-1)) cchoose c-1
= c bcchoose p - c b(c-1)choose p.$$
This is the claim.
$endgroup$
$begingroup$
Wow, thanks a bunch! I'd never have got there on my own.
$endgroup$
– Sten
5 hours ago
add a comment
|
Your Answer
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/4.0/"u003ecc by-sa 4.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%2f3381620%2fshowing-that-two-combinatorial-expressions-are-equal%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
$begingroup$
We seek to show that
$$sum_m=lceil p/b rceil^c (-1)^m bmchoose p
sum_k=m^c (-1)^k k cchoose k kchoose m
= cbcchoose p - cb(c-1)choose p.$$
We have
$$cchoose k kchoose m
= fracc!(c-k)! times m! times (k-m)!
= cchoose m c-mchoose c-k$$
and we get for the LHS
$$sum_m=lceil p/b rceil^c (-1)^m bmchoose p
cchoose m
sum_k=m^c (-1)^k k c-mchoose c-k
\ = sum_m=lceil p/b rceil^c (-1)^m bmchoose p
cchoose m
sum_k=0^c-m (-1)^k+m (k+m) c-mchoose c-m-k
\ = sum_m=lceil p/b rceil^c bmchoose p
cchoose m
sum_k=0^c-m (-1)^k (k+m) c-mchoose k.$$
Now we have
$$m sum_k=0^c-m (-1)^k c-mchoose k
= m [[ c = m ]]$$
so that this becomes
$$ c bcchoose p +
sum_m=lceil p/b rceil^c bmchoose p
cchoose m
sum_k=0^c-m (-1)^k k c-mchoose k
\ = c bcchoose p +
sum_m=lceil p/b rceil^c bmchoose p
(c-m) cchoose m
sum_k=1^c-m (-1)^k c-m-1choose k-1
\ = c bcchoose p -
sum_m=lceil p/b rceil^c bmchoose p
(c-m) cchoose m
sum_k=0^c-m-1 (-1)^k c-m-1choose k.$$
Again we have
$$sum_k=0^c-m-1 (-1)^k c-m-1choose k
= [[c-1 = m]]$$
so we find
$$c bcchoose p -
b(c-1)choose p (c-(c-1)) cchoose c-1
= c bcchoose p - c b(c-1)choose p.$$
This is the claim.
$endgroup$
$begingroup$
Wow, thanks a bunch! I'd never have got there on my own.
$endgroup$
– Sten
5 hours ago
add a comment
|
$begingroup$
We seek to show that
$$sum_m=lceil p/b rceil^c (-1)^m bmchoose p
sum_k=m^c (-1)^k k cchoose k kchoose m
= cbcchoose p - cb(c-1)choose p.$$
We have
$$cchoose k kchoose m
= fracc!(c-k)! times m! times (k-m)!
= cchoose m c-mchoose c-k$$
and we get for the LHS
$$sum_m=lceil p/b rceil^c (-1)^m bmchoose p
cchoose m
sum_k=m^c (-1)^k k c-mchoose c-k
\ = sum_m=lceil p/b rceil^c (-1)^m bmchoose p
cchoose m
sum_k=0^c-m (-1)^k+m (k+m) c-mchoose c-m-k
\ = sum_m=lceil p/b rceil^c bmchoose p
cchoose m
sum_k=0^c-m (-1)^k (k+m) c-mchoose k.$$
Now we have
$$m sum_k=0^c-m (-1)^k c-mchoose k
= m [[ c = m ]]$$
so that this becomes
$$ c bcchoose p +
sum_m=lceil p/b rceil^c bmchoose p
cchoose m
sum_k=0^c-m (-1)^k k c-mchoose k
\ = c bcchoose p +
sum_m=lceil p/b rceil^c bmchoose p
(c-m) cchoose m
sum_k=1^c-m (-1)^k c-m-1choose k-1
\ = c bcchoose p -
sum_m=lceil p/b rceil^c bmchoose p
(c-m) cchoose m
sum_k=0^c-m-1 (-1)^k c-m-1choose k.$$
Again we have
$$sum_k=0^c-m-1 (-1)^k c-m-1choose k
= [[c-1 = m]]$$
so we find
$$c bcchoose p -
b(c-1)choose p (c-(c-1)) cchoose c-1
= c bcchoose p - c b(c-1)choose p.$$
This is the claim.
$endgroup$
$begingroup$
Wow, thanks a bunch! I'd never have got there on my own.
$endgroup$
– Sten
5 hours ago
add a comment
|
$begingroup$
We seek to show that
$$sum_m=lceil p/b rceil^c (-1)^m bmchoose p
sum_k=m^c (-1)^k k cchoose k kchoose m
= cbcchoose p - cb(c-1)choose p.$$
We have
$$cchoose k kchoose m
= fracc!(c-k)! times m! times (k-m)!
= cchoose m c-mchoose c-k$$
and we get for the LHS
$$sum_m=lceil p/b rceil^c (-1)^m bmchoose p
cchoose m
sum_k=m^c (-1)^k k c-mchoose c-k
\ = sum_m=lceil p/b rceil^c (-1)^m bmchoose p
cchoose m
sum_k=0^c-m (-1)^k+m (k+m) c-mchoose c-m-k
\ = sum_m=lceil p/b rceil^c bmchoose p
cchoose m
sum_k=0^c-m (-1)^k (k+m) c-mchoose k.$$
Now we have
$$m sum_k=0^c-m (-1)^k c-mchoose k
= m [[ c = m ]]$$
so that this becomes
$$ c bcchoose p +
sum_m=lceil p/b rceil^c bmchoose p
cchoose m
sum_k=0^c-m (-1)^k k c-mchoose k
\ = c bcchoose p +
sum_m=lceil p/b rceil^c bmchoose p
(c-m) cchoose m
sum_k=1^c-m (-1)^k c-m-1choose k-1
\ = c bcchoose p -
sum_m=lceil p/b rceil^c bmchoose p
(c-m) cchoose m
sum_k=0^c-m-1 (-1)^k c-m-1choose k.$$
Again we have
$$sum_k=0^c-m-1 (-1)^k c-m-1choose k
= [[c-1 = m]]$$
so we find
$$c bcchoose p -
b(c-1)choose p (c-(c-1)) cchoose c-1
= c bcchoose p - c b(c-1)choose p.$$
This is the claim.
$endgroup$
We seek to show that
$$sum_m=lceil p/b rceil^c (-1)^m bmchoose p
sum_k=m^c (-1)^k k cchoose k kchoose m
= cbcchoose p - cb(c-1)choose p.$$
We have
$$cchoose k kchoose m
= fracc!(c-k)! times m! times (k-m)!
= cchoose m c-mchoose c-k$$
and we get for the LHS
$$sum_m=lceil p/b rceil^c (-1)^m bmchoose p
cchoose m
sum_k=m^c (-1)^k k c-mchoose c-k
\ = sum_m=lceil p/b rceil^c (-1)^m bmchoose p
cchoose m
sum_k=0^c-m (-1)^k+m (k+m) c-mchoose c-m-k
\ = sum_m=lceil p/b rceil^c bmchoose p
cchoose m
sum_k=0^c-m (-1)^k (k+m) c-mchoose k.$$
Now we have
$$m sum_k=0^c-m (-1)^k c-mchoose k
= m [[ c = m ]]$$
so that this becomes
$$ c bcchoose p +
sum_m=lceil p/b rceil^c bmchoose p
cchoose m
sum_k=0^c-m (-1)^k k c-mchoose k
\ = c bcchoose p +
sum_m=lceil p/b rceil^c bmchoose p
(c-m) cchoose m
sum_k=1^c-m (-1)^k c-m-1choose k-1
\ = c bcchoose p -
sum_m=lceil p/b rceil^c bmchoose p
(c-m) cchoose m
sum_k=0^c-m-1 (-1)^k c-m-1choose k.$$
Again we have
$$sum_k=0^c-m-1 (-1)^k c-m-1choose k
= [[c-1 = m]]$$
so we find
$$c bcchoose p -
b(c-1)choose p (c-(c-1)) cchoose c-1
= c bcchoose p - c b(c-1)choose p.$$
This is the claim.
answered 5 hours ago
Marko RiedelMarko Riedel
43.5k3 gold badges44 silver badges117 bronze badges
43.5k3 gold badges44 silver badges117 bronze badges
$begingroup$
Wow, thanks a bunch! I'd never have got there on my own.
$endgroup$
– Sten
5 hours ago
add a comment
|
$begingroup$
Wow, thanks a bunch! I'd never have got there on my own.
$endgroup$
– Sten
5 hours ago
$begingroup$
Wow, thanks a bunch! I'd never have got there on my own.
$endgroup$
– Sten
5 hours ago
$begingroup$
Wow, thanks a bunch! I'd never have got there on my own.
$endgroup$
– Sten
5 hours ago
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%2f3381620%2fshowing-that-two-combinatorial-expressions-are-equal%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
$begingroup$
You might want to look into generating functions, which can be used to tackle problems like this generally.
$endgroup$
– YiFan
7 hours ago
$begingroup$
typo alert? i think you meant to say 8 different colors (2nd paragraph of Background section).
$endgroup$
– antkam
5 hours ago
$begingroup$
Whoops, thanks for catching that!
$endgroup$
– Sten
5 hours ago