Prime number generators

Teatowel

Senior member
Sep 22, 2000
496
1
81

Can someone point me in the direction of a Prime number generator that does not have a limit to the maxiumum number that can be generated? There are a couple of shareware versions, but I don't have time to register! Cheers.
 

DAM

Diamond Member
Jan 10, 2000
6,102
1
76
tea: arent you asking for something that its impossible? i am not sure, last time i read about this was about 2 years ago, theres is actually a contest like (rc5 or sety or ogr) where you get money if you find the next prime number.


ok sorry to have gone off on a rant, button line is, no one knows how many primes there are, so its impossible to have a generator with an infinite amount of numbers, its just not possible.


another thing to remember is, that most computer can only handle data in "types" boolean, int, long, etc. so each type has a limitation, so thats another factor why this is very difficult to do.



dam(ok im done talking out of my ass)
 

Teatowel

Senior member
Sep 22, 2000
496
1
81

Thanks for your reply.

I thought presumably if you had a prime number generator and just set it going, depending on (ultimately) how much RAM/HD space, that would be the only limiting factor?

I'm just looking for something that will give me very large prime numbers that I can then multiply to give a non prime number that has two prime factors. Useful.

Cheers.