Skip to content

Runnable code for solving Project Euler problems in Java, Python, Mathematica, Haskell.

Notifications You must be signed in to change notification settings

Ipcagr1d/Project-Euler-solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Runnable code for solving Project Euler problems in Java, Python, Mathematica, Haskell.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 38.2%
  • Python 30.7%
  • Mathematica 17.8%
  • Haskell 13.3%