in reply to RE: Re: New Jersey Lottery Probabilityin thread New Jersey Lottery Probability
sub p { return (map { $a ? ($a *= $_) : ($a = 1) } (($_[0] - $_[1] + 1) .. + $_[0]))[-1]; } [download]