CombinatoricsDifficulty 5.4AIME, harderFind the answer
5. Let the sequence of natural numbers from 1∼8 be a1,a2, ⋯,a8. Then ∣a1−a2∣+∣a2−a3∣+∣a3−a4∣+∣a4−a5∣′+∣a5−a6∣+∣a6−a7∣+∣a7−a8∣+∣a8−a1∣′
The maximum value is
A number or a short expression. Spacing and $ signs are ignored.
Solution
5. 32 .
From the problem, we have S=∣a1−a2∣+∣a2−a3∣+∣a3−a4∣+∣a4−a5∣+∣a5−a6∣+∣a6−a7∣+∣a7−a8∣+∣a8−a1∣.
Removing the absolute value signs in any term of this sum, we get one positive and one negative natural number. To achieve the maximum possible value of the sum, we need to take the numbers from 1 to 4 as negative and the numbers from 5 to 8 as positive. Thus, S=2[(8+7+6+5)−(4+3+2+1)]=32. For example, ∣8−4∣+∣4−7∣+∣7−1∣+∣1−5∣+∣5−2∣+∣2−6∣+∣6−3∣+∣3−8∣=32.
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: NuminaMath-1.5,
licensed Apache-2.0.
Statement and solution reproduced as published; topic and difficulty added by this site.