Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A different and better way to find prime numbers
#5
Quote:Even better, you only have to go up to half of n. n will never be a multiple of a number > .5n
In fact, you only need to check up to the square root of n.
Reply


Messages In This Thread
A different and better way to find prime numbers - by DrV - 09-14-2005, 10:15 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)