Mod

Discussion in 'General Chat' started by edijs, Dec 19, 2007.

  1. edijs

    edijs Programmer

    Likes Received:
    9
    Trophy Points:
    38
    Hi!

    Some of you might find it amusing, but I'll do it anyway. So, I need to get x if x = 15 (mod 25); I've never understood the concept of this. In some places I find that x=15, others say it's x=10 and again others that x=6. What now? :confused:
     
  2. zeus

    zeus out of date

    Likes Received:
    0
    Trophy Points:
    36
    How can you have 15mod25?
    Do you mean 25mod15? Then the answer is 10.

    Ill be honest and say until I read your post id never even heard of mod! Silly considering ive got a uni qualification in maths! I might be barking up the wrong tree altogether with my reply but a quick google hows mod is really simple.
     
  3. edijs

    edijs Programmer

    Likes Received:
    9
    Trophy Points:
    38
    ok, if we consider 15 (mod 25) and I need to get my number, then google gives me three answers - 15 mod 25 = 15; 25 mod 15 = 10; 15 mod 25 = ~0,6 (the remainder of dividing these numbers). jeez... which freakin' is the damn correct one? :mad:
     

Share This Page