[algogeeks] sum of primes

2010-09-23 Thread Debajyoti Sarma
How to find the sum of prime numbers between 1 and 1. 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

Re: [algogeeks] sum of primes

2010-09-23 Thread Nishant Agarwal
http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes On Thu, Sep 23, 2010 at 5:45 PM, Debajyoti Sarma sarma.debajy...@gmail.comwrote: How to find the sum of prime numbers between 1 and 1. I don't expected traversal of the whole range and find primes and sum uping Any other logic is there??