Skip to content

Python solutions to Project Euler's Coding/Maths Challenges

Notifications You must be signed in to change notification settings

wy/ProjectEuler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Current number of solutions: 55

Project Euler (Python Solutions)

These are my solutions to Project Euler, written for Python 3.5+. The main aim was for the solution to be a) correct, b) easy to understand. As a result, these solutions won't necessarily be the most concise or elegant.

Where possible, I've added commentary to explain interesting ideas or asides.

The best way to learn is to try solving the problems yourselves.

Primes

Prime number testing comes up a lot for Project Euler, given how central primes are to Number Theory.

I have implemented a few different prime tests depending on how computationally intensive the problems are.

Where needed, I've used the 6n +/- 1 test to speed things up.

Public Domain

This project is in the public domain and licenced under Apache Licence 2.0.

Enjoy! ~wy

About

Python solutions to Project Euler's Coding/Maths Challenges

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages