Source: https://hebergement.universite-paris-saclay.fr/mkowalski/doc/L3_DLMP_Random.pdf