MathDB
Paraguayan National Olympiad 2008, Level 3, Problem 2

Source:

August 31, 2014
conicsparabolaabsolute value

Problem Statement

Find for which values of nn, an integer larger than 11 but smaller than 100100, the following expression has its minimum value:
S=n1+n2++n100S = |n-1| + |n-2| + \ldots + |n-100|