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

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 PsychonautQQ
Thanks... not to mention p and q can never be even since they are primes greater than 5... >.< lol thanks though.
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top