I would think this problem to be a geometric distribution. so the expected run of the first outcome would be

if it was a 1 and if it was a zero.

it would be similar for the second run. But I still have no clue on how to merge them together, considering that either a 1 or a 0 can occur.