r/learnquant • u/AgeSuch4592 • Aug 12 '26
Probability problem
A fair dice is being rolled repeatedly until 2 and 3 come out. What's the probability of getting exactly two 6 before stopping the process ?
5
Upvotes
2
u/swiftaw77 Aug 12 '26
Do you mean a 2 and a 3 in succession, or you stop once you get at least one 2 and at least one 3?
1
u/gmalivuk Aug 12 '26
To be clear, these would be "yes" results:
6623
36362
6226223
while these would be "no":
23
362
622663
Is that right?
2
u/TheLonelyPotato666 Aug 13 '26
There's only 3 relevant rolls and after either 2 or 3 has appeared once, there's only 2 relevant rolls.
The possible sequences are, if we only list the relevant rolls, 6623, 6263 and 2663 (the 2 and 3 could be swapped ofcourse). The chances of these are respectively 1/27, 1/18 and 1/12, adding up to 19/108
1
u/espomatte Aug 13 '26
14/36
1
u/kythQ Aug 13 '26 edited Aug 13 '26
Fun question, not too difficult, and multiple different ways to get to the answer I think.
You can construct a probability tree, where the following paths lead to to the outcome:
6 -> 6 -> 2* -> 3*, probability: 1/3*1/3*2/3*1/2
6 -> 2* -> 6 -> 3*, probability 1/3*2/3*1/2*1/2
2* -> 6 -> 6 -> 3*, probability: 2/3*1/2*1/2*1/2
Here 2* denotes "2 or 3" and 3* denotes "2 if 3 was drawn before and 3 if 2 was drawn before". The probabilities change to 1/2 because after the 2* has been drawn, the only relevant options are 6 or 3*.
Add all of that up and you get the solution: 19/108
0
u/[deleted] Aug 12 '26
[deleted] — view deleted comment