IntegerExponent
IntegerExponent[n,b]
gives the highest power of b that divides n.
Details
- Integer mathematical function, suitable for both symbolic and numerical manipulation.
- 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.
- IntegerExponent automatically threads over lists.
Examples
open allclose allNeat Examples (1)
A "formula" for DigitCount:
Wolfram Research (1999), IntegerExponent, Wolfram Language function, https://reference.wolfram.com/language/ref/IntegerExponent.html.
Text
Wolfram Research (1999), IntegerExponent, Wolfram Language function, https://reference.wolfram.com/language/ref/IntegerExponent.html.
CMS
Wolfram Language. 1999. "IntegerExponent." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/IntegerExponent.html.
APA
Wolfram Language. (1999). IntegerExponent. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/IntegerExponent.html