A fun little probability puzzle for you.

jsfiddle.net/rp6e8f7v/2/

There you go, 4 separate flips every time. I only count the heads/tails of the 4th flip, only when it was preceded by 3 heads.