@Lucifier : hehehe...i dont accept solution blindly..may be dats why :D :D yeah got your editing mistake after i posted it bcoz you where not using i in the loop so same calculation were goin on.
On Tue, Jan 10, 2012 at 9:05 PM, Lucifer <[email protected]> wrote: > @atul > > First of all, i must say you are really good at catching my "editing > mistakes" :).. > > Correction: > superSum = ( superSum * ( ( n + i )%1000000007 ) ) / (i+1); > > On Jan 10, 8:29 pm, atul anand <[email protected]> wrote: > > @Lucifier : your reduced form is not generating right output... > > remove modulo and calculate for SuperSum(2,3) > > > > > > > > > > > > > > > > On Tue, Jan 10, 2012 at 6:12 PM, priyanka <[email protected]> > wrote: > > > @lucifier : > > > Please tell how you reduce SuperSum ( k, n) into > > > SuperSum(k,n) = SuperSum (k-1, n) * (n+k) / (k+1) > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Algorithm Geeks" group. > > > To view this discussion on the web visit > > >https://groups.google.com/d/msg/algogeeks/-/jWq_vujbiCkJ. > > > > > 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. > > -- > 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. > > -- 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.
