Is $p^3+4$ Prime if Both $p$ and $p^2+8$ are Prime Numbers?

  • Context: MHB 
  • Thread starter Thread starter Albert1
  • Start date Start date
  • Tags Tags
    Prime
Click For Summary

Discussion Overview

The discussion revolves around the question of whether the expression $p^3 + 4$ is prime given that both $p$ and $p^2 + 8$ are prime numbers. The scope includes mathematical reasoning and exploration of prime properties.

Discussion Character

  • Mathematical reasoning

Main Points Raised

  • Some participants assert that if both $p$ and $p^2 + 8$ are prime, then $p^3 + 4$ should also be prime.
  • Others reiterate the same claim without providing additional details or proofs.
  • There is a lack of diverse viewpoints or counterarguments presented in the posts.

Areas of Agreement / Disagreement

Participants appear to agree on the premise that if $p$ and $p^2 + 8$ are prime, then $p^3 + 4$ is also prime, but no evidence or counterexamples are provided to challenge this view.

Contextual Notes

The discussion does not explore the implications of specific values for $p$ or the conditions under which the statements hold true, leaving some assumptions unexamined.

Who May Find This Useful

Readers interested in prime number properties and mathematical proofs may find this discussion relevant.

Albert1
Messages
1,221
Reaction score
0
both $p$ and $p^2+8$ are prime numbers

prove :$p^3+4 $ is also prime
 
Mathematics news on Phys.org
Albert said:
both $p$ and $p^2+8$ are prime numbers

prove :$p^3+4 $ is also prime

proof:

p is either 2 or 3 or of the form $(6n\pm1)$

if p is of the form $(6n\pm1)$

then $p^2 + 8 = 36n^2\pm12n + 9 = 3 (12n^2 \pm4n + 3)$ divisible by 3 and the value is greater than 3 so not a prime if p = 2 then $p^2 + 8=12$ and not a prime

so only p =3 is left and $p^2+ 8 = 17$ is a prime and p =3 is the only number satisfies the given criteria and $p^3+ 4 = 31$ is a prime as well
 
Albert said:
both $p$ and $p^2+8$ are prime numbers
prove :$p^3+4 $ is also prime
$p\neq 2$ for $2^2+8=12$ is not a prime
let $p=3k=3 (\,\,here \,\,k=1)---(1)$
then $3^2+8=17,$ and $3^3+4=31$ both are prime
if $p=3k+1(k\in N)---(2)$ then $p^2+8=9k^2+6k+9$ not prime
if $p=3k+2(k\in N)---(3)$ then $p^2+8=9k^2+12k+12$ not prime
so the only possible solution is $p=3$ and the proof is done
 
Last edited:
I claim that$$p^2+8\equiv0\mod{3}\quad\forall\,p\ne3$$Consider$$p^2\equiv1\mod{n}$$$$p^2-1\equiv0\mod{n}$$$$(p-1)(p+1)\equiv0\mod{n}$$Now,$$p-1,p,p+1$$are three consecutive integers, hence 3 divides $p-1$ or 3 divides $p+1$ (if $p\ne3$), so we have$$p^2\equiv1\mod{3}\quad\forall\,p\ne3$$hence$$p^2+8\equiv0\mod{3}\quad\forall\,p\ne3$$Also,$$3^2+8=17$$is prime and$$3^3+4=31$$is prime, as required.$$\text{ }$$
 
Last edited:

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 24 ·
Replies
24
Views
3K
Replies
1
Views
1K
Replies
16
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
1
Views
2K