Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using the following equation:

$$\sum_{k=0}^n {n \choose k}3^k=4^n$$

I need to prove that both sides of the equation solve the same combinatorial problem.

It's easy to see that the right side of the equation is counting number of ways to divide $n$ different balls into $4$ buckets.

Is it correct to say that the left side of the equation solve the same problem the following way (?):

Since $\sum\limits_{k=0}^n {n \choose k} 3^k= \sum\limits_{k=0}^n {n \choose n-k}3^k$, we can change the equation to:

$$\sum_{k=0}^n {n \choose n-k}3^k=4^n$$

And from the new equation, it is easier to see that each binomial coefficient chooses number of balls to put in the first bucket, and $3^k$ divides the rest $k$ balls between the rest 3 buckets without limitation.

share|cite|improve this question
I assume you don't want this: $\sum_{k=1}^n {n \choose k}3^k= \sum_{k=1}^n {n \choose k} 1^{n-k} 3^k=(1+3)^n = 4^n$... – lhf Sep 23 '11 at 11:33
Thanks @lhf, but no, i'm just looking for Combinatorical explanation. – MichaelS Sep 23 '11 at 11:35
@MichaelS: Your combinatorial argument is simple and correct. – Christian Blatter Sep 23 '11 at 11:49
@ChristianBlatter, Thanks! Happy to see i got it right.. – MichaelS Sep 23 '11 at 12:13
Everything is fine. For myself, I prefer to count the words of length $n$ over the alphabet $\{1,2,3,4\}$. Same analysis. – André Nicolas Sep 23 '11 at 14:24
up vote 10 down vote accepted

Yes, I agree with your interpretation of the left side, and also lhf's comment can be seen in the same way:

  1. $4^n$ the ways of divide $n$ balls in $4$ boxes
  2. $(3+1)^n$ the same as above
  3. $ \sum_{k=0}^n {n \choose k} 1^{n-k} 3^k$ for every $k$, the ways to choose $k$ balls among the $n$ balls you have, times the ways to put $n-k$ balls in a box, times the ways to put the remaining $k$ balls in the remaining $3$ boxes
  4. $\sum_{k=0}^n {n \choose k}3^k$ as above, using $1^{n-k}=1$
share|cite|improve this answer
Thanks! Happy to see i got it right :) – MichaelS Sep 23 '11 at 12:12
The result you are trying to prove is not correct and the interpretation you give is flawed. – Dilip Sarwate Sep 23 '11 at 12:13
Emanuele, I've wrote in the question k=1 instead of k=0, please edit your answer, so the proof won't be wrong. I've already edited the question to k=0. – MichaelS Sep 23 '11 at 12:19
Sorry. I just copied lhf's identity because too lazy, didn't note that typos. I assume @Dilip was referring to that. – Immanuel Weihnacht Sep 23 '11 at 12:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.