Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Base-b expansion of a number?

  1. Feb 28, 2012 #1
    Has anyone come across how to find "the base-b expansion" of a number? I don't think its tricky or anything I just don't know what it's referring to...
  2. jcsd
  3. Feb 28, 2012 #2
    Oh it's just referring to writing a number in a different base...
  4. Mar 1, 2012 #3


    User Avatar
    Science Advisor

    AFAIK, expressing a number in base c it refers to expressing a number, usually given in base 10-- in the form:


    (let's assume for simplicity the decimal expansion is finite)

    Which represents the expression:

    1)Whole Part: bm+b(m-1).c+ b(m-2)c2+


    2)Decimal Part: b(m+1)c-1+b(m+2)c-2+


    An example I think most would be familiar with would be a binary string, say:


    Which stands for:

    1')Whole Part:


    2')Decimal Part:



    So the string 110.0101

    Represents , in base 2, the number 6.325 in base 10.

    Or, like (13.2)10 represents 3.100+1.101 in the

    whole part, and 2.10-1 in the4 decimal part.
    Last edited: Mar 1, 2012
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook