Project Euler 577 - Counting Hexagons

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