Prove that factorial of a number can never be a perfect square.
n(n-1)*(n-2)*...(2)=n^2 assume that it can.
1!
Except that,
0!
@zarkon, -.-
(n-1)(n-2)*...(2)=n
that is disproving it @zarkon
@inkyvoyd Not necessarily n^2 Any k^2
oops too late
ahhg.
NOT 1, guys. Excewpt that
Somewhere in the expansion of n! there is the largest prime factor. (If n is prime, it is n itself, otherwise you have to go looking for it.) But if it is the largest prime factor, it only occurs once, and therefore n! cannot be a square, since in a square every prime factor occurs an even number of times.
@inkyvoyd be careful here, it is not saying that \(n^2=n!\) but rather that \(n^2=m!\)
Yes, I just realized that, and I think sim got the answe r-.-
but wait, he didn't,.
@simamura CAn you prove your conjecture?
How about using Bertrand's Postulate?
i think we use mathematical induction for this one.
Ohhh. Nice FFM. That states that precisely, right?
yeah but better make base case \(n=2\) because as zarkon noted it is false for \(n=1\)
True. Its proved by induction using log right?
this is not trivial there is stuff to be done
There is a always a prime between \(n\) and \(2n\). This means there is prime \(p \) that divides \(n!\) but \(p^2\) does not then \( n!,n>1\) would have even number of divisors always, but a perfect square must have odd number of divisors hence ... QED.
Trivial? Pretty complicated proof to here.
FFM, only, you used a theorem itself that is really hard to prove.
I'd like something more elegant, in the sense that we don't prove something "simpler" with something more difficult.
Agreed.
Theorems are meant to be used ;)
We are trying to prove that the square root of all factorials is not rational, correct? (besides 1)
Correct.
This has something to do with the gamma function, I bet.
I wonder if we can use the fact that the product of consecutive integers is always one less than a perfect square.
4 consecutive integers, I meant.
That's it block, I think.
But, your statement is incorrect :S
It's correct and I can prove it.
(n-1)(n+1)(n)(n+2)=(n^3-n)(n+2)=n^4+2n^3-n^2-2n n^4+2n^3-n^2-2n+1 does not appear to be a perfect square in any way.
Or does it? Gimme a sec.
I wrote "one less than a perfect square". :P
So, n^4+2n^3-n^2-2n+1 must be a perfect square if n is a natural number
(n^2 +n + 1)^2
lool I fail
So, we can prove that 4 consecutive numbers are not a perfect square.
\[n(n+1)(n+2)(n+3)=(n^2+3n)(n^2+3n+2)=[(n^2+3n+1)-1][(n^2+3n+1)+1]\\ =(n^2+3n+1)^2-1\]
Wait, not quit... (n^2+n -1)^2 = (n^2 +n -1)(n^2 +n -1) = n^4 + n^3 -n^2 +n^3 +n^2 -n -n^2 -n +1 = n^4 +2n^3-n^2-2n +1 There we go. It's (n^2 + n -1)^2 not (n^2 +n +1)^2 like I said originally.
My last equation got cut off, let me rewrite: \[n(n+1)(n+2)(n+3)=(n^2+3n)(n^2+3n+2)\\ =[(n^2+3n+1)-1][(n^2+3n+1)+1]\\ =(n^2+3n+1)^2-1\]
It seems like you can break this down into cases and use induction on each case... perhaps?
Cases based on number of consecutive numbers being multiplied, that is.
(n)(n+1)(n+2)(n+3)=u^2-1 (n)(n+1)(n+2)(n+3)(n+3+1) =u^2-1+(u^2-1)(n+3) u^2-1+(u^2-1)(n+3)+(u^2-1)(n+4)
I might have it.
n(n+1)=n^2+n a perfect square would be in the form n^2+2n+1 in other words, n^2+n=n^2+2n+1 n=-1, which is not an integer, so n(n+1) is never a perfect square.
Then, n(n+1)(n+2) =n(n+1)(n)+n(n+1)(2), which is never a perfect square (someone give me the proof)
since that is never a perfect square, n(n+1)(n+2)(n)+n(n+1)(n+2)(3) which is never a perfect square? I've not reduced the problem down any. -.-
maybe instead of n, i'll just have 1.
Join our real-time social learning platform and learn together with your friends!