Let's say I have a list of values, for example {3,7,8,10}. Now I want to make a function that creates a table T in the following way:
$\begin{matrix} 3&7&8&10\\ &10&15&18\\ &&25&33\\ &&&58\\ \end{matrix}$
So we're adding up: 3+7=10, 7+8=15 etc.
Another complicating factor is that I want T[[2,2]]=10 (not T[[2,1]]); similarly, T[[4,4]]=58 etc.
BACKGROUND: In the end I am trying to make a function for Romberg Integration.