edited by
3,447 views
1 votes
1 votes
How to multiply two numbers in the given base without converting them into decimals?

$(1230)_4 \text{ and } (23)_4$
edited by

1 Answer

Best answer
1 votes
1 votes

In base 4 we can use numbers from 0 to 3.

The rules for multiplication are simple If after any arithmetic operation the numbers go beyond the base (in this case upto 3) then use the idea of carry. 

Consider multiplying 1230 with 3. 

First multiply 3 X 0 = 0 (no problem)

Then multiply 3 X 3 = 9. it is beyond base (not within 0 to 3).  9%4 = 1 which is our result and carry is $\lfloor\frac{9}{4}\rfloor$=2.

When multiplied 3 X 2 = 6 + 2(from carry) = 8 (still beyond) 8%4 = 0 which is our result and carry is $\lfloor\frac{8}{4}\rfloor$=2.

and so on..

Answer is $102210_4$

selected by

Related questions

0 votes
0 votes
0 answers
1
Redcom1988 asked Dec 23, 2023
190 views
Design a counter according to the state diagram above using only NAND gates and JK Flip-flops (if needed) complete with state tables
0 votes
0 votes
1 answer
2
Priyankalora asked Jul 30, 2023
892 views
Find the complement of the following Boolean functions and reduce them to a minimum number of literalsa) (BC'+A'D)(AB'+CD')b)B'D+A'BC'+ACD+A'BCc)[(AB)'A][(AB)'B]d)AB'+C'D...
0 votes
0 votes
0 answers
3
Harsh Kumar asked May 9, 2018
375 views
I just wanted to know whether I may leave the sections 5.8 (Programmable Logic Array) and section 5.9 (Programmable Array Logic) of Morris Mano book for GATE preparation....
0 votes
0 votes
0 answers
4
anandi753951 asked Nov 16, 2023
160 views
ANALYZE THE CIRCUIT GIVEN ABOVE.