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

  • Thread starter Thread starter SomeRandomGuy
  • Start date Start date
  • Tags Tags
    Primes
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.
 
I asked online questions about Proposition 2.1.1: The answer I got is the following: I have some questions about the answer I got. When the person answering says: ##1.## Is the map ##\mathfrak{q}\mapsto \mathfrak{q} A _\mathfrak{p}## from ##A\setminus \mathfrak{p}\to A_\mathfrak{p}##? But I don't understand what the author meant for the rest of the sentence in mathematical notation: ##2.## In the next statement where the author says: How is ##A\to...
The following are taken from the two sources, 1) from this online page and the book An Introduction to Module Theory by: Ibrahim Assem, Flavio U. Coelho. In the Abelian Categories chapter in the module theory text on page 157, right after presenting IV.2.21 Definition, the authors states "Image and coimage may or may not exist, but if they do, then they are unique up to isomorphism (because so are kernels and cokernels). Also in the reference url page above, the authors present two...
When decomposing a representation ##\rho## of a finite group ##G## into irreducible representations, we can find the number of times the representation contains a particular irrep ##\rho_0## through the character inner product $$ \langle \chi, \chi_0\rangle = \frac{1}{|G|} \sum_{g\in G} \chi(g) \chi_0(g)^*$$ where ##\chi## and ##\chi_0## are the characters of ##\rho## and ##\rho_0##, respectively. Since all group elements in the same conjugacy class have the same characters, this may be...
Back
Top