Mainak and Interesting Sequence

Problem Name:
Mainak and Interesting Sequence
Site:CodeForces
Links:
Tags:
Problem setters: