Ask your own question, for FREE!
Computer Science 7 Online
OpenStudy (anonymous):

What are some fast ways to generate prime numbers? Let's say I want my machine to find the 12 billionth prime number. What algorithm is available to me besides Eratosthenes and Trial Division?

OpenStudy (anonymous):

there is no formula that I know of that generates only primes, however n! + 1 is often prime as far as I know (or maybe not )

OpenStudy (anonymous):

what was your delta x squared question

OpenStudy (anonymous):

what is that question

OpenStudy (anonymous):

you asked something about delta x delta x squared

OpenStudy (anonymous):

I didnt :-P You are mistaken

OpenStudy (anonymous):

yes you did `

OpenStudy (anonymous):

link it then :-D

OpenStudy (anonymous):

i cant find it , you hop around every question

OpenStudy (anonymous):

I do recall asking about infinitesimals.

OpenStudy (anonymous):

could be that , i dont know , something like

OpenStudy (cwrw238):

read http://en.wikipedia.org/wiki/Generating_primes

OpenStudy (anonymous):

|dw:1320492964144:dw|

OpenStudy (anonymous):

agdgdgdgwngo 4 Good Answer (define (square) (lambda (x) (* x x)))

OpenStudy (anonymous):

there isnt a polynomial formula for prime numbers

OpenStudy (anonymous):

if you want an exhaustive list of primes, the sieve of eratosthenese works, it has speed O(n). there is also a sieve of atkin is faster http://en.wikipedia.org/wiki/Sieve_of_Atkin

OpenStudy (anonymous):

http://mathworld.wolfram.com/PrimeNumber.html

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!