Three sons inherited 2,179 ducats from their father. The father bequeathed the older brother 2 times more money than the younger one. At the same time, the middle brother should receive more than the younger one, but less than the older one. How many ways are there to fulfill the will of the father, if each son must receive a whole number of ducats?