It's Alice's birthday and she invites 9 of her best friends over for her birthday party. Alice and her friends are all having a great time when Alice's dad brings out a tray of cupcakes. There are 10 cupcakes on the tray, one for each kid at the party. Everyone lines up anxiously awaiting to get a cupcake, and one by one each kid takes a cupcake from the tray.
Unfortunately, some of Alice's friends are greedy! They take more than their fair share of cupcakes, and Alice, who's last in line, doesn't get one! How many ways could this have happened? In other words, how many ways could we arrange 9 numbers such that their sum is 10?
Details and Assumptions
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
We simply need to find the number of non-negative integral solutions of
x 1 + x 2 + x 3 + x 4 + x 5 + x 6 + x 7 + x 8 + x 9 = 1 0
which has ( 1 0 1 8 ) = 4 3 7 5 8 solutions