How does this number system conversion algorithm work?

  • Context: Undergrad 
  • Thread starter Thread starter 0131313131313
  • Start date Start date
  • Tags Tags
    Algorithm System Work
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 4K views
0131313131313
Messages
6
Reaction score
0
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)
 
Physics news on Phys.org
No, I think he simply means conversion of 50 into binary. 50 = 110010 = 32+16+2.
 
CRGreathouse said:
Looks like Egyptian multiplication.

Yes, if you look at the link I posted this is the same thing as what I call Russian multiplication.
 
sjb-2812 said:
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.