/Project-Euler-solutions

Runnable code for solving Project Euler problems.

Primary LanguageJava

Project Euler solutions

This package contains Nayuki's program code to solve over 190 Project Euler problems.

Each solved problem has a program written in Java. Additionally, some solutions have Python, Mathematica, and/or Haskell programs. Some solutions include a detailed mathematical explanation/proof in the source code to justify the program logic.

All problems from #1 to #100 have a Java and Python program, and #1 to #50 have a Mathematica program. The project codebase contains at least 195 solutions in Java, at least 190 in Python, at least 120 in Mathematica, and at least 70 in Haskell.

Java solutions require JDK 7 or above. Python solutions are tested to work on CPython 2.7.10 and 3.4.3. Mathematica solutions are tested to work on Mathematica 5.1.


Home page: https://www.nayuki.io/page/project-euler-solutions

This code is provided for reference only. You need prior written permission to do any of the following: republish the code verbatim, publish the code with modifications, incorporate parts of the code into your own work, etc.

Copyright © 2016 Project Nayuki. All rights reserved. No warranty.