Ohhh ! Yes! This makes me a sence and a lot, and yes I got my answer.
Thanks. Is it possible the power of a prime factor is negative after the subtraction done? Let, M!/(I! * M!) be like p1^1 * p2^4 * p3^(-2) , if so what should be do then.
Can I minimize my equation or suggest me a equation where modulu inverse not needed. And obiviously I want to learn that complecated algorithm also.
Thanks for your reply. Have you careful about the fact that If I want to do modulu inverse, then the mod should be prime. Here non prime, so modulu inverse should be modified.