Probability of getting 3 heads or more in 20 coin flips

  • Context: Undergrad 
  • Thread starter Thread starter Fady
  • Start date Start date
  • Tags Tags
    probability statistic
Click For Summary
SUMMARY

The probability of getting 3 consecutive heads or more in 20 coin flips is calculated by considering various combinations of outcomes. The total number of possible outcomes is 2^20. The approach involves summing the outcomes for different scenarios where heads appear consecutively, leading to a total of 262143 favorable outcomes, resulting in a probability of 0.25. However, this method may overlook cases where heads appear but do not meet the consecutive requirement, necessitating verification using statistical software like R or MATLAB.

PREREQUISITES
  • Understanding of basic probability concepts
  • Familiarity with combinatorial counting methods
  • Knowledge of statistical software such as R or MATLAB
  • Basic understanding of binary outcomes in probability
NEXT STEPS
  • Learn how to implement probability calculations in R
  • Explore combinatorial functions in MATLAB for similar problems
  • Study the concept of overlapping cases in probability
  • Investigate advanced probability distributions relevant to coin flipping
USEFUL FOR

Mathematicians, statisticians, students studying probability theory, and anyone interested in analyzing outcomes of random events like coin flips.

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   Reactions: Fady
You omitted all cases where early flips were heads, but not 3 consecutive.
 
  • Like
Likes   Reactions: EnumaElish and Fady

Similar threads

  • · Replies 21 ·
Replies
21
Views
3K
  • · Replies 6 ·
Replies
6
Views
748
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 57 ·
2
Replies
57
Views
6K
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 45 ·
2
Replies
45
Views
6K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 18 ·
Replies
18
Views
3K