For Loop to get the Column Indices dynamically with a Constant difference for a Provided Number.

Need to Implement For Loop to get the Column Indices dynamically with a Constant difference for a Provided Number.

I am looking for for(i=startPosition,i<=maxIndices;i+noOfColumns)

Eg: for(i=1,i<=50;i+4) should give

{1, 5, 9, 13, 17, 21,25,29,33,37,41,45,49}

Can any one help me to find out the logic in Appian.?

  Discussion posts and replies are publicly visible