# Variation of Josephus problem.

This is a question spoj question. http://www.spoj.com/problems/WTK/ Instead of a fixed jump(ex: 2), if I have it incrementing , 2,3,4,5.. then how can I calculate the required recursive formula?

-