I have question that I can't understand it and I don't know how should I solve it. here is the whole question:
Jack has several beautiful diamonds, each of them is unique thus precious. To keep them safe, he wants to divide and store them in different locations. First, he has bought some coffers. These boxes are identical except that their capacities (the number of the diamonds that a box can contain) may diverse. Before he puts his diamonds in, he wants to figure out how many different ways he can store these diamonds into the coffers
For example: We have 2 coffers with capacity 3, with 6 different diamonds and the answer is 10 way
First:can you tell me why the answer is 10.
Second:Is there any formula or special way to calculate this