Problems from System of decimal, binary and hexadecimal numeration

Find the equivalents of the following numbers in base $$10$$:

$$(101010)_2$$

$$(2220)_3$$

$$(246)_7$$

$$(BA)_{12}$$

$$(21G)_{16}$$

$$(358)_8$$

See development and solution

Development:

To solve the exercises it is enough to decompose the numbers in power.

The first one is a binary number of $$6$$ digits, then its powers will decrease from $$5$$ to $$0$$:

$$(101010)_2=1\cdot2^5+0\cdot2^4+1\cdot2^3+0\cdot2^2+1\cdot2^1+0\cdot2^0=$$

$$=32+0+8+0+2+0=42$$

The second case, is a ternary number of $$4$$ digits, so its exponents will decrease from $$3$$ to $$0$$:

$$(2220)_3=2\cdot3^3+2\cdot3^2+2\cdot3^1+0\cdot3^0=54+18+6+0=78$$

The third one is a number in base $$7$$:

$$(246)_7=2\cdot7^2+4\cdot7^1+6\cdot7^0=98+28+6=132$$

In the fourth number, it is necessary to remember that letters replace numbers of more than two digits, so that $$A=10$$ and $$B=11$$:

$$(BA)_{12}=((11)(10))_{12}=11\cdot12^1+10\cdot12^0=132+10=142$$

The fifth number is a trick:

$$(21G)_{16}$$

The number is expressed in the hexadecimal system which, as has already been said, uses letters, but G is not one of them, since a number in base $$16$$ uses $$16$$ symbols: $$10$$ from $$0$$ to $$9$$ and $$6$$ from A to F.

The solution of the problem is, therefore, that this number does not make any sense, so that it is not possible to translate it into the decimal system.

Something similar happens with the last number:

$$(358)_8$$

As in the previous case, a number in octal base uses $$8$$ symbols: from $$0$$ to $$7$$. $$8$$ is not included, that is the reason why this number does not make sense either, and it is not possible to calculate its decimal equivalent.

Solution:

$$42$$

$$78$$

$$132$$

$$142$$

It does not make sense.

It does not make sense.

Hide solution and development
View theory