Consider an arbitrary arrangement of the brackets. Numbers 2010 and 2009 always have signs '+' and '-', respectively, that's why the sum reaches the maximum value when the other terms will have '+' sign.
In the expression 2010 numbers2010−2009−2010−2009−2010−2009−⋯−2010−2009 there are somehow placed brackets and the value is calculated. Find the maximum value that can be reached. Justify your answer.
Notice. Left bracket can be placed only before a number and right - only after. For example, expressions −2010(−2009−2010) and −(2010−2009−)2010 are incorrect.
Solution. Consider an arbitrary arrangement of the brackets. The first numbers 2010 and 2009 always have signs '+' and '-', respectively, that's why the sum reaches the maximum value when other terms will have '+' signs. We can achieve this as it was made in the answer. Calculating maximum value: 2010 numbers2010−(2009−2010−2009−2010−2009−⋯−2010−2009)==2010−2009+2008 numbers2010+2009+2010+2009+⋯+2010+2009==1+(2010+2009)⋅1004=4035077.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.
Source: MathNet,
licensed CC-BY-4.0.
Statement reproduced verbatim; metadata (topic, difficulty) added by this project.