[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 Geeks group.
To post to this group, send email to algoge...@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



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?? 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 algoge...@googlegroups.com.
 To unsubscribe from this group, send email to
 algogeeks+unsubscr...@googlegroups.comalgogeeks%2bunsubscr...@googlegroups.com
 .
 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 algoge...@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.