09-14-2005, 10:15 AM
Quote:Even better, you only have to go up to half of n. n will never be a multiple of a number > .5nIn fact, you only need to check up to the square root of n.
A different and better way to find prime numbers
|
« Next Oldest | Next Newest »
|