Results 1 to 4 of 4

Math Help - Modulo - shouldn't it be 0?

  1. #1
    Junior Member
    Joined
    Aug 2010
    Posts
    32

    Modulo - shouldn't it be 0?

    Hi,

    Why is it (for example) that 2 mod 5 is 2, not 0? Modulo is just the remainder of (in this case) dividing 2 by 5, and since it doesn't divide as a whole number, it just makes sense to me that it should be 0. Would anyone mind explaining why it doesn't work like this?

    Thanks!
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Junior Member Youkla's Avatar
    Joined
    Oct 2011
    Posts
    26

    Re: Modulo - shouldn't it be 0?

    Because \frac{2}{5} is 0 with a remainder of 2.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Junior Member
    Joined
    Aug 2010
    Posts
    32

    Re: Modulo - shouldn't it be 0?

    So obvious - beautifully stated. You are a king.
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Member anonimnystefy's Avatar
    Joined
    Jul 2011
    Posts
    157
    Thanks
    3

    Re: Modulo - shouldn't it be 0?

    you can look at it like this:

    a \equiv b\ (\mod m)

    is the same as saying:

    m|a-b
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Shouldn't you remove the integrating factor?
    Posted in the Differential Equations Forum
    Replies: 3
    Last Post: January 1st 2011, 07:15 PM
  2. Replies: 1
    Last Post: October 20th 2009, 05:34 PM
  3. Replies: 1
    Last Post: November 8th 2008, 06:46 AM
  4. Integral (shouldn't be too hard)
    Posted in the Calculus Forum
    Replies: 1
    Last Post: October 29th 2008, 08:57 PM
  5. Eigenvalue (Shouldn't it be simple?)
    Posted in the Advanced Algebra Forum
    Replies: 2
    Last Post: May 9th 2007, 09:34 AM

Search Tags


/mathhelpforum @mathhelpforum