It would have to be ((i - 1) % N) + 1
1 -> 2
2 -> 3
3 -> 4
4 -> 5
5 -> 1
6 -> 2
7 -> 3
8 -> 4
9 -> 5
10 -> 1
...
This is a valid mapping from Z+ to our index space. Is your objection that 2 does not map to 2, 3 does not map to 3? That may be a useful property, but (i % N) + 1 is still a valid mapping without that property.