PRODUCTS
PURCHASE
FOR USERS
COMPANY
OUR SITES
DOCUMENTATION CENTER SEARCH
Mathematica
>
Representation of Numbers
>
Built-in
Mathematica
Symbol
Digits in Numbers
Integer and Number Theoretic Functions
Tutorials »
|
IntegerDigits
FactorInteger
RealExponent
MantissaExponent
DigitCount
IntegerLength
Exponent
See Also »
|
Integer Functions
Number Digits
Number Theoretic Functions
Prime Numbers
Representation of Numbers
More About »
IntegerExponent
IntegerExponent
[
n
,
b
]
gives the highest power of
b
that divides
n
.
MORE INFORMATION
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
CLOSE ALL
Basic Examples
(2)
The number of trailing zeros:
In[1]:=
Out[1]=
The highest power of 2:
In[1]:=
Out[1]=
In[2]:=
Out[2]=
Applications
(2)
Properties & Relations
(1)
SEE ALSO
IntegerDigits
FactorInteger
RealExponent
MantissaExponent
DigitCount
IntegerLength
Exponent
TUTORIALS
Digits in Numbers
Integer and Number Theoretic Functions
MORE ABOUT
Integer Functions
Number Digits
Number Theoretic Functions
Prime Numbers
Representation of Numbers
RELATED LINKS
NKS|Online
(
A New Kind of Science
)
New in 4
© 2008 Wolfram Research, Inc.