A farmer divides his herd of n cows among his four sons so that one son gets one - half the herd, the second, one-fourth , the third son, one-fitth and the fouth, 7 cows , then n is
n2+n4+n5+7=n
or n−n2−n4−n5=7
or 20n−10n−5n−4n20=71
or n20=71
or n=20×7=140