The function divides n by d and returns array, with the first element being [n / d] (the integer result of the division) and the second being (n - [n / d] * d) (the remainder of the division).
gmp_div_qr() divise n par d et retourne un tableau, dont le premier élément est [n / d] (le quotient entier de la division) et le second est (n - [n / d] * d) (le reste).