https://www.mathsisfun.com/combinatoric ... tions.html
You need C(n,r) = n!/r!/(n-r)!
if you had 48? cards in a deck it will be C(48,5) = 48*47*46*45*44/5! = 1712304
for 50 unknown cards it will be C(50,5) = 2118760
Quote:
But I can only find 15180 when trying to find then in nested for loops.
Show your loops, there is some mistake here i think.Statistics: Posted by nefton — Tue May 16, 2017 6:44 am
]]>