We define

  1. to be a Random variable following a Binomial Distribution.
  2. , i.e. the probability of being even.

Then . This is a Linear Difference Equation, which has general solution . Since , we get . Matching coefficients we get:

Hence