42 in Binary
42 in binary is 101010. Unlike the decimal number system where we use the digits 0 to 9 to represent a number, in a binary system, we use only 2 digits that are 0 and 1 (bits). We have used 6 bits to represent 42 in binary. In this article, let us learn how to convert the decimal number 42 to binary.
How to Convert 42 in Binary?
Step 1: Divide 42 by 2. Use the integer quotient obtained in this step as the dividend for the next step. Repeat the process until the quotient becomes 0.
Dividend | Remainder |
---|---|
42/2 = 21 | 0 |
21/2 = 10 | 1 |
10/2 = 5 | 0 |
5/2 = 2 | 1 |
2/2 = 1 | 0 |
1/2 = 0 | 1 |
Step 2: Write the remainder from bottom to top i.e. in the reverse chronological order. This will give the binary equivalent of 42.
Therefore, the binary equivalent of decimal number 42 is 101010.
☛ Decimal to Binary Calculator
Let us have a look at the value of the decimal number 42 in the different number systems.
- 42 in Binary: 42₁₀ = 101010₂
- 42 in Octal: 42₁₀ = 52₈
- 42 in Hexadecimal: 42₁₀ = 2A₁₆
- 101010₂ in Decimal: 42₁₀
Problem Statements:
What is 42 in Binary? - (Base 2) | (101010)₂ |
What is 42 in Hexadecimal? - (Base 16) | (2A)₁₆ |
What is 42 in Octal? - (Base 8) | (52)₈ |
Square Root of 42 | 6.480741 |
Is 42 a Composite Number? | Yes |
Is 42 a Perfect Square? | No |
Is 42 a Perfect Cube? | No |
Cube Root of 42 | 3.476027 |
Is 42 a Prime Number? | No |
FAQs on 42 in Binary
What is 42 in Binary?
42 in binary is 101010. To find decimal to binary equivalent, divide 42 successively by 2 until the quotient becomes 0. The binary equivalent can be obtained by writing the remainder in each division step from the bottom to the top.
How Many Bits Does 42 in Binary Have?
We can count the number of zeros and ones to see how many bits are used to represent 42 in binary i.e. 101010. Therefore, we have used 6 bits to represent 42 in binary.
What is the Binary Equivalent of 42 + 6?
42 in binary number system is 101010 and 6 is 110. We can add the binary equivalent of 42 and 6 using binary addition rules [0 + 0 = 0, 0 + 1 = 1, 1 + 1 = 10 note that 1 is a carry over to the next bit]. Therefore, (101010)₂ + (110)₂ = (110000)₂ which is nothing but 48.
☛ Binary to Decimal Calculator
Find the Value of 7 × 42 in Binary Form.
We know that 42 in binary is 101010 and 7 is 111. Using the binary multiplication rules (0 × 0 = 0; 0 × 1 = 0 ; 1 × 0 = 0 and 1 × 1 = 1), we can multiply 101010 × 111 = 100100110 which is 294 in the decimal number system. [42 × 7 = 294]
How to Convert 42 to Binary Equivalent?
We can divide 42 by 2 and continue the division till we get 0. Note down the remainder in each step.
- 42 mod 2 = 0 - LSB (Least Significant Bit)
- 21 mod 2 = 1
- 10 mod 2 = 0
- 5 mod 2 = 1
- 2 mod 2 = 0
- 1 mod 2 = 1 - MSB (Most Significant Bit)
Write the remainders from MSB to LSB. Therefore, the decimal number 42 in binary can be represented as 101010.
☛ Also Check:
- 5 in Binary - 101
- 61 in Binary - 111101
- 125 in Binary - 1111101
- 45 in Binary - 101101
- 126 in Binary - 1111110
- 89 in Binary - 1011001
- 51 in Binary - 110011
visual curriculum