Proving the Divisibility of p^2 - q^2 by 24 for Primes p and q

Click For Summary
SUMMARY

The discussion focuses on proving that for any primes p and q greater than or equal to 5, the expression p² - q² is divisible by 24. The participants establish that since both p and q are odd primes, p² - q² is even, ensuring a factor of 2. Additionally, they explore the case where one prime is odd and the other is even, aiming to demonstrate the presence of a factor of 3. The conclusion is that p² - q² will always contain the necessary prime factors to confirm divisibility by 24.

PREREQUISITES
  • Understanding of prime numbers and their properties
  • Basic knowledge of divisibility rules
  • Familiarity with algebraic identities, specifically the difference of squares
  • Experience with mathematical proof techniques
NEXT STEPS
  • Study the properties of prime numbers, particularly odd primes
  • Learn about the difference of squares and its applications in number theory
  • Explore divisibility rules for composite numbers, focusing on 24
  • Research mathematical proof strategies, including direct proof and contradiction
USEFUL FOR

Mathematics students, educators, and anyone interested in number theory, particularly those studying properties of prime numbers and divisibility.

PsychonautQQ
Messages
781
Reaction score
10

Homework Statement


If p and q are both greater than or equal to 5, prove that 24|p^2 - q^2

Homework Equations


none

The Attempt at a Solution


24 = 2^3 * 3.
If p = q = 5, then 24|0.
If p = 7, q = 5, then 24|24.
Any other combination, p^2 - q^2 will be greater than 24. I want to show that p^2 - q^2 will always have a prime factor of either two or three, hence it will be divisible by 24.

If p and q are both odd, p^2 - q^2 will always be even, hence have a two in it's prime factorization.
A similar situation occurs when p and q are both even.

However, when p is odd and q is even, p^2 - q^2 is odd. I want to show that in this case, p^2 - q^2 has a three in it's prime factorization. I checked a few examples on wolfram and they all worked out, can't think of a way to prove this though. Anyone have any gentle guidance :D?
 
Physics news on Phys.org
p2 - q2 = (p + q)*(p - q)
 
  • Like
Likes   Reactions: PsychonautQQ
Thanks... not to mention p and q can never be even since they are primes greater than 5... >.< lol thanks though.
 

Similar threads

Replies
30
Views
3K
Replies
15
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K
Replies
6
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
4
Views
2K
Replies
2
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K