Project Euler 44 - Pentagon numbers

Official link: https://projecteuler.net/problem=44