how does this number system conversion algorithm work?


by 0131313131313
Tags: algorithm, conversion, number, work
0131313131313
0131313131313 is offline
#1
Oct15-10, 08:56 AM
P: 6
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)
Phys.Org News Partner Science news on Phys.org
Better thermal-imaging lens from waste sulfur
Hackathon team's GoogolPlex gives Siri extra powers
Bright points in Sun's atmosphere mark patterns deep in its interior
sjb-2812
sjb-2812 is offline
#2
Oct15-10, 12:16 PM
P: 418
Quote Quote by 0131313131313 View Post
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
CRGreathouse is offline
#3
Oct15-10, 07:36 PM
Sci Advisor
HW Helper
P: 3,680
Looks like Egyptian multiplication.

hamster143
hamster143 is offline
#4
Oct15-10, 08:13 PM
P: 986

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
sjb-2812 is offline
#5
Oct16-10, 04:21 AM
P: 418
Quote Quote by CRGreathouse View Post
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
CRGreathouse is offline
#6
Oct16-10, 03:04 PM
Sci Advisor
HW Helper
P: 3,680
Quote Quote by sjb-2812 View Post
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.


Register to reply

Related Discussions
prime number algorithm Linear & Abstract Algebra 4
prime number algorithm General Math 0
Pseudo random number algorithm Set Theory, Logic, Probability, Statistics 0
Guessing Number-Generating Algorithm Linear & Abstract Algebra 8
Prime number algorithm General Math 3