## I cant manage to solve this

For the discussion of math. Duh.

Moderators: gmalivuk, Moderators General, Prelates

Helldrake
Posts: 18
Joined: Fri Mar 26, 2010 4:20 am UTC

### I cant manage to solve this

I know this is a really really lame problem, but somehow the solution is escaping me.

here it is:

By throwing 100 times a 1000-sided (from 000 to 999) dice... what is the probability of getting at least one triple number (000,111,222,333,444,etc).

(first post btw...yay!)

afk2011
Posts: 49
Joined: Thu Jan 07, 2010 2:08 am UTC

### Re: I cant manage to solve this

The probability of getting at least one triple number in 1000 throws is
1 - Q

Where Q is the probability of NOT getting a triple number at all in any throws. This should be enough to help you, since the probability of getting or not getting a triple number on a single throw is pretty trivial.

joshz
Posts: 1466
Joined: Tue Nov 11, 2008 2:51 am UTC
Location: Pittsburgh, PA

### Re: I cant manage to solve this

How many different ways can you get a triple number?
What's the probability of that happening one one specific throw?
How do you combine probabilities of independent events?
You, sir, name? wrote:If you have over 26 levels of nesting, you've got bigger problems ... than variable naming.
suffer-cait wrote:it might also be interesting to note here that i don't like 5 fingers. they feel too bulky.

Helldrake
Posts: 18
Joined: Fri Mar 26, 2010 4:20 am UTC

### Re: I cant manage to solve this

is it 1-((1/100)^100)?

Kurushimi
Posts: 841
Joined: Thu Oct 02, 2008 12:06 am UTC

### Re: I cant manage to solve this

No. That would be the probability of not getting a triple 100 times in a row.

joshz
Posts: 1466
Joined: Tue Nov 11, 2008 2:51 am UTC
Location: Pittsburgh, PA

### Re: I cant manage to solve this

That's not what I get.
Instead of using the 1- (it's generally useful, but unnecessary in this case), look at what I posted above.
You, sir, name? wrote:If you have over 26 levels of nesting, you've got bigger problems ... than variable naming.
suffer-cait wrote:it might also be interesting to note here that i don't like 5 fingers. they feel too bulky.

Qaanol
The Cheshirest Catamount
Posts: 3069
Joined: Sat May 09, 2009 11:55 pm UTC

### Re: I cant manage to solve this

If there’s more than one way to do a job, then any particular one of them is not “necessary”, but it is quite possible that one could be simpler than the rest. In this case, I believe it is easiest to find the probability of the describe outcome not occurring, and subtract that from 1, as afk2011 describes.
wee free kings

Helldrake
Posts: 18
Joined: Fri Mar 26, 2010 4:20 am UTC

### Re: I cant manage to solve this

i never studied probability (i'll start this year). I dont know how to combine probabilities of independant events.

what do you get joshz?

PM 2Ring
Posts: 3713
Joined: Mon Jan 26, 2009 3:19 pm UTC
Location: Sydney, Australia

### Re: I cant manage to solve this

Helldrake wrote:i never studied probability (i'll start this year). I dont know how to combine probabilities of independant events.

what do you get joshz?

Ok. So I guess this isn't homework. Hence the usual rule about not doing people's homework for them doesn't apply. But we'd still prefer to give you hints so you can discover the answer for yourself.

What answers do you have for the other two questions joshz asked?

As for combining the probabilities of independant events, think about a regular 6 sided dice & a coin. If you toss the dice & the coin (once), what's the probability of getting 1 on the dice and heads on the coin?

Helldrake
Posts: 18
Joined: Fri Mar 26, 2010 4:20 am UTC

### Re: I cant manage to solve this

How many different ways can you get a triple number? 10

What's the probability of that happening one one specific throw? 1/100

PM 2Ring wrote:
Helldrake wrote:i never studied probability (i'll start this year). I dont know how to combine probabilities of independant events.

what do you get joshz?

Ok. So I guess this isn't homework. Hence the usual rule about not doing people's homework for them doesn't apply. But we'd still prefer to give you hints so you can discover the answer for yourself.

What answers do you have for the other two questions joshz asked?

As for combining the probabilities of independant events, think about a regular 6 sided dice & a coin. If you toss the dice & the coin (once), what's the probability of getting 1 on the dice and heads on the coin?

How many different ways can you get a triple number? 10

What's the probability of that happening one one specific throw? 1/100

And the coin and the dice is 1/12 so i guess the formula is (1/6 x 1/2) but this leads me to the same solution... ((1/100)^100) unless there's something im missing

PM 2Ring
Posts: 3713
Joined: Mon Jan 26, 2009 3:19 pm UTC
Location: Sydney, Australia

### Re: I cant manage to solve this

Helldrake wrote:
PM 2Ring wrote:What answers do you have for the other two questions joshz asked?

As for combining the probabilities of independant events, think about a regular 6 sided dice & a coin. If you toss the dice & the coin (once), what's the probability of getting 1 on the dice and heads on the coin?

How many different ways can you get a triple number? 10

Correct.

What's the probability of that happening one one specific throw? 1/100

Correct.

And the coin and the dice is 1/12 so i guess the formula is (1/6 x 1/2)

Correct.

but this leads me to the same solution... ((1/100)^100) unless there's something im missing

No, (1/100)^100 is the probability of rolling the 1000-sided dice 100 times and getting a triple on every roll. And (1 - 1/100) is the probability of not getting a triple on a single roll.

Spoiler:
(1 - 1/100)^100 is the probability of not getting a triple in any of 100 rolls, so 1 - (1 - 1/100)^100 is the probability of getting at least one triple in 100 rolls.
1 - (1 - 1/100)^100 ~= .63396765872677

Helldrake
Posts: 18
Joined: Fri Mar 26, 2010 4:20 am UTC

### Re: I cant manage to solve this

I had to look at the spoiler, but i understood perfectly once i saw the answer. thanks a lot.

Btw, i wouldnt have asked if it was homework...

joshz
Posts: 1466
Joined: Tue Nov 11, 2008 2:51 am UTC
Location: Pittsburgh, PA

### Re: I cant manage to solve this

Or, what I did: (1/10)^100 (1/10 probability of getting a triple, then 100 rolls)

EDIT: that's wrong. I thought you meant all triples. It'd be 100(1/10) probability, I think. 1/10 prob. of getting it each roll and 100 rolls. But that's greater than 1, so it's probably wrong.

EDIT 2: oops. 1/100 probability, not 1/10. I blame the lack of sleep.
You, sir, name? wrote:If you have over 26 levels of nesting, you've got bigger problems ... than variable naming.
suffer-cait wrote:it might also be interesting to note here that i don't like 5 fingers. they feel too bulky.

### Who is online

Users browsing this forum: No registered users and 5 guests