{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}”No results found for “{{searchWords}}”× back to contents
Positive integers $a<b<c<d$ are chosen so that the system $3x+y=2025$, $y=|x-a|+|x-b|+|x-c|+|x-d|$ has exactly one solution. What is the minimum value of $d$?
Let $h(x)=|x-a|+|x-b|+|x-c|+|x-d|+3x-2025$. Its slopes are $-1,1,3,5,7$ from left to right, so $h$ is smallest at $x=a$ and the system has exactly one solution when $h(a)=0$.
$h(a)=(b-a)+(c-a)+(d-a)+3a-2025=b+c+d-2025$, so $b+c+d=2025$.
With $b<c<d$, the least $d$ is $676$ ($674+675+676=2025$, $a=1$). The answer is $\boxed{676}$.