http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes
On Thu, Sep 23, 2010 at 5:45 PM, Debajyoti Sarma <[email protected]>wrote: > How to find the sum of prime numbers between 1 and 10000. > I don't expected traversal of the whole range and find primes and sum > uping > Any other logic is there?? i think we need deep mathematics for this . > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<algogeeks%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > -- .... :-) ***************************************** Nishant Agarwal Computer Science and Engineering NIT Allahabad ***************************************** -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
