Maximum Neighbouring Sums

The vertices of a regular 10-gon are labeled V 1 , V 2 , V n V_1, V_2, \ldots V_n , which is a permutation of { 1 , 2 , , 10 } \{ 1, 2, \ldots, 10\} . Define a neighboring sum to be the sum of 3 consecutive vertices V i , V i + 1 V_i, V_{i+1} and V i + 2 V_{i+2} [where V 11 = V 1 , V 12 = V 2 V_{11}=V_1, V_{12}=V_2 ]. For each permutation σ \sigma , let N σ N_\sigma denote the maximum neighboring sum. As σ \sigma ranges over all permutations, what is the minimum value of N σ N_\sigma ?

Details and assumptions

If the integers are written as 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 around the circle, then the neighboring sums are 6 , 9 , 12 , 15 , 6, 9, 12, 15, 18 , 21 , 24 , 18, 21, 24, 27 , 20 , 13 27, 20, 13 , and the maximum neighboring sum is 27.


The answer is 18.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

3 solutions

Gabriel Wong
May 20, 2014

WLOG let V 1 = 1 V_1 = 1 . Observe that the 3 neighbouring sums ( V 2 + V 3 + V 4 ) , ( V 5 + V 6 + V 7 ) , ( V 8 + V 9 + V 10 ) (V_2+V_3+V_4), (V_5+V_6+V_7), (V_8+V_9+V_{10}) sum to 55 V 1 = 54 55 - V_1 = 54 . Thus by pigeonhole principle, at least one is larger than or equal to 54 / 3 = 18 54/3 = 18 .

We now only need to construct s.t. the maximum sum is 18. Arrange as follows:

1 , 7 , 3 , 8 , 5 , 4 , 9 , 2 , 6 , 10. 1,7,3,8,5,4,9,2,6,10.

The resulting neighbouring sums are:

11 , 18 , 16 , 17 , 18 , 15 , 17 , 18 , 17 , 18. 11,18,16,17,18,15,17,18,17,18.

Hence, we see that 18 is indeed the minimum value.

Common mistakes:

  1. Need to show that minimum value is 18, instead of saying that "I can't do 17".

  2. Need to show that 18 can be achieved.

Note: Students who used the pigeonhole principle on all of the neighboring sums, found that they can only conclude that the minimum value is 55 × 3 10 = 17 \lfloor \frac { 55 \times 3 } { 10} \rfloor = 17 . By removing the most useless information (namely V 1 = 1 V_1 = 1 ), we can improve the bound.

Calvin Lin Staff - 7 years ago

For all i i , we define f ( i ) = V i 1 + V i + V i + 1 f(i)= V_{i-1} + V_i + V_{i+1} , where the indices are read modulo 10 10 . Note that for all σ \sigma , we have i = 1 10 f ( i ) = 3 ( 1 + 2 + + 10 ) = 165 \displaystyle \sum \limits_{i=1}^{10} f(i)= 3 \left( 1 + 2 + \cdots + 10 \right) = 165 , since each of the numbers must appear thrice in the sum. It follows that max ( f ( i ) ) 165 10 = 16.5 \max \left( f(i) \right ) \geq \dfrac{165}{10} = 16.5 , i.e. max ( f ( i ) ) 17 \max \left( f(i) \right) \geq 17 .

Before we proceed, we prove the following claim.

Claim: i , f ( i + 1 ) f ( i ) \forall \ i, f(i+1) \neq f(i)

Proof: On the contrary, assume there exists an i i such that f ( i + 1 ) = f ( i ) f(i+1)= f(i) . This is equivalent to V i + V i + 1 + V i + 2 = V i 1 + V i + V i + 1 V_i + V_{i+1} + V_{i+2} = V_{i-1} + V_i + V_{i+1} , which in turn implies V i + 2 = V i 1 V_{i+2}= V_{i-1} , which is a contradiction since all V i V_i 's are distinct. \blacksquare

Now, suppose there exists a permutation σ \sigma for which max ( f ( i ) ) = 17 \max \left( f(i) \right) = 17 . Note that more than 5 5 f ( i ) f(i) 's cannot be 17 17 , since otherwise there would exist an i i such that f ( i ) = f ( i + 1 ) f(i)= f(i+1) . If less than 5 5 f ( i ) f(i) 's are equal to 17 17 , we have i = 1 9 f ( i ) 4 × 17 + 6 × 16 < 165 \displaystyle \sum \limits_{i=1}^{9} f(i) \leq 4 \times 17 + 6 \times 16 < 165 , which is a contradiction. We thus conclude there exist precisely 5 5 i i 's such that f ( i ) = 17 f(i)= 17 . Let S S denote the sum of the other f ( i ) f(i) 's. Then, S + 5 × 17 = 165 S = 80. S + 5 \times 17 = 165 \implies S= 80. But since the other 5 5 f ( i ) f(i) 's are atmost 16 16 and 80 = 16 × 5 80= 16 \times 5 , all the other f ( i ) f(i) 's must be 16 16 .

By the claim, it follows that the sequence { f ( i ) } i = 1 10 \left \{ f(i) \right \} _{i=1}^{10} alternates between 16 16 and 17 17 . In other words, if f ( i ) = 17 f(i)= 17 , f ( i + 1 ) = 16 f(i+1)= 16 , and vice-versa.

Let { K 1 , K 2 , , K 6 , K 7 } \left \{ K_1, K_2, \cdots , K_6, K_7 \right \} be any seven consecutive vertices of the polygon where f ( K 1 ) = 17 f\left( K_1 \right) = 17 , so f ( K 2 ) = 16 , f ( K 3 ) = 17 , f ( K 4 ) = 16 , f ( K 5 ) = 17 , f ( K 6 ) = 16 , f ( K 7 ) = 17. f\left( K_2 \right) = 16, f \left( K_3 \right) = 17, f \left( K_4 \right)= 16, f \left( K_5 \right) = 17, f\left( K_6 \right) = 16, f \left( K_7 \right)= 17. Then, note that K 1 + K 2 + K 3 + K 4 + K 5 + K 6 = f ( K 2 ) + f ( K 3 ) = 33 K_1 + K_2 + K_3 + K_4 + K_5 + K_6 = f\left( K_2 \right) + f \left( K_3 \right) = 33 K 2 + K 3 + K 4 + K 5 + K 6 + K 7 = f ( K 3 ) + f ( K 6 ) = 33. K_2 + K_3 + K_4 + K_5 + K_6 + K_7 = f \left( K_3 \right) + f \left( K_6 \right) = 33. Combining them, we find out K 1 = K 7 K_1= K_7 , a contradiction.

The minimum potential value of max ( f ( i ) ) \max \left( f(i) \right) , thus, is 18 18 . A quick hack shows that this can indeed be attained for the permutation σ = { 1 , 6 , 8 , 4 , 3 , 10 , 5 , 2 , 9 , 7 } \sigma = \{1, 6, 8, 4, 3, 10, 5, 2, 9, 7\} . We thus conclude our desired answer is 18 \boxed{18} .

Very good! Nearly the same as my method.

Michael Tang - 7 years, 4 months ago

I like your solution very much!

Xuming Liang - 7 years, 4 months ago

Typo: K 1 + K 2 + K 3 + K 4 + K 5 + K 6 = f ( K 2 ) + f ( K 5 ) = 33. K_1+K_2+K_3+K_4+K_5+K_6 = f \left( K_2 \right) + f \left( K_5 \right) = 33.

Sreejato Bhattacharya - 7 years, 4 months ago
Choong Yin Howe
May 20, 2014

The total of all 10 neighbouring sums is always 3*(1+2+...+10) = 165, because each number is included thrice. The highest neighboring sum is therefore at most ceiling(165/10) = 17.

Place each neighbouring sum in front of the physically centre of the three numbers it contains, like this:

Numbers a m p ; a a m p ; a m p ; b a m p ; a m p ; c a m p ; a m p ; d a m p ; a m p ; Neighbouring sums a m p ; a m p ; a m p ; a + b + c a m p ; a m p ; b + c + d a m p ; a m p ; a m p ; a m p ; \begin{aligned} \text{Numbers} \qquad \qquad &amp; a &amp; &amp; b &amp; &amp; c &amp; &amp;d &amp; &amp;\ldots \\ \text{Neighbouring sums} &amp; &amp; &amp; a+b+c &amp; &amp; b+c+d &amp; &amp; &amp; &amp; \ldots\\ \end{aligned}

Suppose two adjacent neighbouring sums are equal. Then a+b+c = b+c+d; therefore, a = d. Contradiction. Therefore the assumption is false: no two neighbouring sums are equal.

Suppose the highest neighbouring sum is 17. There must be at least 5 17s among the neighbouring sums. Because no two adjacent neighbouring sums are equal, they must alternate between 17 and 16.

Numbers a m p ; a a m p ; a m p ; b a m p ; a m p ; c a m p ; a m p ; d a m p ; a m p ; e a m p ; a m p ; f a m p ; a m p ; g a m p ; a m p ; Neighbouring sums a m p ; 17 a m p ; a m p ; 16 a m p ; a m p ; 17 a m p ; a m p ; 16 a m p ; a m p ; 17 a m p ; a m p ; a m p ; a m p ; a m p ; a m p ; \begin{aligned} \text{Numbers} \qquad \qquad &amp; a &amp; &amp; b &amp; &amp; c &amp; &amp; d &amp; &amp; e &amp; &amp; f &amp; &amp; g &amp; &amp; \ldots \\ \text{Neighbouring sums} &amp;17 &amp; &amp; 16 &amp; &amp; 17 &amp; &amp; 16 &amp; &amp; 17 &amp; &amp; &amp; &amp; &amp; &amp; \ldots \\ \end{aligned} Then a + b + c + d + e + f = 17 + 16 = 33, and b + c + d + e + f + g = 16 + 17 = 33; therefore, a - g = 33 - 33 = 0, therefore a = g. Contradiction. Therefore, the assumption is false: the highest neighbouring sum cannot be 17.

The highest neighbouring sum can be 18, as shown here:

Numbers a m p ; 10 a m p ; a m p ; 5 a m p ; a m p ; 2 a m p ; a m p ; 9 a m p ; a m p ; 7 a m p ; a m p ; 1 a m p ; a m p ; 6 a m p ; a m p ; 8 a m p ; a m p ; 4 a m p ; a m p ; 3 N’g sums a m p ; 18 a m p ; a m p ; 17 a m p ; a m p ; 16 a m p ; a m p ; 18 a m p ; a m p ; 17 a m p ; a m p ; 14 a m p ; a m p ; 15 a m p ; a m p ; 18 a m p ; a m p ; 15 a m p ; a m p ; 17 \begin{aligned} \text{Numbers} \qquad &amp; 10 &amp; &amp; 5 &amp; &amp; 2 &amp; &amp; 9 &amp; &amp; 7 &amp; &amp; 1 &amp; &amp; 6 &amp; &amp; 8 &amp; &amp; 4 &amp; &amp; 3\\ \text{N'g sums} \qquad &amp; 18 &amp; &amp; 17 &amp; &amp; 16 &amp; &amp; 18 &amp; &amp; 17 &amp; &amp; 14 &amp; &amp; 15 &amp; &amp; 18 &amp; &amp; 15 &amp; &amp; 17\\ \end{aligned}

Therefore, the answer is 18.

[Calvin - Slight edits to align the 'diagrams' as per latter posts]

Comments and replies:

Calvin:

Can you clarify why "Because no two adjacent neighbouring sums are equal, they must alternate between 17 and 16."? Why can't the neighboring sums be 17 15 17 16? This would avoid the issue raised in the next paragraph.

Otherwise, this is a good solution. Can you think of a way to show more directly that 18 is the minimum possible value?


C:

They all add to 165. There must be at most 5 17's. otherwise two of them will be adjacent. There must be at least 5 17's, otherwise the total would be at most 4 * 17 + 6 * 16 = 164. Therefore, there are exactly 5 17's, which must be placed in every other position to prevent them from meeting. The total of the other 5 is then 165 - 5 * 17 = 80. Each of them must be at most 16, and 16 * 5 = 80, so each must be exactly 16.


The tabs did not work. Rewriting the 'diagrams':

Numbers a b c d … Neighbouring sums a+b+c b+c+d …

Numbers 10 5 2 9 7 1 6 8 4 3 N’g sums 18 17 16 18 17 14 15 18 15 17


C:

The spaces did not work. Rewriting the ‘diagrams’:

Numbers .................a............b............c............d… Neighbouring sums...........a+b+c....b+c+d..........…

Numbers 10...5...2...9...7...1...6...8...4...3 N’g sums 18 17 16 18 17 14 15 18 15 17


C:

Also, the second diagram that I forgot:

Numbers ……………a………b………c………d………e………f………g… Neighbouring sums…………17…….16……..17…….16……..17………

Calvin Lin Staff - 7 years ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...