Proving Impossibility of Integer n in Modular Arithmetic

  • Thread starter Thread starter mike1
  • Start date Start date
  • Tags Tags
    Arithmetic
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
23 replies · 4K views
mike1
Messages
14
Reaction score
0

Homework Statement



Prove that it is impossible to find an integer n, such that

n^2 = 2 mod(4) or n^2 = 3 mod(4)

Hence or otherwise, prove that there do not exist integers m and n such that

3m^2 - 1 = n^2

Homework Equations





The Attempt at a Solution



Since n must be congruent to each of 0,1,2,3, n^2 must be congruent to 0,1,4,9 but what do I do next to prove this?
 
Physics news on Phys.org
Well, if (for example) [itex]n^2 \equiv 9\pmod 4[/itex], and you know that [itex]9 \equiv 1\pmod 4[/itex],then you can tell that [itex]n^2 \equiv ??\pmod 4[/itex]
 
mike1 said:

Homework Statement



Prove that it is impossible to find an integer n, such that

n^2 = 2 mod(4) or n^2 = 3 mod(4)

Hence or otherwise, prove that there do not exist integers m and n such that

3m^2 - 1 = n^2

Homework Equations





The Attempt at a Solution



Since n must be congruent to each of 0,1,2,3, n^2 must be congruent to 0,1,4,9 but what do I do next to prove this?

Welcome to PF, mike! :smile:

Can you simplify 0,1,4,9 mod 4?
Is any of those congruent to 2 or to 3?
 
Sorry, still confused :(
 
As you say, n^2 must be congruent to one of 0,1,4,9.

Writing something "mod 4", means you are only interested in the remainder after division by 4.
What is the remainder if you divide for instance 9 by 4?
 
So: 9 = 1 mod(4), since 9-1 = 8/4=2
 
0= mod(4)
1= mod(4)
4= 0 mod(4)
9= 1 mod(4)
 
No, because 0/4 or 1/4 is not 2 or 3? & hence it's impossible to find an integer to satisfy it?
 
Thanks :)

For part b) Since n^2 is congruent to 0 or 1 mod(4), after re-arranging we see that
3m^2 = n^1+1, so then n^2 + 1 is congruent to 1 or 2 mod(4). What should be done about the 3m^2?
 
Is it 0,1,4,9 but then times by 3 so 0,3,12,27? Or is that completely wrong..
 
Oh! So the remainders of 3m^2 are 0,3,0,3. So 3m^2 is congruent to 0 or 3 mod(4), but how we combine both of expressions?
 
Last edited:
How do I compare it to that?
Can I say since 3m^2=n^2+1, then 3m^2 is congruent to 0,1,2,3 mod(4)?...
 
If we had 3m2=n2+1, then we know that 3m2=n2+1 (mod 4). What are the possible values of the left hand side? What are the possible values of the right hand side? (these were calculated earlier in the thread) Is it possible for the left hand and right hand side to be equal?
 
Office_Shredder said:
If we had 3m2=n2+1, then we know that 3m2=n2+1 (mod 4). What are the possible values of the left hand side? What are the possible values of the right hand side? (these were calculated earlier in the thread) Is it possible for the left hand and right hand side to be equal?

Do you mean 0,3,0,3 and 0,1,0,1?
 
Last edited:
Ignore...
 
Last edited:
I like Serena said:
Almost.
You should have different numbers...
(Look back in the thread.)

yeah, I've got it now..thanks :)