Must be a positive integer greater than 1.
Floats and negative numbers won't work.
12 digits max.
I am using my own prime generation and factoring algorithm here. I am quite impressed how fast javascript is at this. Hope you enjoy this, too.
-David James Call