Mathematica 9 is now available

IntegerExponent

Usage

IntegerExponent[n, b] gives the highest power of b that divides n.


Notes

IntegerExponent[n] is equivalent to IntegerExponent[n, 10].
IntegerExponent[n, b] gives the number of trailing zeros in the digits of n in base b.
• New in Version 4.


Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.