Project Euler 601 - Divisibility Streaks

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