17 in binary
17 in binary is 10001 (5 bits).
17 in binary is 10001
1710 = 100012. Also 21 in octal (base 8) and 11 in hexadecimal (base 16).
Method: divide by 2 and keep the remainders
| Divide | Quotient | Remainder |
|---|---|---|
| 17 | 8 | 1 |
| 8 | 4 | 0 |
| 4 | 2 | 0 |
| 2 | 1 | 0 |
| 1 | 0 | 1 |
Read the remainders from the bottom up: 10001.
Check it: binary place values
| Place | Digit | Value |
|---|---|---|
| 16 | 1 | 16 |
| 8 | 0 | 0 |
| 4 | 0 | 0 |
| 2 | 0 | 0 |
| 1 | 1 | 1 |
16 + 1 = 17.
Nearby numbers in binary
| Decimal | Binary |
|---|---|
| 16 | 10000 |
| 17 | 10001 |
| 18 | 10010 |
| 34 | 100010 |
๐งฎ Calculator
The answer appears here, with the working in words.
โ๏ธ Five questions, answers hidden
1. Write 18 in binary.
Answer: 10010
2. Write 34 in binary.
Answer: 100010
3. Convert 10100 to decimal.
Answer: 20
4. Write 255 in binary.
Answer: 11111111
5. Write 17 in octal.
Answer: 21
๐ The class this belongs to
Binary numbers are taught in middle-school maths and in computing (KS3 computing in the UK, AP Computer Science Principles in the US, Class 11 Computer Science in CBSE).
If this page is the homework and the method is not sticking, that is what a 1-on-1 class fixes: one tutor with a master's degree, one child, on a shared whiteboard, in your time zone, about US$10 to $13 an hour. How 1-on-1 online tutoring works.
