@Pankajsingh: See the recent thread "Modular arithmetic + Combinatorics" in this newsgroup.
Dave On Nov 6, 12:49 am, pankajsingh <[email protected]> wrote: > i want to calculate values like (1000000 C 10000) %1000000007,what would be > better algorithm for it,i think lucas theorem cant be used in this > case.want some efficent algorithm,actually i want to calculate > mC1,mC2....mC1000 %1000000007,such that may is about 10^6 -- 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.
