Just use a variable in a shift register initialized to your desired starting value, then increment or decrement it for each iteration as needed by your code.
This is much more flexible, negative numbers are allowed, you can even use double precision or complex variables and arbitrary increment values.