• Support PF! Buy your school textbooks, materials and every day products Here!

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,393
682
You could just guess, of course. Guessing works quite well on this problem.
 
  • #3
Dick
Science Advisor
Homework Helper
26,258
618
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,792
920
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,258
618

Related Threads for: Prime numbers

  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
3
Views
1K
  • Last Post
Replies
2
Views
6K
  • Last Post
Replies
3
Views
1K
  • Last Post
Replies
6
Views
3K
  • Last Post
Replies
2
Views
654
  • Last Post
Replies
1
Views
1K
Top