Now with all 476 puzzles and images

Original Announcing the Local Project Euler Mirror. Images converted to text. Now with all 476 puzzles and images Editable
version 3 of 3


Latest automatically built mirrors:
Problem list: project_euler.txt (386KB)
Extra files: (1864KB)

If it looks broken on your browser, it is your browser. Pure utf-...



In the wake of Project Euler's temporary shudown in June 2014, this page got very popular. It was used in the EulerPy tool for example. As someone who enjoys recrational achiving, I was very amused my 6 year old semi-broken project was the most notable surviving resource. But there were many laments that it only had 202 puzzle and none of the images. This has been corrected! The codebase was updated to Python3, every puzzle was scraped and every image downloaded. The first 200 puzzles have been more or less proofread and many old rendering issues were fixed. I'll probably release the scraper/renderer at some point but not local caching is implemented.


not until local caching is implemented


Every programmer should try out Project Euler. For those unfamiliar, it is a series of programming challenges aimed at pushing the limits of your skill in any programming language. It is probably the most pure and language agnostic of any such challenge. 'Purity' in this context relates to the mathematical aspects. Many of the problems can be solved without a computer. 'Agnostic' refers to the complete lack of required interfaces. None of the programs require file access, networking or graphical output. If you are willing to hard code the initial conditions, one can get away without using input. Basic mathematical operations and the ability to report a result, common to all languages, makes it a fair test to any general purpose language. The puzzles are addictive. There are all ranges of solutions, from crude brute force to efficient elegance. Anything can be brute forced, but it is considered unfair if your program requires more than a minute to complete.

These challenges will gnaw at you. Maybe you want to clear a puzzle in the top 1%. Maybe to complete a solid stretch of 30 puzzles. Maybe to solve every puzzle relating to the prime numbers. Maybe there is a core set of puzzles to implement in any unfamiliar language. Maybe try solving the puzzles on the lowest end hardware available.

Whatever it is, you'll quickly hit a brick wall the first moment you don't have net access. Thinking ahead, you've already got a wget-ed mirror. But this is a mess of several hundred webpages and still depends on a browser. The sheer waste and inefficiency of this drove me up the wall. I threw together a little script to compile every problem together in a single flat text file, adding the attachments in a zip file.

Within my knowledge and googlefoo, no one has ever compiled a convenient offline copy of Project Euler. The conversion process goes to some lengths to ensure a highly readable copy. For example, multiplication, less than and greater than are not represented by ascii characters, but rather images. These images are automatically detected and converted to their ascii equivalents.

Every few months some of the problems change slightly. Typically these are increases in the problem's ceiling, to follow the advances in computer power. I'll keep this mirror up to date, probably annually.

Project Euler is protected under Attribution-Non-Commercial-Share Alike 2.0 UK: England & Wales.