Whilst any proof would be nice, I would prefer a combinatorial proof if possible. is the number of ways of placing balls (each of which can be red or green) into bins such that each bin has a maximum of balls inside, and I wonder whether it's possible to directly show that is also that number of ways.
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
Among n people, choose a team of any number of people and choose a leader among the chosen ones.
LHS: (in) indicates how many ways we can choose a team of i people from n people. We then choose one leader among these i people, so we get i(in). Summing over all i gives the LHS.
RHS: We choose the leader first; there are n ways to do this. After we choose the leader, for every remaining person, we choose whether that person goes into the team or not. There are 2n−1 ways for this, so multiplying gives the RHS.
This is...err...an intermediate double counting problem. Definitely more advanced than the usual (0n)+(1n)+…+(nn)=2n, but still pretty well-known to Olympiad students nevertheless.
Log in to reply
Thanks, but it was only the LHS I was having trouble with.
Log in to reply
The problem with double counting is that if you only get one side working, it's still possible that your approach is completely incorrect.
This is the best continuation of your attempt that I get: Instead of putting only n−1 balls, we put n balls, at least one of them is green. (Still with each box having at most one ball each.) Fix the number of green balls to be i. Now, after putting them all, pick any of the i green balls to be removed. This way, we have (in) ways to put the balls, and i ways to pick the removed ball, for a total of i(in) ways. Sum over all i to get LHS.
Log in to reply
From the binomial theorem, we know that
(0n)+(1n)x+(2n)x2+⋯+(nn)xn=(x+1)n.
If we differentiate both sides with respect to x, we get
(1n)+2(2n)x+3(3n)x2+⋯+n(nn)xn−1=n(x+1)n−1.
Now plug in x=1, and we get
(1n)+2(2n)+3(3n)+⋯+n(nn)=n2n−1.
Log in to reply
I've always felt more at home with calculus, thanks for that neat approach.
here is probably the shortest one: i=1∑ni(in)=i=1∑nn(i−1n−1)=ni=1∑n(i−1n−1)=n2n−1
Log in to reply
Well, I'd say you still need to show (in)=in(i−1n−1) first (not that obvious even though it's easy), but that doesn't add too much lines.
Log in to reply
(in)=i!(n−i)!n!=in(i−1)!(n−i)!(n−1)!=in(i−1n−1)
I quite like this one.
In your attempt, are the balls distinguished or undistinguished? Can you explain why you applied the rule of product?
If the balls are indistinguishable, then there are only n ways to color n−1 indistinguishable balls red or green.
If the balls are distinguished, then how are you accounting for the multiple of n, even with the restriction of only placing 1 ball?
Being clear with what you are counting, can tell you exactly what you are counting.
Log in to reply
"placing n−1 balls (each of which can be red or green) into n bins such that each bin has a maximum of 1 balls inside"
I believe the balls are indistinguishable, but the bins are (so that the answer n2n−1 can appear). The n most likely appears from (n−1n) on choosing the bins that receive the balls, and the 2n−1 most likely appears from 2 colors possible for the ball in each filled bin, raised to the n−1-th power because there are n−1 filled bins.
Log in to reply
Ivan's interpretation is correct. Again, it was my fault for not being clear enough.