Prove P is prime

For students of class 9-10 (age 14-16)
User avatar
Zzzz
Posts:172
Joined:Tue Dec 07, 2010 6:28 am
Location:22° 48' 0" N / 89° 33' 0" E
Prove P is prime

Unread post by Zzzz » Tue Feb 08, 2011 8:35 pm

If $P$ divides $(P-1)!+1$, prove that $P$ is a prime.
Every logical solution to a problem has its own beauty.
(Important: Please make sure that you have read about the Rules, Posting Permissions and Forum Language)

Hasib
Posts:238
Joined:Fri Dec 10, 2010 11:29 am
Location:খুলনা, বাংলাদেশ
Contact:

Re: Prove P is prime

Unread post by Hasib » Tue Feb 08, 2011 8:49 pm

nice problem to face.
A man is not finished when he's defeated, he's finished when he quits.

User avatar
Tahmid Hasan
Posts:665
Joined:Thu Dec 09, 2010 5:34 pm
Location:Khulna,Bangladesh.

Re: Prove P is prime

Unread post by Tahmid Hasan » Tue Feb 08, 2011 8:56 pm

i solved it once so i'll not post the soln,but here' a hint.
what are the properties of prime ad odd numbers? ;)
বড় ভালবাসি তোমায়,মা

photon
Posts:186
Joined:Sat Feb 05, 2011 3:39 pm
Location:dhaka
Contact:

Re: Prove P is prime

Unread post by photon » Sat Mar 12, 2011 9:19 am

suppose P isn't prime.P has some divisors.these divisors must be be lesser than P-1.
then P divides (P-1)!.but P divides (P-1)!+1.
so P cannot be non-prime.
P is prime. :)
Try not to become a man of success but rather to become a man of value.-Albert Einstein

Hasib
Posts:238
Joined:Fri Dec 10, 2010 11:29 am
Location:খুলনা, বাংলাদেশ
Contact:

Re: Prove P is prime

Unread post by Hasib » Sat Mar 12, 2011 3:53 pm

its reverse once is also true. If p is a prime, then p divides (p-1)!+1 :) the wilson theorem
A man is not finished when he's defeated, he's finished when he quits.

User avatar
Moon
Site Admin
Posts:751
Joined:Tue Nov 02, 2010 7:52 pm
Location:Dhaka, Bangladesh
Contact:

Re: Prove P is prime

Unread post by Moon » Sun Mar 13, 2011 7:25 am

Certainly this is wilson's Theorem; however, what Zzzz wanted to indicate is that the reverse of this theorem is also true.
"Inspiration is needed in geometry, just as much as in poetry." -- Aleksandr Pushkin

Please install LaTeX fonts in your PC for better looking equations,
learn how to write equations, and don't forget to read Forum Guide and Rules.

User avatar
Masum
Posts:592
Joined:Tue Dec 07, 2010 1:12 pm
Location:Dhaka,Bangladesh

Re: Prove P is prime

Unread post by Masum » Sun Jun 19, 2011 10:58 pm

Zzzz wrote:If $P$ divides $(P-1)!+1$, prove that $P$ is a prime.
Well, if $n|(n-1)!+1$ with $n=ab,a,b>1$ then $a<n-1$ and so $a|(n-1)!$ and also $a|n|(n-1)!+1$ implying that $a|1$, a clear contradiction!
One one thing is neutral in the universe, that is $0$.

mahathir
Posts:24
Joined:Tue Feb 15, 2011 11:01 pm

Re: Prove P is prime

Unread post by mahathir » Sat Sep 17, 2011 10:34 am

well,we know,if $p$ is not a prime,then it will have a prime divisor between $1$ and \[\sqrt{p}\] so, it will share a common factor with $(p-1)$ but not with $1$. so,$p$ cannot be a composite number.Hence,since it has to be a number(the question states that it does divide) so,it will be a prime number.
Also,check wilson's theorem,In mathematics, Wilson's theorem states that a natural number n > 1 is a prime number if and only if \[(n-1)!\equiv -1(mod n)\]

Post Reply