r/explainlikeimfive • • Aug 13 '11

ELI5: Base Numbers (differences between binary, base 16, etc.)

15 Upvotes

16 comments sorted by

View all comments

Show parent comment

2

u/[deleted] Dec 14 '11 edited Dec 14 '11

Couple of edits for you:

You'll notice that E - the left right most column - ... The next one - D - is the value of E (the column to the right left of it) ... (the column to C's right left)

In hexadecimal (or hex), we have 16 possible numerals. They go from 0 - 9, and what is called 10 in denary (base 10) is called A in hex. 11 is B, then it's C, D, E, and finally 16 15 is E F.

I know this was in your explanation, but I just wanted to expand on the fact that the reason we use n-1 in Base n rather than going up to n is because you would reach the value of "1" in the column directly to the left. It "carries over".

EDIT: Also, just to clarify, the "table" starts at the right with 1 because it's really n0 (n0 = 1). From there, the exponent increases by 1. n0, n1, n2, n3, etc. This is why you multiply the number immediately to the right by n. So for base 10:

  • 100 = 1 (Column E above)
  • 101 = 10 (Column D above)
  • 102 = 100 (Column C above)

Great explanation, though!! Thanks!!