Source: https://www.studyrama.com/IMG/pdf/mathematiques_toutes_series_probabilites_discretes_cours.pdf