Project Euler: a Python (beginner friendly) approach to complex mathematical challenges
- 9 minsLeonhard Euler (1707-1783) was, without any doubt, one of the greatest mathematicians of all time. He is absolutely the most prolific, writing over 900 publications of work in different science fields (number theory, graph theory, analysis, physics, astronomy…). Matter of fact, an active effort was made to avoid naming everything after Euler and several theorems are attributed to the first person to have proved them after him.
Knowing this, it’s no surprise that Euler has become an idol and a role model to any aspiring mathematician (or engineer, or physicist, or…). The Project Euler is one of many tributes that has been made dedicated to Euler, inicially created as a subsection of our colleages in mathschallenge (a brilliant website to learn and enjoy mathematics). The Project Euler is a combination of mathematical problems that exists to encourage, challenge, and develop the skills and enjoyment of anyone with an interest in the fascinating world of mathematics.
In this page you will find my personal solutions to the problems, using only Python. They have been part of my process trying to learn Python and so, code can be messy or not optimized (sorry in advance). Every solution comes with small explanations, so it can serve as a Python learning experience, just as it was for me. Also, problems relying on tricky or advanced mathematics have a brief theorical explanation too.
I strongly encourage you to try and solve the problems without looking at any solution. Even if at first sight a problem feels overwhelming, give it a try and come back a few days later. You will be surprised at all the things you are capable of doing and you will learn even more.
And just remember, if everything goes wrong, here you’ll find some help. :)
This project is still a work in progress. Make sure to come back frecuently for the lastest updates!
Thank you for your time and attention. Feel free to reach out if you have any questions or inquiries. I’d love to hear from you!