Quick question about modulus: -8 (modulus equal operator) |blank space| (mod 7) is it -1?
can you restate the question? this is not clear
-8 (modulus equal operator) |blank space| (mod 7)
Hi
The question is asking you to find the remainder when -8 is divided by 7 Still remember long division ?
Hi, @ganeshie8 ;) This time just flying around modular arithmetics, trying to get basics really good (and being amazed about some neat problems and how easy it is to solve everything with modulus).
Yeah, I think that the answer would be -1, is it right?
-1 is one remainder But it is not the least nonnegative remainder
So, the answer is 6?
(seems so weird that dividing -8 could give off 6 as a remainder, but I guess it has some logic behind itself)
Awesome! modular arithmetic and congruences are really useful if you're preparing for Olympiads They simplify many divisibility proofs
Let me ask you a question
Yes? ;)
Suppose you owe me 8 cookies
Today morning you gave me 14 cookies. How many cookies you owe me now ?
0 ;) (or -6, if you say :D)
Looks that is a poor example ... scratch that haha
Keep this one thing in mind while you study modular arithmetic :
when you divide a number by another number, the remainder is NOT unique.
What do you mean by that?
What's the remainder when you divide 5 by 3 ?
2 and -1
Are those the only remainders possible ?
Do you mean that from irrational numbers we could do something as fancy as 5/3 = 1.6 with a remainder of 0.0(6)?
The remainders when 5 is divided by 3 are all the numbers of form 3k + 2
Notice that 2 is the least nonnegative remainder herw
Oh! I got what you mean now!
I'll let you keep going with your textbook or whatever. Enjoy ..
Thank you very much, @ganeshie8 :)
Np :)
Join our real-time social learning platform and learn together with your friends!