Physics Forums

Physics Forums (http://www.physicsforums.com/index.php)
-   Linear & Abstract Algebra (http://www.physicsforums.com/forumdisplay.php?f=75)
-   -   How does this number system conversion algorithm work? (http://www.physicsforums.com/showthread.php?t=438285)

0131313131313 Oct15-10 08:56 AM

how does this number system conversion algorithm work?
 
50 | 0
25 | 1
12 | 0
6 | 0
3 | 1
1 | 1
0

how does it work?

(I know how to use the algorithm... my question is about how it can do the conversion)

sjb-2812 Oct15-10 12:16 PM

Re: how does this number system conversion algorithm work?
 
Quote:

Quote by 0131313131313 (Post 2934493)
50 | 0
25 | 1
12 | 0
6 | 0
3 | 1
1 | 1
0

how does it work?

(I know how to use the algorithm... my question is about how it can do the conversion)

What are you trying to show? 50 in binary? Russian multiplication (http://en.wikipedia.org/w/index.php?...ldid=383433098 ) ?

CRGreathouse Oct15-10 07:36 PM

Re: how does this number system conversion algorithm work?
 
Looks like Egyptian multiplication.

hamster143 Oct15-10 08:13 PM

Re: how does this number system conversion algorithm work?
 
No, I think he simply means conversion of 50 into binary. 50 = 110010 = 32+16+2.

sjb-2812 Oct16-10 04:21 AM

Re: how does this number system conversion algorithm work?
 
Quote:

Quote by CRGreathouse (Post 2935252)
Looks like Egyptian multiplication.

Yes, if you look at the link I posted this is the same thing as what I call Russian multiplication.

CRGreathouse Oct16-10 03:04 PM

Re: how does this number system conversion algorithm work?
 
Quote:

Quote by sjb-2812 (Post 2935651)
Yes, if you look at the link I posted this is the same thing as what I call Russian multiplication.

And this method, in turn, is closely related to the binary representation of the number.


All times are GMT -5. The time now is 12:12 PM.

Powered by vBulletin Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2014 Physics Forums