My attempts at a solution in Project Euler