Question 788401
nCr=n!/((n-r)!r!)
There are 17 jelly beans.
A.
5C4+6C4+4C4
=5+15+1
=21 ways
.
B.
(5C3+6C3+4C3)*14C1
(10+20+4)*14
34*14=476 ways
.
Ed