Discrete Mathematics with possible Quotient Remainder Theorem

Click For Summary
The discussion revolves around proving that for any integer m, m^2 can only yield specific remainders when divided by 5, namely 0, 1, or 4. Participants explore the Quotient Remainder Theorem to establish the relationship between m and its square, suggesting that d should equal 5. They analyze the possible values of m modulo 5 and their corresponding squares, concluding that only three distinct remainders arise from squaring integers. The conversation emphasizes understanding modular arithmetic and how it limits the outcomes of m^2 when considered under modulo 5. Ultimately, the participants confirm that they are on the right track in their reasoning about the remainders.
tennesseewiz
Messages
21
Reaction score
0
Homework Statement

For all integers m, m^{}2=5k, or m^{}2=5k+1, or m^{}2=5k+4 for some integer k.


Relevant equations
I'm pretty sure we have to use the Quotient Remainder THM, which is:

Given any integer n and positive integer d, there exists unique integers q and r such that,

n=dq+r and 0 \leqr<d.

But that's as far as I got. I have no idea what to do next.
 
Physics news on Phys.org
Well, it seems pretty obvious what you want d to be. Then square it.
 
No, I have no idea what d is supposed to be. Are you saying that d should equal m and that d squared is m squared?
 
Compare 5k+1 to dq+r.
 
Aaahhh...

So d=5, k=q, and r=1. Would n=m^2? But how would that help me. I mean if you take the square root then n might not possible be an integer anymore...
 
If you've encountered modular arithmetic, use

Code:
n (mod 5)     0  1  2  3  4
n^2 (mod 5)   0  1  4  4  1
 
For any number m, you can write m=5q+r. So what is m2? Combine factors of 5 to see what the remainder is for different r.
 
Okay, I think I'm getting the general idea. I know that r can only be 0,1,2,3 or 4, but when m is squared, those numbers still have to be lower than five, so 0^2 is less than five, as is 1^2 and 2^2. Am I on the right track?
 
Yes, there are five possible remainders, but squared and taken mod 5 there are only three.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
945
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
5K
Replies
15
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
8
Views
2K