Combinatorics/counting: How many configurations are possible for m differenct objects in n boxes of unlimited occupany (m<n)

Hello! The question is pretty much entirely in the title. I wasn't sure if I could just use the fundmental principle of counting here with m^n, as when I look up related formulae in statistical mechanics I get a different result.
Just to be clear:
Say there are 5 distinguishable objects and 20 distinguishable boxes. I can put up to 5 objects in a box. I am interested in how many different configurations, or states, are possible under these cirumstances.
What would change if the objects were indistinguishable?

I'm interested in a little supporting justification, just so I understand the answer.  Thank you, geniuses!

Answer

Answers can only be viewed under the following conditions:
  1. The questioner was satisfied with and accepted the answer, or
  2. The answer was evaluated as being 100% correct by the judge.
View the answer
Erdos Erdos
4.7K
  • Erdos Erdos
    0

    Please leave a comment if you need any clarifications.

The answer is accepted.
Join Matchmaticians Affiliate Marketing Program to earn up to a 50% commission on every question that your affiliated users ask or answer.