Given a value (in a cell), calculate a formula like this:
Ʃ(3i+1) for i from 0 to the value specified in the cell.
SUM(), SERIESSUM() are not suitable in thi
[To complement Dirk Reichel's answer (I added a $ at "ROW(A$1)":
"=SUMPRODUCT(3*(ROW(A$1:INDEX(A:A,B1-A1+1))-(1-A1))+1)"
Here is what it looks like. (see the image)
No indirect, no array, and can be cut past anywhere. (Needed the $ sign to be cut and past anywhere)]