Project Euler 146 - Investigating a Prime Pattern

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