What is the expected number of flips to observe the first 5 flips pattern again?

  • Thread starter Thread starter mmehdi
  • Start date Start date
mmehdi
Messages
6
Reaction score
0
A coin having probability p of landing heads is flipped 5 times and then flipped utill the pattern of the first 5 flips is observed again for the first time, including the possiblity of using some of the first flips. If we want to find the expected number of flips of coins.(The lead is that: The expected number of additional flips after the five flips shall give us the answer)

...I have kind of tried to do it a couple of ways, but a solution which holds for all combination of five flips seems is proving to be too confounding.
 
Physics news on Phys.org
Eek, where did this problem come from? The only method I see for solving it is setting up a giant linear difference equation for some auxiliary probabilities, thus allowing me to use a computer algebra package to solve the system and manipulate it to get the answer you want.
 
After the first five flips, every single flip shall lead to a new sequence of five flips. So the probability that the sequence shall terminate is whether every flip is such that it regenerates the earlier sequence. So I wonder if it could be turned into a burnoulli trial, or the expectation of an indicator function variable.

I have an intuitive feeling that this should have a rather straight forward close form solution.
 
Expected Number of flips

In order for the sequence to terminate on the sixth flip. The first five will have to be all heads or all tails. Meaning all the flips should be equal to the first flip. For the sequence to terminate in 7 flips the sequence should be (12121). Third flip equal to first flip, fourth equal to 2nd, fifth equal to 3rd, sixth equal to 4th and seventh equal to 5th.

For the sequence to terminate on the 8th flip the sequence will have to be (12312), 9 th flip (12341), and tenth flip (12345).
 
The problem came in an old exam, three years ago. One of the way to do it, is E[X]=P[X>1]+P[X>2]+P[X>3]...

Where P[X>1]= P[1-P[X=1]. Where P[X=1] which means termination at one additional flip is p^6(1-p)^6. I am just having trouble in extending it to infinite series
 
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Back
Top