Converting Numbers to Binary, Hexadecimal, and Octal

Let's convert the given numbers:

Conversion of 29 to binary, hexadecimal, and octal:

2910 to binary: 101101

2910 to hexadecimal: B5E

2910 to octal: 5536

Conversion of 31 to binary, decimal, and octal:

E316 to binary: 1110001100010110

E316 to hexadecimal: 16142

E316 to decimal: 58134

Conversion of 59 to binary, decimal, and octal:

5916 to binary: 101100100010110

5916 to decimal: 22806

5916 to octal: 54426

Conversion of 01001010 to decimal, octal, and hexadecimal:

01001010 to decimal: 149

01001010 to octal: 225

01001010 to hexadecimal: 95

It's important to note that for the numbers 438 and 618, 8 is not a valid digit for octal conversion.

← The intersection of programmers and languages Expected value in betting games →