Xsquare and Interesting Sequences

Problem Name:
Xsquare and Interesting Sequences
Site:HackerEarth
Links:
Tags:
Problem setters: