cailj: (Default)
[personal profile] cailj
Okay, math geeks, I have a question.

You have a certain number of numbers, X. How many unique sets of Y numbers can be created out of X? i.e., how many unique combinations of 5 numbers can be made if you have 25 numbers?

Or, to put it in more interesting terms, if you have 40 numbers, how many tickets must you buy in order to guarantee a win of all 6 numbers in a lottery? I remember there was a formula for this when I was in stats, but I don't remember what it was.

Date: 2003-07-30 08:30 am (UTC)
From: [identity profile] steam.livejournal.com
okay, it's been a Long Time since I knew this well, but:

If there are N balls and you're picking P of them:

n!/p!(n-p)!

so:

40! / (6! * (40-6)!)

And I don't have a convenient way to do factorials here, so I leave it up to you to simplify.

I know for 49 ball lotto, it's about 14,000,000 combinations. so the odds are 1:14000000 for a single ticket to win.

Profile

cailj: (Default)
cailj

February 2006

S M T W T F S
   1234
567891011
12131415161718
1920 2122232425
262728    

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 12th, 2026 11:48 pm
Powered by Dreamwidth Studios