I Probability of getting 3 heads or more in 20 coin flips

AI Thread Summary
The discussion focuses on calculating the probability of getting three consecutive heads in 20 coin flips. The user proposes an approach by considering various scenarios where three heads occur at different positions, leading to the calculation of outcomes as 2^17 + 2^16 + ... + 2^0, totaling 262,143. However, it is noted that this method may overlook cases where earlier flips result in heads without forming three consecutive heads. The user is encouraged to verify the calculations using R software or MATLAB for more accurate results. Overall, the probability is suggested to be around 0.25, but further clarification on overlapping cases is needed.
Fady
Messages
1
Reaction score
0
hey folks,

My question is how to find probability of getting 3 CONSECUTIVE heads or more in 20 coin flips, what are the odds

I have an approach which I need to verify and please clarify in case of missing points.

No. of possible outcomes = 2 ^ 20

first I assume that first 3 outcomes are heads , all other 17 combinations of coins are to be counted, so there are 2 ^ 17 .
then I assume first outcome is tail, and 2nd,3rd,4th outcomes are heads, all other 16 combinations of coins are to be counted , so there are 2^16
then I assume first outcome AND second outcome both are tail, and 3rd,4th,5th outcomes are heads , other 15 combinations are 2^15
then I assume first outcome , second outcome AND third outcome all are tail, and 4th,5th,6th outcomes are heads , other 14 combinations are 2^14

and so on until
1st to 17th outcome are all tail , and 18th,19th,20th are heads, possibility is 2^0 which is 1

so the answer is 2^17 + 2^16 + 2^15 + ... 2^0 which gives 262143 , with a probability of 0.25

are there any misleading overlapping cases?

and please check R software or MATLAB or others to get the exact answer
 
Last edited:
Physics news on Phys.org
Fady said:
hey folks, ...
and please check R software or MATLAB or others to get the exact answer
You can go to wolframalpha.com and check it yourself.
 
  • Like
Likes Fady
You omitted all cases where early flips were heads, but not 3 consecutive.
 
  • Like
Likes EnumaElish and Fady
I was reading documentation about the soundness and completeness of logic formal systems. Consider the following $$\vdash_S \phi$$ where ##S## is the proof-system making part the formal system and ##\phi## is a wff (well formed formula) of the formal language. Note the blank on left of the turnstile symbol ##\vdash_S##, as far as I can tell it actually represents the empty set. So what does it mean ? I guess it actually means ##\phi## is a theorem of the formal system, i.e. there is a...

Similar threads

Back
Top