|
-
Oct 17th, 2005, 12:48 PM
#1
Thread Starter
New Member
Help me with prime numbers
I need an idea for an algorithm which will find prime numbers from a given array(sieve of Arothestenes is too slow,I`m thinking about sieve of Atkin,but I can`t find any examples,so...if any idea I`ll be grateful:-)
-
Oct 17th, 2005, 12:53 PM
#2
Re: Help me with prime numbers
Welcome to the forums!
That was one of the contests, to find all primes less than 10000. You can find source code to all the entries.
http://www.vbforums.com/forumdisplay.php?f=67
-
Oct 17th, 2005, 01:00 PM
#3
Thread Starter
New Member
Re: Help me with prime numbers
Thanks but I`ve got an array from 1 to 1 000 000 000 then I`ve got x,y which x-y<=100000 and x<=y<= 1000 000 000and I`ve got to find prime numbers which are in array made by x,y
-
Oct 20th, 2005, 12:51 PM
#4
Fanatic Member
Re: Help me with prime numbers
This might be a little out of your league, but research the quadritic sieve.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|