You permute each of the digits 0,1,2,…,9 and write them in a single row.
A) Show that no matter what the permutation, some 3 adjacent elements of the row sum to at least 13.
B) Can you find a permutation where no 3 adjacent elements sum to more than 13?
Scroll down for solution
.
.
A) Say the permutation is x0,x1,…,x9.
Now one of x0 or x9 is <9. We can assume x0<9.
Let Si=xi+xi+1+xi+2.
Since x0<9 we must have that S1+S4+S7>36 and thus max{S1,S4,S7}>12.
B) 9 3 1 7 4 2 6 0 5 8
No comments:
Post a Comment