Project Euler 209 - Circular Logic

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