How much more basic can you get BTW?

I mean:

4789 =

4 * 1000 + 7 * 100 + 8 * 10 + 9

Thats base 10

With base 2, it's the same thing except that instead of having 10 digits to select from, you only have 2 (0 and 1). Each place digit value regardless of whether it's base 2 or base 10 or base 8, is always set up the same:

Code:

4789 = (4 * 10^3) + (7 * 10^2) + (8 * 10^1) + (9 * 10^0)
4789 = (4 * 1000) + (7 * 100) + (8 * 10) + (9 * 1)
4789 = 4000 + 700 + 80 + 9

Notice that you multiply the digit by the base number raised to the power of the position.

so:

Code:

101010 = (1 * 2^5) + (0 * 2^4) + (1 * 2^3) + (0 * 2^2) + (1 * 2^1) + (0 * 2^0)
101010 = (1 * 32) + (0 * 16) + (1 * 8) + (0 * 4) + (1 * 2) + (0 * 1)
101010 = 32 + 0 + 8 + 0 + 2 + 0
101010 = 42