Prove that n!-1 is a composite number when n>3 and n+2 is a prime.
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.