Prove that 12 | n^2-1 if g.c.d. (n,6)= 1.

  • Context: Undergrad 
  • Thread starter Thread starter Fisicks
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around proving that 12 divides \( n^2-1 \) given that the greatest common divisor of \( n \) and 6 is 1. The scope includes mathematical reasoning and proof techniques.

Discussion Character

  • Mathematical reasoning, Technical explanation, Debate/contested

Main Points Raised

  • One participant claims to have proved the statement using Fermat's Little Theorem, asserting that \( 3 | n^2-1 \) and \( 2 | n-1 \), concluding that since \( n^2-1 \) is always greater than or equal to 24, then \( 12 | n^2-1 \).
  • Another participant presents a proof by factoring \( n^2-1 \) as \( (n-1)(n+1) \), noting that since \( \gcd(n,6)=1 \), \( n \) must be odd, making both \( n-1 \) and \( n+1 \) even, thus \( 4 | (n-1)(n+1) \). They further argue that either \( n \equiv 1 \mod 3 \) or \( n \equiv 2 \mod 3 \), leading to \( 3 | (n-1)(n+1) \) and concluding that \( 12 | (n-1)(n+1) \).
  • One participant expresses appreciation for the elegance of the proof presented by another, indicating a positive reception of the reasoning.
  • A new participant acknowledges the welcome received in the forum, contributing to the community aspect of the discussion.

Areas of Agreement / Disagreement

Participants generally agree on the validity of the proof provided by the second participant, but there is no consensus on the need for alternative proofs or methods, as expressed by the first participant.

Contextual Notes

Some participants express uncertainty about specific steps in the proofs, particularly regarding congruences and the implications of the gcd condition.

Who May Find This Useful

This discussion may be useful for those interested in number theory, proof techniques, and mathematical reasoning related to divisibility and congruences.

Fisicks
Messages
84
Reaction score
0
Prove that 12 | n^2-1 if g.c.d. (n,6)= 1.

I'm pretty sure i already proved this using fermats little theorem, 3 | n^2-1 and 2| n-1, and since n^2-1 is always greater than or equal to 24, (cept for n=1 in which case any number dividies into 0) therefore since 12=2*2*3, 12 | n^2-1

This isn't really atheistically pleasing, can anyone do this a different way?
 
Last edited:
Physics news on Phys.org


hi there

n^2-1 = (n-1)(n+1)
gcd(n,6)=1 implies n is odd, so n-1 is even and n+1 is even, thus 4|(n-1)(n+1)
gcd(n,6)=1 implies: either n=1 mod 3 (in which case n-1 = 0 mod 3)
or n=2 mod 3 (in which case n+1 = 0 mod 3),
in both cases 3|(n-1)(n+1)
From 4|(n-1)(n+1) and 3|(n-1)(n+1) we conclude that 12|(n-1)(n+1)
 


i followed your proof up to the congruence part, I am new to this, and that's very simple and clever, i like it.
 


I don't have my own proof for this, but what Liwuinan said is right (as far as I can tell anyway). I loved the elegance of it. Simple and sweet, just like a proof should be
 


thank you guys for a nice welcome to this forum! :)
 

Similar threads

  • · Replies 25 ·
Replies
25
Views
4K
  • · Replies 26 ·
Replies
26
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 27 ·
Replies
27
Views
4K
Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K