0

I am a not a math major. Have tried with some of the first $1000$ primes. Has not failed.

4 Answers4

2

Such primes aren't divisible by $3$. But$$3|p\pm 1\implies 3|(p+1)(p-1)=p^2-1\implies3|p^2-1-3\times3=p^2-10.$$

J.G.
  • 115,835
2

$p=3n+1$ or $p=3n+2$,

so $p^2=9n^2+6n+1=3(3n^2+2n)+1$ or $p^2=9n^2+12n+4=3(3n^2+4n+1)+1$;

in any event, $p^2=3m+1$, so $p^2-10=3m-9=3(m-3)$ is a multiple of $3$.

J. W. Tanner
  • 60,406
2

First, if $P^2-10$ is divisible by 3 then so is $P^2-1$ simplifying the problem.
Because prime numbers greater then three don’t divide three they have two options:

  1. $P$ is divides 3 with reminder 1. then,$P=3k+1$ For some $k$.
    If we square it we get $P^2=9k^2+6k+1$ Because $\overbrace{9k^2 + 6k + 1}^{P^2} - 1 = 3(3k^2 + 2k)$ the condition holds.
  2. $P$ is divides 3 with reminder 2. then,$P=3k+2$ For some $k$.
    If we square it we get $P^2=9k^2+12k+4$ Because $\overbrace{9k^2 + 12k + 4}^{P^2} - 1 = 3(3k^2 + 4k+1)$ the condition holds.
razivo
  • 2,205
1

All primes $>3$ are numbers of the form $p=6k\pm 1$. so $p^2=36k^2 \pm 12k +1$ and $p^2-10=36k^2 \pm 12k -9 =3(12k^2 \pm 4k -3)$, i.e. a multiple of $3$.