Binomial Question I think

  • Thread starter FAhmad
  • Start date
  • Tags
    Binomial
  • #1
1
0
If we have numbers 1,2,3,4,5,6,7,8,9,10,11.

We want to pick 5 numbers out of that, but there is a restriction - the summation of the 5 picked numbers must be 21 or less.

How many different combinations can we get?

The answer is 24 but I would like to know how to work it out (besides the impractical way of listing down all the possibilities in this case there are 462 different combinations, and testing one by one so that it is 21 or less)
 
Physics news on Phys.org
  • #2
You can use generating functions. Just count all the possibilities with an unrestricted number of draws and unrestricted summation with a weight of x^(#numbers drawn) y^(value of the summation of numbers).
 

Suggested for: Binomial Question I think

Replies
15
Views
387
Replies
16
Views
821
Replies
2
Views
759
Replies
1
Views
721
Replies
4
Views
1K
Replies
8
Views
1K
Replies
5
Views
917
Replies
15
Views
1K
Replies
13
Views
1K
Back
Top