- 665
- 68
Homework Statement
Suppose that n^2 is odd and that 3 does not divide n^2. Show that 12|(n^2-1)
Homework Equations
none
The Attempt at a Solution
Well I know that since n^2 is odd, n^2-1 is even. I'm not sure what the next step would be.
kreil said:Suppose that n^2 is odd and that 3 does not divide n^2. Show that 12|(n^2-1)
kreil said:- if 3 does not divide n^2, then the remainder of this division must be either 1 or 2
kreil said:3 divides into n with r=2 since r=1 implies n is even
kreil said:oops, so 3|n with r=1 or r=2
kreil said:so if 3|n with r=1 or r=2, then 3|n^2 with r=1 or r=4 and since if r=4 3|4 with r=1, 3|n^2 with r=1
is that correct logic?
tiny-tim said:wot's incorrect logic?
anyway, how can 3 divide anything with r = 4??
kreil said:because of the condition 0<r<6 for the equation n = 6b + r for some b, r can be 1,2,3,4,5.
matt grime said:tiny tim is pointing you at the Chinese remainder theorem.But let's try a different way.
n is odd, so n=2m+1 for some m. Now what divides n^2-1?
n is not divisible by 3, so either n=3r+1 or 3r+2. In either case, what can you show divides n^2-1?
Equivalently, n^2-1 is congruent to what mod what and what? (insert useful things instead of 'what' in that sentence.)