Mathematica > Representation of Numbers >

IntegerExponent

IntegerExponent[n, b]
gives the highest power of b that divides n.
  • Integer mathematical function, suitable for both symbolic and numerical manipulation.
  • IntegerExponent[n, b] gives the number of trailing zeros in the digits of n in base b.
New in 4
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team