Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

PowerMod

Usage

PowerMod[a, b, n] gives  .
• For negative b, PowerMod[a, b, n] gives modular inverses.


Notes

• Integer mathematical function (see Section A.3.10).
• For positive b, PowerMod[a, b, n] gives the same answers as Mod[a^b, n] but is much more efficient.
• For negative b, PowerMod[a, b, n] gives the integer  such that  . If no such integer exists, PowerMod returns unevaluated.
• See Section 3.2.5.
• Related package: Algebra`PolynomialPowerMod`.
• New in Version 1.


Any questions about topics on this page? Click here to get an individual response.Buy NowFree TrialMore Information



 © 2009 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: