I should preface this question by saying that I am a computer science major.(adsbygoogle = window.adsbygoogle || []).push({});

A logic question was posed in an IT class as a challenge. It is extra-curricular and pertains very little to actual subject matter. The question, I assume, was a 'satirical' reference to the pascal language, or perhaps binary code. None of us are math majors, obviously, so hence the challenge. I think our proctor was hinting that we should program a script to solve this, which i intend to do. I just need some guidance in how I find the method in which I can deduce a solution.

We were give 2 sequences of flips (HT) and asked to compare the probabilities of the sequences.I immediately thought of the pascal triangle, which i think is a step in the right direction. However, one of the sequences is repeating while the other is seemingly random:

e.g. HTHTHTHHTHTHTHTHTH

HHHHHHHHTTTTTTTTTT

My question is, do I approach this by mapping this out with pascal triangle and just taking the probability of H in each sequence, or do i need to apply another method to take into account the repeating sequence?

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Pascal: The proverbial coin toss.

Loading...

Similar Threads - Pascal proverbial coin | Date |
---|---|

I Coin toss with changing probability | Dec 17, 2016 |

I Probability of getting 3 heads or more in 20 coin flips | Jun 19, 2016 |

I How is Cantor set similar to coin tosses? | Jun 10, 2016 |

A Is this product always greater than these sums? | Mar 27, 2016 |

Pascal triangle? | Oct 27, 2011 |

**Physics Forums - The Fusion of Science and Community**