Prime numbers

  • Thread starter Fairy111
  • Start date
  • #1
73
0

Homework Statement



Find a number p and an integer d>2 such that p, p+d and p+2d are all prime.

Homework Equations





The Attempt at a Solution



Any help with how to go about this would be appreciated, thanks.
 

Answers and Replies

  • #2
D H
Staff Emeritus
Science Advisor
Insights Author
15,415
687
You could just guess, of course. Guessing works quite well on this problem.
 
  • #3
Dick
Science Advisor
Homework Helper
26,263
619
Just pick a value of d and check small values of p. You'll want to pick a value of d that's even. Do you see why? I suggest d=4.
 
  • #4
73
0
yes, i see why d needs to be even. Cheers, il just try guesssing. Just didnt know if there was a more mathematical way that i was supposed to go about it.
 
  • #5
HallsofIvy
Science Advisor
Homework Helper
41,847
969
Just pick a value of d and check small values of p. You'll want to pick a value of d that's even. Do you see why? I suggest d=4.

d= 2 is simpler.
 
  • #6
Dick
Science Advisor
Homework Helper
26,263
619

Related Threads on Prime numbers

  • Last Post
Replies
3
Views
2K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
2
Views
856
  • Last Post
Replies
16
Views
806
  • Last Post
Replies
14
Views
2K
  • Last Post
Replies
1
Views
3K
Replies
5
Views
566
  • Last Post
Replies
3
Views
6K
Replies
3
Views
2K
  • Last Post
Replies
1
Views
2K
Top