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?
Tell me more
×
Mathematics Stack Exchange is a question and answer site for
people studying math at any level and professionals in related fields. It's 100% free, no registration required.
|