Can somebody please give me any ideas on how to write a function that will compute p(x)^n mod(x^r - 1, n), where n is a large number by using repeated squaring algorithm?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.