A block is a consecutive sequence of the same digit that is not part of a longer such sequence.
a.) Determine the number of sequences of 0's and 1's of length 10 in which every block of 1's has an even length.
b.) Determine the number of sequences of 0's and 1's of length 10 in which every block of 1's has an odd length.