Number theory

1 ! , 2 ! , 3 ! , , 2016 ! \large 1! , 2!, 3!, \ldots , 2016!

The product of all but one of the integers above results in a perfect square . Which number is it?

If the number can be expressed as x ! x! , where x x is some integer, submit x x as your answer.

Notation : ! ! denotes the factorial notation. For example, 8 ! = 1 × 2 × 3 × × 8 8! = 1\times2\times3\times\cdots\times8 .


The answer is 1008.

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.

2 solutions

Sabhrant Sachan
Jul 30, 2016

Let P = 1 ! 2 ! 3 ! 2015 ! 2016 ! P = 1 2016 2 2015 3 2014 201 5 2 201 6 1 P = 2 4 6 2014 2016 ( 1 2016 2 2014 3 2014 201 5 2 ) P = 1008 ! 2 1008 ( 1 2016 2 2014 3 2014 201 5 2 ) Perfect Square P = 1!\cdot 2! \cdot 3! \cdots 2015! \cdot 2016! \\ P = 1^{2016}\cdot 2^{2015}\cdot 3^{2014} \cdots 2015^{2} \cdot 2016^1 \\ P= 2\cdot 4\cdot 6\cdots 2014\cdot 2016 \left( 1^{2016}\cdot 2^{2014}\cdot 3^{2014} \cdots 2015^{2} \right) \\ P = 1008!\cdot \underbrace{2^{1008}\left( 1^{2016}\cdot 2^{2014}\cdot 3^{2014} \cdots 2015^{2} \right)}_{\text{Perfect Square}}

Our Answer : 1008 ! \boxed{1008!}

Giorgio Coniglio
Jul 31, 2016

The only possible solution to this problem is when the last number in the sequence is a multiple of 4. And the solution is removing factorial of n/2 to get a perfect square. If n/2 is also a perfect square, factorial of (n/2 - 1) is also a solution.

Example:

1!.2!.3!.4!.5!.6!.7!.8! = (2^23).(3^9).(5^4).(7^2) is not a perfect square, but when we remove 4! the resulting product = (2^20).(3^8).(5^4).(7^2) becomes a perfect square. Since 4 is also a perfect square, if we remove 3! we also get a perfect square which is (2^22).(3^8).(5^4).(7^2).

In the case 1!.2!.3!.4!.5!.6!.7!.8!.9!.10!.11!.12!.13! = (2^66).(3^31).(5^13).(7^7).(11^3).(13^1) there is no single number whose factorial we can remove that will make it a perfect square since 13 is not a multiple of 4.

So, since 2016 is a multiple of 4, the solution is 2016/2 which is 1008. But, since 1008 is not a perfect square, he is the only solution.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...