Favorite sequence

Problem Name:
Favorite sequence
Site:HackerRank
Links:
Tags:
Problem setters: