cragar
- 2,546
- 3
Homework Statement
Prove that n! for n>1 cannot be a square or cube or any other power of an integer.
Hint: There is always a prime between n/2 and n if n>3
The Attempt at a Solution
Lets assume for contradiction that n!=x^r where x and r are natural numbers
and n>3 , so there is some prime p that is between n/2 and n. well this occurs once in prime factorization of n!. Now x has some prime factorization and in order for x^r to be equal to n! the prime p must be in x's prime factorization, but if r>1 then p will have r copies in
x^r so this is a contradiction because numbers have unique prime factorizations so
n! is never a power of an integer for r>1.