Chapter 3. Discrete random variables