So a random piece of information in a video I watched ages ago popped in my head tonight and I started thinking about it. I believe I am remembering this video properly...
They flipped a coin 100 times you saw the ratio of head and tails to be 50/50. They created a diagram of all the flips. There was a lot of flip-flopping between heads and tail. There were even some strings of 4 or 5 heads/tails in a row. At one point in the chart there were 7 heads in a row. They said in a sample this size, that was expected.
That is where my question is, is there a mathematical formula or something that allows us to compute, in a sample size of 100, where the outcome can go 50% one way or the other, the probability of getting 7 of one outcome in a row?