Subj : Re: combo numbering To : comp.programming From : Roger Willcocks Date : Fri Oct 07 2005 10:25 am wrote in message news:1128626578.563773.50340@g14g2000cwa.googlegroups.com... > If you have 52 cards and you choose 7, there are 133,784,560 > possibilities. > > So, let's say you have 7 playing cards. Is there an easy way to convert > these cards into a number between 0 and 133,784,559? > http://www.gnu.org/software/gsl/manual/gsl-ref_10.html .