Prove that: $$\sum_{k=0}^n\sum_{j=0}^n\sum_{i=0}^n\binom ni\binom{n-i}j\binom{n-j}k=5^n$$
I have tried expanding the binomial coefficients as fractions of factorials. $\sum\sum\binom ni\binom{n-i}j$ gives the multinomial expansion of $3^n$ but I cannot handle the remaining term of $\binom{n-j}k$. I could not proceed further.
Btw I have checked the validity of the question by programming it.
Suppose you want to paint $n$ balls which are initially white, and you follow this procedure:
The number of ways to paint the balls like this forms the LHS. Alternatively, you could choose for each ball in turn whether to paint it red, yellow, blue or orange or leave it white – $5$ ways for each ball makes $5^n$ possibilities, the RHS. This is a combinatorial proof of the identity.