# Prove that $p^2-1$ is divisible by 24 for any prime number $p > 3$.

## Answer

\[N=p(p^2-1)=(p-1)p(p+1).\]

One of the three consecutive numbers $p - 1$, $p$, $p + 1$ is divisible by $3$. Also, since $p - 1$ and $p + 1$ are two consecutive even numbers one of them must be divisible by $2$ and the other should be divisible by $4$. Thus $N=(p-1)p(p+1)$ is divisible by $24=3 · 2 · 4,$ i.e.

\[(p-1)p(p+1)=24 k, k \in \mathbb{N}.\]

Since $p>3$ is prime, $2$ or $3$ do not divide $p$. Therefore $(p-1)(p+1)=p^2-1$ is also divisible by $24$.

Savionf

557

The answer is accepted.

Join Matchmaticians Affiliate Marketing
Program to earn up to a 50% commission on every question that your affiliated users ask or answer.

- answered
- 1422 views
- $10.00

### Related Questions

- Solve $abc=2(a-2)(b-2)(c-2)$ where $a,b $ and $c$ are integers
- Wierdly Rational Fractions
- Solve $x^{83}\equiv 7\pmod {139}$
- The last six digits of the number $30001^{18} $
- If both $n$ and $\sqrt{n^2+204n}$ are positive integers, find the maximum value of $𝑛$.
- Quadratic residue
- Elementary num theory Q: or
- bases and number representations Q