better explained by Reddy's program :) On Mon, Mar 21, 2011 at 6:00 PM, Anurag atri <[email protected]>wrote:
> take an array and put 0 at all positions in it (except 2 ) , then when you > mark a number as a multiple of a prime number ( 2 to start with ) put 1 in > that place ..then look for the first number in the array that has a 1 ( this > time 3 ) do the same procedure again . > > > On Mon, Mar 21, 2011 at 5:41 PM, rohit <[email protected]> wrote: > >> i just want to know , when we make a program how update array after >> deleting alternate element. >> >> On Mar 21, 4:37 pm, Anurag atri <[email protected]> wrote: >> > what did you not understand in this ? >> > >> > On Mon, Mar 21, 2011 at 4:59 PM, rohit <[email protected]> >> wrote: >> > > genrate prime number using Sieve of Eratosthenes method >> > > explanation is herehttp://en.wikipedia.org/wiki/Sieve_of_Eratosthenes >> > > pls help me out >> > >> > > -- >> > > 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. >> > >> > -- >> > Regards >> > Anurag Atri >> >> -- >> 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. >> >> > > > -- > Regards > Anurag Atri > -- Regards Anurag Atri -- 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.
