If 1⋅1987+2⋅1986+3⋅1985+⋯+1986⋅2+1987⋅1=1987⋅994⋅x,compute the integer x.
Solution — click to reveal
We can represent the sum as n=1∑1987n(1988−n).This is equal to n=1∑1987(1988n−n2)=1988n=1∑1987n−n=1∑1987n2=1988⋅21987⋅1988−61987⋅1988⋅3975=61987⋅1988(3⋅1988−3975)=61987⋅2⋅994⋅1989=31987⋅994⋅1989=1987⋅994⋅663.Thus, x=663.