SOLVED

For any permutation $\pi\in S_n$ of $\{1,\ldots,n\}$ let $S(\pi)$ count the number of distinct consecutive sums, that is, sums of the shape $\sum_{u\leq i\leq v}\pi(i)$. Is it true that
\[S(\pi) = o(n^2)\]
for all $\pi\in S_n$?

It is easy to see that $S(\iota)=o(n^2)$ if $\iota$ denotes the identity permutation, as studied by Erdős and Harzheim [Er77]. Motivated by this, Erdős asked if this remains true for all permutations.

This is extremely false, as shown by Konieczny [Ko15], who both constructs an explicit permutation with $S(\pi) \geq n^2/4$, and also shows that for a random permutation we have \[S(\pi)\sim \frac{1+e^{-2}}{4}n^2.\]