Number of possible unique outcomes help - Binomial

  • Thread starter beadmaster
  • Start date

My question is based around the idea about calculating the number of possible outcomes when a given number of variables are chosen randomly (all with equal probability of being picked) a given number of times. Most importantly, I an specifically working so that order is redundant. ie AAB = ABA = BAA and would therefore only count those 3 possibilities as one possible "unique" outcome.

I'm aware that if for example AB is not equal to BA in the context of this question then the number of possible outcomes would just be:

(number of variables)^(number of states or "picks")

Example: for 3 variables ABC and 3 Picks


out of all 27 possible combinations, there are only 10 unique ones

From observation and a little work I managed to get the formula:

f(v,p) = [v(v+1)(v+2)...(v+p-1)]/(p!)

where: v= number of variables
p= number of picks

and it works, but interestingly (to me at least) was that the answer could be taken directly from pascals triangle.

by p= p'th row on pascals traingle (taking top row = 0)
v= v'th value on the diagnal from either side


I know a bit about binomial theorem, possible outcomes, "nCr" etc but could someone quickly give me a direction/link from the derived formula and pascal/binomial theorem..

Many Thanks
Last edited by a moderator:

Want to reply to this thread?

"Number of possible unique outcomes help - Binomial" You must log in or register to reply here.

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving

Hot Threads