3 thoughts on “The Basics of Bases

  1. How to convert base x to base y where x, y != 10. I can convert it via 10 (base x to base 10, then base 10 to base y) but any other shorter method ?

    • It can be done quickly and efficiently when one of the bases is a power of the other (for example from 2 to 8, or 3 to 9, or 2 to 16). I will cover that case in a post later this week. The technique can be extended for converting from, say, 8 to 16 as well (via 2). From any random base to any other random base, well, probably safest to do the slow and steady method via 10…

      regards
      J

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s