Divisibility Question: Proving 12|(n^2-1) for Odd n^2 and Non-Divisibility by 3

  • Thread starter Thread starter kreil
  • Start date Start date
  • Tags Tags
    Divisibility
Click For Summary

Homework Help Overview

The discussion revolves around proving that if \( n^2 \) is odd and not divisible by 3, then \( 12 \) divides \( n^2 - 1 \). Participants explore the implications of \( n^2 \) being odd and the conditions under which \( n^2 \) is not divisible by 3.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants discuss the evenness of \( n^2 - 1 \) given that \( n^2 \) is odd. There are attempts to analyze the divisibility of \( n^2 \) by 3 and how it affects \( n^2 - 1 \). Questions arise regarding the remainders when dividing \( n \) by 2 and 3, and how these relate to the divisibility of \( n^2 - 1 \).

Discussion Status

The conversation is ongoing, with various interpretations and approaches being explored. Some participants have suggested connections between the properties of \( n \) and the implications for \( n^2 - 1 \), while others are questioning the logic and seeking clarification on specific points.

Contextual Notes

There is a focus on the conditions that \( n^2 \) is odd and not divisible by 3, which are central to the problem. Participants are also considering the implications of these conditions on the divisibility of \( n^2 - 1 \) by 12.

kreil
Science Advisor
Insights Author
Messages
665
Reaction score
68

Homework Statement


Suppose that [itex]n^2[/itex] is odd and that 3 does not divide [itex]n^2[/itex]. Show that [itex]12|(n^2-1)[/itex]


Homework Equations


none


The Attempt at a Solution


Well I know that since [itex]n^2[/itex] is odd, [itex]n^2-1[/itex] is even. I'm not sure what the next step would be.
 
Physics news on Phys.org
hmm i did some more thinking on this. Please let me know if you think this is correct:

- since [itex]n^2[/itex] is odd, [itex]n^2-1[/itex] is an even number and [itex]2|n^2-1[/itex]

- [itex]n^2[/itex] is not prime since it has at least 3 divisors: {1, n, [itex]n^2[/itex]}

- if 3 does not divide [itex]n^2[/itex], then the remainder of this division must be either 1 or 2 (a remainder of 3 implies that 3 does divide [itex]n^2[/itex]). However, the remainder cannot be 2 or else [itex]n^2[/itex] would be prime, therefore the remainder must be 1.

- this implies 3|[itex]n^2-1[/itex] evenly, since the -1 cancels with the remainder on division with [itex]n^2[/itex].

Since 2|[itex]n^2-1[/itex], 3|[itex]n^2-1[/itex] and [itex]12=2^2 3^1[/itex], it follows that 12|[itex]n^2-1[/itex].
 
Hi kreil! :smile:
kreil said:
Suppose that [itex]n^2[/itex] is odd and that 3 does not divide [itex]n^2[/itex]. Show that [itex]12|(n^2-1)[/itex]

kreil said:
- if 3 does not divide [itex]n^2[/itex], then the remainder of this division must be either 1 or 2

forget n2 :rolleyes:

… what is the remainder if you divide n by 2 or 3? :wink:
 
n is odd

so 2 divides into n with r=1

3 divides into n with r=2 since r=1 implies n is even and r=0 or 3 implies 3 divides [itex]n^2[/itex]soo does this mean that 3 divides into [itex]n^2[/itex] with remainder [itex]r^2[/itex] (i.e. r=1)?
 
kreil said:
3 divides into n with r=2 since r=1 implies n is even

No it doesn't …

what about 7? :wink:
 
oops, so 3|n with r=1 or r=2

what does this mean?
 
kreil said:
oops, so 3|n with r=1 or r=2

that's better! :smile:

now you have the possible remainders for 2 and 3 …

so … ? :wink:
 
so if 3|n with r=1 or r=2, then 3|[itex]n^2[/itex] with r=1 or r=4 and since if r=4 3|4 with r=1, 3|[itex]n^2[/itex] with r=1

is that correct logic?
 
kreil said:
so if 3|n with r=1 or r=2, then 3|[itex]n^2[/itex] with r=1 or r=4 and since if r=4 3|4 with r=1, 3|[itex]n^2[/itex] with r=1

is that correct logic?

wot's incorrect logic? :confused:

anyway, how can 3 divide anything with r = 4??
 
  • #10
tiny-tim said:
wot's incorrect logic? :confused:

anyway, how can 3 divide anything with r = 4??

haha, this doesn't tell me very much about whether what i wrote was right or not...

is it true that if 3|n with remainder r, that 3|[itex]n^2[/itex] with remainder [itex]r^2[/itex]??
 
  • #11
i now know that this problem reduces to the problem of showing that 3|[itex]n^2[/itex] with r=1, i just don't understand how to connect division of n by 2 and 3 to this..
 
  • #12
Hint: 6

and I'm going to bed :zzz:​
 
  • #13
i don't understand how to make the next step to saying 6|n rem 1..

i think I'm missing something here
 
  • #14
for ex if n is 11,

2|11 rem 1

3|11 rem 2

6|11 rem 5...

BUT 6|121 rem 1
 
  • #15
i am so lost on this now...
 
  • #16
just got up :zzz: …

what are the possible remainders on dividing by 6? :smile:
 
  • #17
because of the condition 0<r<6 for the equation n = 6b + r for some b, r can be 1,2,3,4,5.
 
  • #18
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.

uhh? :confused: but n2 is odd and 3 does not divide n2.
 
  • #19
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.)
 
  • #20
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?

[itex]n^2=(2m+1)(2m+1)=4m^2+4m+1 \implies n^2-1=4(m^2+m)[/itex] for some m, and 4|[itex]n^2-1[/itex]

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?

[itex]n^2=9r^2+6r+1[/itex]

or [itex]n^2=9r^2+6r+4[/itex]

so [itex]n^2-1=9r^2+6r=3(3r^2+2r)[/itex]

or [itex]n^2-1=9r^2+6r+3=3(3r^2+2r+1)[/itex]

and in both cases 3|[itex]n^2-1[/itex]

Equivalently, n^2-1 is congruent to what mod what and what? (insert useful things instead of 'what' in that sentence.)

so [tex]n^2-1=(3r^2+2r)(mod 3)[/tex] and [tex]n^2-1=(3r^2+2r+1)(mod 3)[/tex]??
 
  • #21
You have correctly shown that 3 and 4 divide n^2 - 1. So what does that mean? I don't understand what you're attempting to say in your last line, not least because it says that 0=1.
 

Similar threads

  • · Replies 16 ·
Replies
16
Views
3K
Replies
15
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 12 ·
Replies
12
Views
7K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
6
Views
4K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 30 ·
2
Replies
30
Views
4K
Replies
20
Views
2K