Generate a sequence by loop nodes

 From:  1mi8
10850.1 
hello

I am a beginner about moi3d

I want to generate a sequence. Like {11,12,13,14} becomes {11,23 (11+12),36 (11+12+13),50 (11+12+13+14).

I'm trying to do that with a loop node. But I never get the best results. That image shows how I did it. But it has many problems. For example, the resulting sequence cannot be cleared.

How do I get the correct sequence?
Image Attachments:
Size: 83.9 KB, Downloaded: 83 times, Dimensions: 753x607px