/euler-phi-js

Euler's totient function - Función φ de Euler

Primary LanguageCoffeeScript

Euler's totient function

http://en.wikipedia.org/wiki/Euler%27s_totient_function

This is and implementation of the Euler's phi function. It shows the behaivor of the funtion in 1..n

It was developed in the way of learning coffescript, so it could not be optimal.

So if you can improve this, you are welcome. :D

just run the index.html

PS: after do this I was seeing the projecteuler.net, problem 70. It seems it solve this

Función φ de Euler

http://es.wikipedia.org/wiki/Funci%C3%B3n_%CF%86_de_Euler

Esta es una implementacion de la Función φ de Euler. Muestra el comportamiento de la funcion en un rango desde 1 hasta n

Es el resultado de estar jugando con coffescript, asi que sientanse con el gusto de criticar.

Originalmente queria hacer correr el archivo euler.coffe pero me salieron errores criticos, y para no perder tiempo, el archivo euler.js esta generado por coffescript, y es el que se importa.

Que?

index.html

Dependencias

  • Todas las dependencias se encuentran en la carpeta lib/

Preview

http://figuedmundo.github.com/euler-phi-js