Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Documentation / Mathematica / Built-in Functions / Mathematical Functions / Number Theory /

PowerMod

FilledSmallSquare PowerMod[a, b, n] gives .

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

FilledSmallSquare Integer mathematical function (see Section A.3.10).

FilledSmallSquare For positive b, PowerMod[a, b, n] gives the same answers as Mod[a^b, n] but is much more efficient.

FilledSmallSquare For negative b, PowerMod[a, b, n] gives the integer such that . If no such integer exists, PowerMod returns unevaluated.

FilledSmallSquare See Section 3.2.4.

FilledSmallSquare See also: Mod, ExtendedGCD, MultiplicativeOrder, EulerPhi.

FilledSmallSquare Related package: Algebra`PolynomialPowerMod`.

FilledSmallSquare New in Version 1.

Further Examples



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


 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [ja] |
Sign up for our newsletter: