Determine number of possible combinations.

  • Thread starter Thread starter btbam91
  • Start date Start date
  • Tags Tags
    Combinations
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
btbam91
Messages
91
Reaction score
0
Hello everybody. I have a simple combination problem.

If I am trying to generalize the number of possible combinations of a nxn block with n objects.

So let's say we have n=5.

If we have a 5x5 block (25 spaces) with 5 objects (assume objects cannot share spaces), what is the total number of combinations possible?

My first guess was 5^3 = 125, but that doesn't seem likely. I then played with the idea of holding one object static and trying to count the number of combinations of all the other objects. That didn't work. So here I am.

Thanks ahead of time for the help.
 
Physics news on Phys.org
Are the objects indistinguishable (if I flip two it counts as the same configuration)

If so, don't think of it as placing objects, think of it as picking spaces. You have 25 spaces, and you have to pick five of them to place objects. This then becomes the more general question: I have n things and I want to pick k of them, how do I do it? There's actually a function for this which is called the binomial coefficient (often read as "n choose k"). You might know it already, if not it is a good exercise to try to figure out the answer.