31

I'm new here (on Mathematics Stack Exchange). Also, I'm a 10th grade student not a math expert.

So, my question is whether,

$$\sqrt {n!} $$

comes in the set of the Natural Numbers.

There were some answers when I tried to search on Google. But, it was out of my knowledge, that is, I didn't read/learnt the methods, functions, etc. they were using. So, if possible give a detailed explanation. And pardon me if there is some good answer there and if if it's there then please share a link.

Asaf Karagila
  • 405,794
Mayank M.
  • 709
  • 7
    Usually not, but if $n=1$ then $\sqrt{1!}=1$. Another example is $n=0$ and $\sqrt{0!}=1$. – vadim123 Jun 04 '16 at 17:56
  • 5
    Are you asking if it always is an integer (it's not), or sometimes an integer, or infinitely often an integer? – Clement C. Jun 04 '16 at 18:00
  • @vadim123 How can $$\sqrt {0!} $$ be 1? 0! means 0 (I suppose if my concepts are clear) and $$\sqrt{0} $$ is 0. Please correct me if I'm wrong. – Mayank M. Jun 04 '16 at 18:11
  • 26
    No, $0!$ is equal to $1$. The reason is that you have $n!=\prod_{k=1}^n k$, i.e. you multiply all integers $1\leq k \leq n$. When $n=0$, the set of integers ${k\mid 1\leq k\leq n}$ is empty, so you "multiply nothing together": and an empty product is equal to $1$ (like an empty sum is equal to $0$) to be consistent with the axioms defining product (and addition). @MayankM. – Clement C. Jun 04 '16 at 18:13
  • @MayankM. Sorry, I don't understand what you mean by the above. Can you elaborate? – Clement C. Jun 05 '16 at 12:49
  • 1
    Oh I'm really sorry the above comment was a mistype, I've delected it now. I meant $$x^{0}=1$$. Is that related with it? – Mayank M. Jun 05 '16 at 17:26
  • @MayankM. Yes $x^0=1$ is another instance of the fact that multiplying zero numbers together gives 1. – Alice Ryhl Jun 08 '16 at 09:42

2 Answers2

70

For any $n \gt 1$ there will be some prime in the range $(n/2,n]$ which will only occur once in the factorization of $n!$ by Bertrand's Postulate. This will ensure that $\sqrt{n!}$ is not an integer.

Ross Millikan
  • 383,099
  • Wow. How did you think of a proof so quickly and neatly? – Saikat Jun 05 '16 at 04:45
  • 15
    @user230452: it depends on what you have in your toolbox. If you know Bertrand's Postulate, it is easy. If you don't, it is hard. There are many tools not in my toolbox, but I have this one. – Ross Millikan Jun 05 '16 at 04:55
  • Coincidentally, I was recently studying Erdos' proof of the very same proof! Are you a professor? – Saikat Jun 05 '16 at 05:02
  • 2
    @user230452: no, I am an interested amateur – Ross Millikan Jun 05 '16 at 05:03
  • 2
    Even if you don't immediately have a proof in mind a perfect square most have an even number power of every prime factor. thus each and every prime between 1..n most occur in factors an even number of times. That should seem extremely unlikely and should set you to think how frequently do primes occur and in particular if p is the largest prime < n and it occurs at least twice so n > 2p and from p to 2p there must be no primes. That seems unlikely because... well... now you have something to think about. – fleablood Jun 05 '16 at 06:10
  • Thanks all of you for clarifying my doubts and letting me learn new things. – Mayank M. Jun 05 '16 at 08:16
  • See also http://math.stackexchange.com/questions/31973/n-is-never-a-perfect-square-if-n-geq2-is-there-a-proof-of-this-that-doesn. – lhf Jun 05 '16 at 12:11
17

Look at the prime factors of $n!$. If the square root of $n!$ was an integer, then $n!$ would be the square of an integer, and in the square of an integer, all prime factors occur an even number of times.

For example, if you take $100!$, which ends with $\cdots 95\times 96\times 97\times 98\times 99\times 100$, you see the prime number $97$. That prime number only occurs once in the factorisation of $100!$. All primes from $51$ to $100$ occur only once in the factorisation of $100!$. Therefore $100!$ is not a square.

There is a theorem that there is always a prime number between $n$ and $2n$, and therefore any factorial starting with $2$! has one prime factor that only comes up once.

bjb568
  • 321
gnasher729
  • 10,611
  • 20
  • 38