bigprime
v1.0.1
Published
It Can Generate Big Prime Numbers Up to 10^12 And Range Between Lower Limit And Upper Limit is 10^5 . Just create a instance variable and write variable.primeGenerate(1,1000) . It Will Generate Prime Number From 1 To 1000 .
Downloads
2
Readme
bigprime
bigprime is a node js module that can generate big prime numbers fast .
Install
npm install bigprime
How To Use
At first create a instance of bigprime . Then Just pass lower limit and upper limit . It will generate prime numbers between lower limit And upper limit.
var prime=require('bigprime');
prime.primeGenerate(1,100);
Implementation
Segmented Sieve Algorithm is used to generate big prime numbers very fast than other algorithms .