Source: https://www.math.univ-toulouse.fr/~lassere/pdf/dirichlet.pdf