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?
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 )
what was your delta x squared question
what is that question
you asked something about delta x delta x squared
I didnt :-P You are mistaken
yes you did `
link it then :-D
i cant find it , you hop around every question
I do recall asking about infinitesimals.
could be that , i dont know , something like
|dw:1320492964144:dw|
agdgdgdgwngo 4 Good Answer (define (square) (lambda (x) (* x x)))
there isnt a polynomial formula for prime numbers
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
Join our real-time social learning platform and learn together with your friends!