See README https://projecteuler.net

Klemens Nanni 350c4ad9e7 Ensure opened files get closed 4 years ago
001 baebedaa62 [001] Elaborate 4 years ago
002 20d6d37239 Use env(1) as shebang 4 years ago
003 a7788dd5fa Unify J source files 6 years ago
004 20d6d37239 Use env(1) as shebang 4 years ago
005 a7788dd5fa Unify J source files 6 years ago
006 f75ca01b2c Typofix: 001 -> 006 6 years ago
007 3fe388d8c6 Add 007 6 years ago
008 350c4ad9e7 Ensure opened files get closed 4 years ago
009 f75ac1650d Add 009 6 years ago
010 7f0a372f7c Add 010 6 years ago
011 7e0361f3b4 Add 011 6 years ago
012 20d6d37239 Use env(1) as shebang 4 years ago
013 350c4ad9e7 Ensure opened files get closed 4 years ago
014 20d6d37239 Use env(1) as shebang 4 years ago
015 30859380a2 [015] Adjust shebang 6 years ago
016 34fdc39aa9 Add 016 6 years ago
017 20d6d37239 Use env(1) as shebang 4 years ago
018 350c4ad9e7 Ensure opened files get closed 4 years ago
019 20d6d37239 Use env(1) as shebang 4 years ago
020 dfff56f155 Add 020 6 years ago
021 20d6d37239 Use env(1) as shebang 4 years ago
022 350c4ad9e7 Ensure opened files get closed 4 years ago
024 6364b28ee4 [024] It's 7 not 6 5 years ago
025 20d6d37239 Use env(1) as shebang 4 years ago
028 20d6d37239 Use env(1) as shebang 4 years ago
029 20d6d37239 Use env(1) as shebang 4 years ago
030 20d6d37239 Use env(1) as shebang 4 years ago
033 20d6d37239 Use env(1) as shebang 4 years ago
034 20d6d37239 Use env(1) as shebang 4 years ago
035 20d6d37239 Use env(1) as shebang 4 years ago
036 20d6d37239 Use env(1) as shebang 4 years ago
037 47af856a75 [037] Use sh not J 5 years ago
039 8e1064150c [039] Typofix, better use link markup 4 years ago
040 20d6d37239 Use env(1) as shebang 4 years ago
042 350c4ad9e7 Ensure opened files get closed 4 years ago
045 20d6d37239 Use env(1) as shebang 4 years ago
048 20d6d37239 Use env(1) as shebang 4 years ago
053 20d6d37239 Use env(1) as shebang 4 years ago
056 20d6d37239 Use env(1) as shebang 4 years ago
058 20d6d37239 Use env(1) as shebang 4 years ago
063 a7788dd5fa Unify J source files 6 years ago
067 350c4ad9e7 Ensure opened files get closed 4 years ago
068 bb746d5af8 Initial commit 6 years ago
071 a7788dd5fa Unify J source files 6 years ago
073 20d6d37239 Use env(1) as shebang 4 years ago
079 350c4ad9e7 Ensure opened files get closed 4 years ago
080 20d6d37239 Use env(1) as shebang 4 years ago
092 20d6d37239 Use env(1) as shebang 4 years ago
097 20d6d37239 Use env(1) as shebang 4 years ago
099 350c4ad9e7 Ensure opened files get closed 4 years ago
188 20d6d37239 Use env(1) as shebang 4 years ago
204 dd6c0885be Add 204 6 years ago
206 20d6d37239 Use env(1) as shebang 4 years ago
.gitignore c667c3668a Update .gitignore 4 years ago
LICENSE 4e66c4f1ee LICENSE (GPLv3) 6 years ago
Primes.py cb1c463449 [Primes] Simplify statement 4 years ago
README.md 3980663a42 README 6 years ago

README.md

Project Euler

From the official site:

Project Euler is a series of challenging mathematical/computer programming
problems that will require more than just mathematical insights to solve.
Although mathematics will help you arrive at elegant and efficient methods,
the use of a computer and programming skills will be required to solve most
problems.

The motivation for starting Project Euler, and its continuation, is to
provide a platform for the inquiring mind to delve into unfamiliar areas and
learn new concepts in a fun and recreational context.

This repository aims to be a place for collaborative work on both mathematical and programmatic challenges beatifully combined in Project Euler's problems.

Optimally solutions comitted here can be improved and help both spreading and gaining knowledge about all topics involved whatsoever.

Since I started "working" on Project Euler years ago, many source files still lack proper comments, which will be added subsequently as this repository evolves.

Structure

All files go into the problem's respective directory, always using the problem's number both as directory and file name. Solutions shall be commented out properly, but this should go without saying.

In case of text files provided by the problem, place them beside the source file. Multiple solutions are to be indicated as such using numbers unless they are written in different languages.

Example:

$ ls 023/
023-file  023.j 023.py 008-1.py

Programming languages

Python has been used as primary language, although every language or technique (with pen and paper, explained in a text file) is welcome. I'm currently learning J as it's a wonderful language for mathematics, so new problems will probably solved using J whenever possible.