|
IntegerExponent
IntegerExponent[n, b] gives the highest power of b that divides n.
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.
See The Mathematica Book: Section 3.1.3 and Section 3.2.4.
See also: IntegerDigits, FactorInteger, MantissaExponent, DigitCount, Exponent.
Further Examples
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT. SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION. | |