In an attempt to keep my brain from rusting I decided to try and work through all the Project Euler problems. So far I have solved 72. Still have a lot to go, and I’m sure they will get much harder soon. My current score All problems can be found on my Github Page Here [...]

## Archive for the ‘Mathematics’ Category

## Vector ND – C++

**kenny**on January 19th, 2011

This is a N-Dimensional Vector class written in C++. While it can be used for any dimension, if you would like to use 3 or less dimensions including rotation functions check out my previous post (here) VectorND.cpp 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 [...]

## Vector 3D structure with Operation overloads and basic functions – C++

**kenny**on September 16th, 2010

This is my Vector3D structure with a set of appropriate operation overloads(-,+,/,*,–,++,etc) that I use for various math operations as well. Feel free to add upon it or do whatever you like with it. (Update the — and ++ operators are not correctly overloaded ) 1 2 3 4 5 6 7 8 9 10 [...]

## Ackermann–Péter function (2 arguments) – C/C++ – Recursive Implentation

**kenny**on July 16th, 2010

This is an implementation of the 2 argument version of the Ackermann Function (i.e. Ackermann-Péter function). In essence, this is an example of a very simple recursive function is an example of a total computable function that is not primitive recursive. Instead of making the internet even more redundant with unnecessary text, just click the [...]

## Is Prime Number Algorithm

**kenny**on July 12th, 2010

I was randomly surfing around the internet when I stumbled upon Google Labs Aptitude Test (GLAT)(Found here). I can’t really remember which links I followed from there but I stumbled into a question that asks to find the first 10 consecutive digits of E that are prime. While definitely not a hard task I wrote [...]