If a,b,c,d,.... are positive integers, whose sum is equal to n, show that the least value of |a––|b–|c–|d––...... is (|q–)p−r(|q+1––––––)r, where q is the quotient and r the remainder when n is divided by p
Open in App
Solution
Given n=pq+r
Therfore sum n is not exactly divisible by p.
For given p numbers , m are equal to q and remaining p−m are each equal to q+1.
Product of the factorials of unequal integer whose sum is constant is minimum, when they are equal or when they are consecutive that is they differ by unity.
The sum of the quantities =n
mq+(p−m)(q+1)=n
mq+pq+p−mq−m=n
pq+p−m=n or pq+r=n
p−m=r
m=p−r
Least value of \underline|a|b––|c––|d––...=(|q––|q––|q––...)m times (|q+1––––––|q+1––––––...)p−m times
Least value of \underline|a|b––|c––|d––...=|q––m|q+1––––––p−m
Least value of \underline|a|b––|c––|d––...=|q––p−r|q+1––––––r