Project Euler, is a wonderful site dedicated to fun around mathematical puzzles and problems. In their own words,

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.

A problem is posted every week and many of them require one to write code to solve them. More than the code, it wants the user to go over the internet, read more on the problem and then build an optimal solution. Per their claim, most of the problems can be solved under a few seconds. If not, then a better solution exists.

I came across the project in the first week of this year (2011) and has been working to solve these problems as and when I find time. Today, I solved the 50th problem (they have over 317 as of today) which promotes me to Level 2.

In line with my theory of open-code, I have shared the Java code for all the puzzles under the name of Project Maer, for anyone to look at. Maer, pronounced [mˈɑɛr], is an adjective to represent useful, good or fit in Sindarin, the elvish language. Expect more posts under the labels for now I start to blog on the problem I solve.

Code is freely available at as a downloadable Eclipse project.

Note: A sincere request not to work up the code to just complete the problems. The code can be looked at, and optimized if a better solutions exists.