Project Euler 138 - Special Isosceles Triangle

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