Results 1 to 3 of 3

Math Help - Converting base 10 to Negabinary(base -2), about dividing with a negative number

  1. #1
    Newbie
    Joined
    Apr 2010
    Posts
    8

    Converting base 10 to Negabinary(base -2), about dividing with a negative number

    I know that one can covert number in base 10 to another bases by dividing the base number to covert to and take the remainders in reverse order to get the result.

    but for negative bases, how exactly it can be done?
    As according to wiki, the same calculation can be used, but how exactly to divide a number with negative number?

    Ofcuz, I know 6/-3 = -2 , -6/-3 = 2

    but how is -5/-3 = 2 with 1 as remainder?
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Super Member
    earboth's Avatar
    Joined
    Jan 2006
    From
    Germany
    Posts
    5,830
    Thanks
    123
    Quote Originally Posted by yutiwu View Post
    ...

    but how is -5/-3 = 2 with 1 as remainder?
    To your last question:

    \frac{-5}{-3} = \frac{-6+1}{-3} = \frac{-6}{-3}~\text{remainder  }1
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Apr 2010
    Posts
    8
    Quote Originally Posted by earboth View Post
    To your last question:

    \frac{-5}{-3} = \frac{-6+1}{-3} = \frac{-6}{-3}~\text{remainder  }1
    Thanks for replying, I got 1 more question though.

    how would I get a 0 remainder when dividing 1 by -2?
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Base Conversion - Negative Base
    Posted in the Number Theory Forum
    Replies: 7
    Last Post: August 3rd 2010, 05:13 AM
  2. Replies: 1
    Last Post: March 7th 2010, 06:14 PM
  3. Replies: 4
    Last Post: January 9th 2009, 04:36 AM
  4. Dividing powers with the same base?
    Posted in the Algebra Forum
    Replies: 6
    Last Post: November 24th 2008, 03:44 PM
  5. Replies: 1
    Last Post: September 7th 2008, 07:47 AM

Search Tags


/mathhelpforum @mathhelpforum