mersenneforum.org Prime Number Generator
 Register FAQ Search Today's Posts Mark Forums Read

 2004-02-06, 01:21 #1 Unregistered   62358 Posts Prime Number Generator Does anyone have a link to a good prime number generator that would find prime numbers between two limits?
2004-02-06, 02:42   #2
nfortino

Nov 2003

3·5·11 Posts

Quote:
 Originally Posted by Unregistered Does anyone have a link to a good prime number generator that would find prime numbers between two limits?
Depends on how large the limits are. If they are below 1 billion or so, try the sieves at http://primes.utm.edu/links/programs/sieves/

2004-02-06, 13:49   #3
ET_
Banned

"Luigi"
Aug 2002
Team Italia

3×5×17×19 Posts

Quote:
 Originally Posted by nfortino Depends on how large the limits are. If they are below 1 billion or so, try the sieves at http://primes.utm.edu/links/programs/sieves/
If you work under Cygwin, you can try my PrimeLister

Asks for start and end prime and start and stop bit, and prints on list.txt.
Source included.

Luigi
Attached Files
 primelister.zip (4.9 KB, 878 views)

Last fiddled with by ET_ on 2004-02-06 at 13:53

2004-02-06, 15:18   #4
wblipp

"William"
May 2003
New Haven

2,371 Posts

Quote:
 Originally Posted by Unregistered Does anyone have a link to a good prime number generator that would find prime numbers between two limits?
If you only need a few primes, you could use the N() function of Dario Alpern's factoring applet to find the next prime for numbers up to 10,000 digits. This actually finds a PRP and then tests it primality. Above a few hundred digits you would probably need to use something else, perhaps Primo, to prove they are prime.

 2004-03-19, 06:56 #5 Unregistered   32×5×7×31 Posts for most s ranges, plus pairs and quads, there's a great generator at < a href=http://www.sonik-systems.com/primes>www.sonik-systems.com/primes
 2004-03-19, 21:21 #6 Pablo the Duck     Dec 2003 Team China 2×33 Posts It isn't exactly what you want but it always makes me smile: http://members.surfeu.fi/kklaine/primebear.html
 2004-03-21, 01:00 #7 lpmurray     Sep 2002 1318 Posts Heres a site I use when I need primes http://www.rsok.com/~jrm/printprimes.html

 Similar Threads Thread Thread Starter Forum Replies Last Post bhelmes Miscellaneous Math 2 2016-03-17 17:50 skan Computer Science & Computational Number Theory 29 2015-11-02 03:58 aketilander Operazione Doppi Mersennes 1 2012-11-09 21:16 synergy Miscellaneous Math 39 2004-09-21 17:10 1260 Math 13 2003-10-12 09:48

All times are UTC. The time now is 19:10.

Fri Jul 1 19:10:39 UTC 2022 up 78 days, 17:11, 0 users, load averages: 3.01, 2.86, 2.42