On a line, there are $2n-1$ numbers lined up as follows: $$\text{$n$ , $n-1$ , $n-2$ , $\cdots$ , $3$ , $2$ , $1$ , $2$ , $3$ , $\cdots$ , $n-2$ , $n-1$ , $n$}\,.$$ At each step, one can choose any number in the line and add it to each of its neighbours before removing it. The leftmost and rightmost numbers only have one neighbour each. The process stops when there is a single number left. What is its maximum possible value?
This problem is inspired by and a generalization of the one at http://www.micmaths.com/defis/defi_05.html where $n = 5$.
I thought that the optimal would be to start with the number at the centre and then alternate between the left and right neighbour of the previously chosen number. However, it turns out to be not optimal for $n > 3$. But I do not even know the optimal answer for $n = 5$, except that it must be at least $174$.

Here are some lower bounds; I computed these by simulated annealing. The notation is best understood by thinking about the problem as follows: at each step, you pick a nonzero number in the line, add it to its nearest nonzero neighbors, and zero it out. So, for $n=3$, a game might run $$ (3,2,1,2,3) \to (3,3,0,3,3)\to (6,0,0,6,3)\to (12,0,0,0,9)\to(21,0,0,0,0).$$ You can encode this game as the permutation $\pi=\{3,2,4,5,1\}$, where we zero out position $i$ at step $i$ for $i<2n-1$; $\pi(2n-1)$ is the location of the final number.
With this notation, here are the best scores I was able to achieve for small values of $n$.
$$\begin{array}{ccc} n & \textrm{bound} & \textrm{solution}\\ \hline 2 & 6 & \{2,3,1\} \\ 3 & 21 & \{2,3,4,5,1\} \\ 4 & 63 & \{5, 4, 3, 6, 2, 7, 1\} \\ 5 & 174 & \{ 6,5,4,7,3,8,2,1,9\} \\ 6 & 466 & \{7, 6, 5, 8, 4, 9, 3, 10, 2, 1, 11\} \\ 7 & 1232 &\{ 6, 7, 8, 5, 9, 4, 10, 3, 11, 2, 12, 13, 1 \} \\ 8 & 3239 & \{9, 8, 7, 10, 6, 11, 5, 12, 4, 13, 3, 14, 2, 1, 15\} \\ 9 & 8501 & \{7, 8, 6, 9, 10, 5, 11, 12, 4, 13, 3, 14, 15, 2, 16, 1, 17\} \\ 10 & 22502 & \{12, 11, 13, 10, 14, 9, 8, 15, 7, 6, 16, 5, 17, 4, 3, 18, 2, 1, 19\} \\ 11 & 59499 & \{9, 10, 8, 11, 7, 12, 13, 6, 14, 5, 15, 16, 4, 17, 3, 18, 19, 2, 20, 1, 21\} \\ 12 & 156678 & \{10, 11, 9, 12, 8, 13, 14, 7, 15, 6, 16, 17, 5, 18, 4, 19, 20, 3, 21, 2, 22, 1, 23\}\\ \end{array} $$