Great piece! I’ve solved a few by now (I think 30 or so) but I must warn you against Project Euler’s policy against publishing of code online. It states that we can’t have write-ups or code repositories on solving the problems and in case you’re found violating the policy, your account might be terminated.
Please don’t publish the solutions online. That’s all.
Have a good one.