Increment value by an incrementing value and output the result
<p>How can I output a list of numbers, so that each next number increments by a value which in turn increments by 1 every time?</p>

<p>In my case I need to output this exact list:</p>

<pre><code>0
10
21
33
46
60
75
91
108
126
145
165
</code></pre>

<p>So that the first value increments by 10, then the result increments by 11, then the result of it increments by 12, then by 13, 14, 15 and so on.</p>

<p>I've tried to achieve this by using for-loops, but obviously haven't got any proper result.</p>