Project Euler #61: Cyclical figurate numbers

Problem Name:
Project Euler #61: Cyclical figurate numbers
Site:HackerRank
Links:
Tags:
Problem setters: