Project Euler #45: Triangular, pentagonal, and hexagonal

Problem Name:
Project Euler #45: Triangular, pentagonal, and hexagonal
Site:HackerRank
Links:
Tags:
Problem setters: