Project Euler 216 - Investigating the primality of numbers of the form 2n2-1

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