Sum[|x-k|,{k,1,50}]