JavaScript coding challenge #4

Hello,

This challenge was by far the best one from www.projecteuler.net so far…
It just makes me realize how beautiful is to use math in compute science!

Check out the post about it: