This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Mathematical Functions / Numerical Functions /

IntegerExponent

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

FilledSmallSquare IntegerExponent[n] is equivalent to IntegerExponent[n, 10].

FilledSmallSquare IntegerExponent[n, b] gives the number of trailing zeros in the digits of n in base b.

FilledSmallSquare See Section 3.1.3 and Section 3.2.4.

FilledSmallSquare See also: IntegerDigits, FactorInteger, MantissaExponent, DigitCount, Exponent.

FilledSmallSquare New in Version 4.

Further Examples