Problem: Every roll has 4 outcomes: 1, 2, 3 and 4 There are 50% chance for 1-3 at every roll. (And that means 50% for 4) If one roll did not give 1-3 at one roll, then it is 100% chance at the roll after. (So every second roll is guaranteed to be either 1, 2 or 3) If rolled 1, 2 or 3 then there is equal chance of either 1, 2 or 3.
So: 1/6 chance of 1, 1/6 chance of 2, 1/6 chance of 3, 1/2 chance of 4, If last roll were 4 or it is the first roll.
Success: six 1's, six 2's or six 3's. So I need 6 rolls of either 1, 2 or 3.
Example: 1,4,1,2,3,4,1,1,1,1 (now there is 6 1's)
Notes: I know that after 32 rolls there are 100% chance of six rolls of either 1, 2 or 3.
Question: When do I have 80% chance of 6 rolls of either 1, 2 or 3?
Edit 1: If we ignore that I cannot roll two fours in a row then:
I could work backwards: there is 1-((1/6)^5)*(1/2)=0,9999356996 of not getting it in the first 6 rolls.
Then what about 7 rolls? There is 5/6 chance of not hitting a number that matches. (1-((1/6)^5)(1/2))(5/6)=0.8332797497
So with 9 extra rolls: (1-((1/6)^5)(1/2))(5/6)^9=0,1937942376 I hit below 20% probability of not hitting 6 equals. That is 15 rolls.
If I did consider that I could not get two fours in a row, then it would take even fewer extra rolls; Because the probability would be even better. I just dont know exactly how much.
Right?
Edit 2 I see some great answers below that I will look at soon. Here is just an idea I were thinking about.
Initially we forget the 4's. That would give:
(1-((1/3)^5)*(1/2))*(5/3)^4=0,1975308642
Meaning 6+4=10 rolls if there is never rolled a four.
If there were a 100% chance of rolling a four, but not two fours in a row; then we would just multiply with two: 20 rolls.
But now that the probability is 50%, then I must ask how many 4's is there "in between" non-four rolls after 10 rolls. Again it must be a range, so I would like to know the 80% chance again.
(1-((1/2)^8))*(1/2)^(10-8)=0,2490234375
But that does not seem right, and maybe my whole method is wrong then.
I will take a look at the others answers now :)