A special sequence

Problem Name:
A special sequence
Site:HackerEarth
Links:
Tags:
Problem setters: