Respuesta :

assuming  s is the greater number  the answer is s - r - 1 integers.