Proving Twin Primes with n and n+2 mod n(n+2)

  • Context: Graduate 
  • Thread starter Thread starter SomeRandomGuy
  • Start date Start date
  • Tags Tags
    Primes
Click For Summary

Discussion Overview

The discussion revolves around proving properties related to twin primes through modular arithmetic and factorials. Participants explore a specific problem involving the expression 4[(n-1)! + 1] + n = 0 mod n(n+2) and its implications for identifying twin primes.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • One participant presents a problem involving the expression 4[(n-1)! + 1] + n = 0 mod n(n+2) and expresses uncertainty about how to approach it.
  • Another participant suggests considering the modular equations separately for n and n+2, referencing Wilson's theorem as a potential tool.
  • A third participant outlines their approach, applying Wilson's theorem to conclude that n must be prime based on the modular conditions derived from the equations.
  • Responses indicate that the first and third parts of the problem are perceived as straightforward by some participants, while the second part remains a point of confusion for others.

Areas of Agreement / Disagreement

Participants generally agree that the first and third questions are easier, but there is no consensus on the approach to the second problem, with some expressing uncertainty and others providing differing methods of reasoning.

Contextual Notes

Participants' approaches depend on the application of Wilson's theorem and modular arithmetic, but there are unresolved steps in the reasoning, particularly regarding the implications of the modular conditions for twin primes.

Who May Find This Useful

Readers interested in number theory, particularly those exploring properties of prime numbers and twin primes, may find this discussion relevant.

SomeRandomGuy
Messages
55
Reaction score
0
1.) Show that (n+1)! = 2(n-1)! mod n+2
I finished this one. Actually very easy.

2.) Let n > 2 be odd. Prove that if 4[(n-1)! + 1] + n = 0 mod n(n+2) holds, then n, n+2 are twin primes. Hint says to use the previous problem.

I don't even know what to do for this problem.

3.) Prove the converse of the theorem in the preceeding problem is also true. Thus, the two problems together constitute a necessary and sufficient condition for (n, n+2) to be a pair of twin primes.

Obviously, if I can figure out #2, this one will be a walk in the park.

Thanks for any help given, I appreciate it.
 
Physics news on Phys.org
For 2), consider 4[(n-1)! + 1] + n = 0 modulo n and modulo n+2 separately. Remember Wilson's theorem.
 
Alright, I think I got it. Let me just make sure before moving on, Here is what I did:

(1) 4(n-1)!+4+n = 0 mod n
(2) 4(n-1)!+4+n = 0 mod n+2

(1) tells us that (n-1)! = -1 mod n since n = 0 mod n. So, by Wilson's theorem, n is prime. There was a little more work with the second equation, but came to the result of (n+1)! = -1 mod n+2 and made a similar conclusion. Is this correct?
 
Looks good. Part 3) should be no problem now?
 
shmoe said:
Looks good. Part 3) should be no problem now?

I haven't looked at it, but our Professor said the first and 3rd questions are really easy. If I have any questions i'll post on here. Thanks for your help man, I really do appreciate it.
 

Similar threads

  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 21 ·
Replies
21
Views
3K
Replies
27
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 10 ·
Replies
10
Views
4K
Replies
17
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
8
Views
4K
  • · Replies 15 ·
Replies
15
Views
2K