How can I convert the sum into Σ notation in output? For example, I have an array of Array[k,4]. My input is
Array[k,4]
Sum[K[i], {i, 1, 4}]-K[4]
Then the output will be
K[1] + K[2] + K[3].
If I use Holdform in the input
HoldForm[Sum[K[i], {i, 1, 4}]-K[4]]
the result will be $$ \sum _{i=1}^4 K[i]-K[4] $$ What I want in the output is $$ \sum _{i=1}^3 K[i] $$