Odd Beside Even in the Lineup

Raffle tickets numbered 11 through 100100 are laid out in a single row in a uniformly random order. Call a boundary between two neighboring tickets "mixed" if one ticket is odd and the other is even. On average, how many of the 9999 boundaries are mixed?

Answer

Free accounts unlock one worked solution a day. Pro includes every answer.