The positive integers $a, b, $ and $c$ are such that $ a + b + c =21$.
$a = 5, b = 5, c = 11$ is a solution. $a = 5, b = 11, c = 5$ is another solution (i.e. order matters).
How many different solutions are there?
I can see a very slow way of writing each individual case out, but this is definitely not ideal... Is there a faster way?
If $a=1$ there are 19 ways to choose $b$ and then only one way to choose $c$.
If $a=2$ there are 18 ways to choose $b$ and then only one way to choose $c$.
If $a=3$ there are 17 ways to choose $b$ and then only one way to choose $c$.
This pattern clearly continues, so there are $19 + 18 + 17 + … + 1$ ways altogether. This is simply an arithmetic series with first term 19, and common difference 1, so its sum is (20 x 19)/2. Hence your answer is 190.