Project Euler 26 - Reciprocal cycle

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