6 out of 40 if they must be picked in order drawn(if number drawn is removed) 40*39*38*36*35*34 else if not removed 40*40*40*40*40*40
any 6 out of 40(removed) 40*39*38*36*35*34 ----------------- 6*5*4*3*2*1 6 out of 40(removed) with 25 powerballs 40*39*38*36*35*34 ----------------- *25 6*5*4*3*2*1 so what you have in one form or another n! ---- *Pb n! (n-k)! On Thu, 4 Sep 2003 19:54:41 -0400 - Kurt Wall <[EMAIL PROTECTED]> wrote the following Re: Re: OT Test[ing again] - No need to reply >Quoth Klaus-Peter Schrage: >> Tom Wilson wrote: >> > >> >Here in America, many states have what they call a Lotto. What happens >> >is you go to a local convenience store and purchase a Lotto ticket for a >> >US $1 a ticket. They usually have 6 numbers on them from 1 to 40 or >> >so. Then once a week they draw numbers out of a contraption that has a >> >bunch of numbered ping pong balls in it and you hope that the six you >> >picked (or had randomly generated) on your ticket are the same six that >> >pop up out of the ball machine. Is so you win the jackpot of generally >> >some tens to hundreds of millions of dollars. >> > >> >Most people don't win. Thus you have to pretty lucky if you do. >> > >> The chances of winning aren't that bad: 1:3838380 > >Mm, my statistics is a little rusty, but wouldn't the chances be rather >worse? Order matters, so we want permutations, not combinations. So, > >40_P_6 = 40!/(40 - 6)! = 40!/34! = 2,763,633,000 >40_C_6 = 40!/(6! * (40 - 6)!) = 40!/(6! * 34!) = 3,838,380 > >Kurt >-- >Experience is the worst teacher. It always gives the test first and >the instruction afterward. >_______________________________________________ >Linux-users mailing list >[EMAIL PROTECTED] >Unsubscribe/Suspend/Etc -> >http://www.linux-sxs.org/mailman/listinfo/linux-users _______________________________________________ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users
