Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

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

What I'm tyring to show is the number of solutions to the equation of natural numbers;

$$ x_1 + x_2 + x_3 +\cdots + x_m = k $$ is equal to $$ \binom{m + k - 1} m $$

To be blunt, I have no idea where to start

share|cite|improve this question
up vote 2 down vote accepted

Consider a string with $k$ symbols, which you need to partitition into $m$ regions, say by inserting $m-1$ separator characters "|". That gives your total string of length $k+m-1$, of which you need to pick where the $m-1$ separators go.

the total number of ways to do that is $k+m-1\choose{m-1}$

share|cite|improve this answer
    
thanks for the quick reply. it always amazes me how i can miss things like this – user45793 Oct 23 '12 at 21:53

Your Answer

 
discard

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