Thursday, 28 August 2014

elementary number theory - Prime $p$ with $p^2+8$ prime



I need to prove that there is only one $p$ prime number such that $p^2+8$ is prime and find that prime.



Anyway, I just guessed and the answer is 3 but how do I prove that?


Answer




Any number can be written as $6c,6c\pm1,6c\pm2=2(3c\pm1),6c+3=3(2c+1)$



Clearly, $6c,6c\pm2,6c+3$ can not be prime for $c\ge 1$



Any prime $>3$ can be written as $6a\pm 1$ where $a\ge 1$



So, $p^2+8=(6a\pm 1)^2+8=3(12a^2\pm4a+3)$.



Then , $p^2+8>3$ is divisible by 3,hence is not prime.




So, the only prime is $3$.






Any number$(p)$ not divisible by $3,$ can be written as $3b\pm1$



Now, $(3b\pm1)^2+(3c-1)=3(3b^2\pm2b+c)$.



Then , $p^2+(3c-1)$ is divisible by 3




and $p^2+(3c-1)>3$ if $p>3$ and $c\ge1$,hence not prime.



The necessary condition for $p^2+(3c-1)$ to be prime is $3\mid p$



$\implies$ if $p^2+(3c-1)$ is prime, $3\mid p$.



If $p$ needs to be prime, $p=3$, here $c=3$


No comments:

Post a Comment

real analysis - How to find $lim_{hrightarrow 0}frac{sin(ha)}{h}$

How to find $\lim_{h\rightarrow 0}\frac{\sin(ha)}{h}$ without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...