One way to generate a sequence of heads and tails is to start with either heads or tails, then randomly choose how many of those to use before switching to the other. You're sampling the length of runs. e.g. Heads, then choosing 12113 would translate to HTTHTHHH.
It feels easier to ditch some of my biases generating a sequence this way.
It feels easier to ditch some of my biases generating a sequence this way.