Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Documentation / Mathematica / Built-in Functions / Numerical Computation / Number Representation /

Further Examples: DigitCount

Here is a small number.

In[1]:=

Here are two ways to see its digits in base .

In[2]:=

Out[2]//BaseForm=

In[3]:=

Out[3]=

This counts how many times occurs in the base expansion of x.

In[4]:=

Out[4]=

In the list of digits there are ones, two, threes, fours, fives, sixes and zeros.

In[5]:=

Out[5]=

In[6]:=



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information


 © 2009 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [ja] |
Sign up for our newsletter: