Problem:
Let x1β,x2β,β¦,xnβ be a sequence of integers such that
(i) β1β€xiββ€2, for i=1,2,3,β¦,n;
(ii) x1β+x2β+β―+xnβ=19; and
(iii) x12β+x22β+β―+xn2β=99.
Let m and M be the minimal and maximal possible values of x13β+x23β+β―+xn3β, respectively. Then M/m=
Answer Choices:
A. 3
B. 4
C. 5
D. 6
E. 7
Solution:
Let a,b, and c denote the number of β1's, 1's, and 2's in the sequence, respectively. We need not consider the zeros. Then a,b,c are nonnegative integers satisfying βa+b+2c=19 and a+b+4c=99. It follows that a=40βc and b=59β3c, where 0β€cβ€19 (since bβ₯0), so
x13β+x23β+β―+xn3β=βa+b+8c=19+6c.
The lower bound is achieved when c=0(a=40,b=59). The upper bound is achieved when c=19(a=21,b=2). Thus m=19 and M=133, so M/m=7.