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 Puzzle Solution Comment 4 of 4 |
Let m=n+2
If m is a prime number, then in terms of Wilson's Theorem we must have:
(m-1)! == - 1 (mod m)
=> (m-2)! == 1 (mod m)
=> (m-2)! -1 == 0 (mod m)
So, if m is a prime number, then (m-2)! - 1 is divisible by m.
Recalling that m= n+2, we now observe that:
(m-2)!-1 or, n!-1 is a composite number.


  Posted by K Sengupta on 2022-07-11 23:47:15
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


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

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information