Here is my proof:
$(p^4 - q^4) \implies (p^2 + q^2)(p-q)(p+q)$
All prime numbers greater than 3 can be expressed as $6x\pm1$, where $x$ is a positive integer.
let $p = 6n\pm1$ and $q = 6m\pm1$, we can show that: $p^2 + q^2 = (6n\pm1)^2 + (6m\pm1)^2$. $p^2 + q^2 = 36n^2 \pm 12n + 36m^2 \pm 12m + 2$, and such, implies $2(\mod6)$, and $2\mid p^2+q^2$.
With regards to (p-q)(p+q),$p$ and $q$ remainders can be $5(\mod6)$ or $1(\mod 6)$ respectively.
Case 1: $p = 5 (\mod 6)$, and $q = (1 \mod6)$
$p+q = 0(\mod6)$, and $p-q = (4 \mod 6)$, therefore:
$6\mid p+q$ and $2\mid p+q$
\
Case 2: $p = 1 (\mod 6)$, and $q = (1 \mod6)$
$p+q = 2(\mod6)$, and $p-q = (0 \mod 6)$, therefore:
$2\mid p+q$ and $6\mid p+q$
\
Case 3: $p = 5 (\mod 6)$, and $q = (5 \mod6)$
$p+q = 4(\mod6)$, and $p-q = (0 \mod 6)$, therefore:
$6\mid p+q$ and $2\mid p+q$.
In all cases, both expressions have a factor of 2, but only one has a factor of 6. Therefore, $12\mid(p^2-q^2)$, and $24\mid(p^2-q^2)(p^2+q^2)$.
However, with my proof, I have only proved that p^4 - q^4, is a factor of 24. However, I don't know how to prove that the expression is also a factor of 48.
Any help would be appreciated, thanks!
\pmod{16}
produces the correct parenthesis and space. E.g.,p^4\equiv 1\pmod{16}
gives $p^4\equiv 1\pmod{16}$. – Arturo Magidin Jan 05 '24 at 02:16