Factorize the Factorial

If n n is a natural number such that it follows the constraints (n-1)! + 1 is a multiple of n n and is also a perfect square, what is the value of n n ?


The answer is 5.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

According to Wilson's theorem, (n-1)! + 1 is divisible by n if and only if n is prime. Hence, n is prime.

Until now, there are only 3 known values of (n-1)! + 1, which are perfect squares:

4! + 1 = 25

5! + 1 = 121

7! + 1 = 5041

Therefore, from these values, the values of n in (n-1)! + 1 are 5, 6, & 8. Since n is prime, only number 5 works.

As a result, n = 5.

How did you came to know about "until now" ?

Aakash Khandelwal - 4 years ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...