MATLAB: Discrete math functions

#nchoosekdiscrete math

There are 52 different cards in a deck. How many different hands of 5 cards each are possible?
I tried nchoosek(52,5), but the question also mentions that every hand can be arranged 120 different ways, so I am confused.
Thank you

Best Answer

I think that is just telling you that 5!=120
nchoosek(52,5) is equal to 52!/(52-5)! 5!
so nchoosek() already accounts for that.