All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Factors and Primes (Posted on 2007-01-24) Difficulty: 3 of 5
Prove that n!-1 is a composite number when n>3 and n+2 is a prime.

No Solution Yet Submitted by atheron    
Rating: 4.6667 (3 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Solution Comment 3 of 3 |
If n+2 is prime, then by Wilson's theorem
(n+1)! = -1 (mod (n+2))
=> n! = 1 (mod (n+2))
=> n!-1 =0 (mod (n+2))
If (n+2) is prime, then n!-1 is divisible by (n+2)
making n!-1 a composite number.

  Posted by Praneeth on 2007-09-27 06:01:18
Please log in:
Remember me:
Sign up! | Forgot password

Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (4)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Copyright © 2002 - 2018 by Animus Pactum Consulting. All rights reserved. Privacy Information