Tag Archive for 'Math'

My first five Dollar Bill

Yesterday I got my hands on my very first Lincoln (five dollars) bill, they seem much more older and used than Euro banknotes. As I had already made a Euro note serial number validation algorithm in PHP I thought: “why don’t I do the same for dollar bills?”.

Five Dollars (Front)

Continue reading ‘My first five Dollar Bill’

Math “Magic” Trick

My sister just showed me this little math trick, it’s fun - try it out with your friends and share your experience here.

Continue reading ‘Math “Magic” Trick’

I’m back from Lisbon!

Hello there, I’m finally home! I’m kinda tired from the train trip but hopefully my bed will give me my deserved rest tonight…

The Rolling Stones - A Bigger Band Concert at Alvalade (Lisbon)

Continue reading ‘I’m back from Lisbon!’

Euro banknote validation with PHP

Euro Notes

Have you ever come across a fake Euro banknote? Well, most of us probably have (at least those of us who live in the European Union, like me) - more than 300 thousand Euro banknotes are falsified every year.

Continue reading ‘Euro banknote validation with PHP’

Mersenne Prime Search

Prime numbers have always been a central point of mathematical studies as they yield (at least for now) lots of stuff that we don’t understand (like factoring and it’s distribution among natural numbers - read the Wikipedia link bellow if you want to find out more). Prime numbers also play a big role paper in our world, as strange as it seems, our unability to fully understand primes is the basis of our digital security as we know it today. Finding new prime numbers nowadays is a task that no longer can be done by humans (as far as I’m aware of) and a computer takes at least a couple of days to find a new one.

Continue reading ‘Mersenne Prime Search’

PHP Math Library

I’ve just finished my PHP Math Library and Abstraction Layer, I’ve been up all night in order to code it, but it was worth it. I am proud of it.

My PHP Math Library features the following:

Continue reading ‘PHP Math Library’