Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the highest power of 3 available in $58! - 38!$ ( ! stands for factorial)

I can take $38!$ out as common to get $38! ( \frac{58!}{38!} - 1).$ I know how to find out the power of 3 in $38!$ But it is the difference term inside the brackets which I am not able to handle. What power of 3 will be contained in that term?

Is my approach correct in the first place? If yes then how to proceed further and if not then what approach should I take.

share|cite|improve this question
up vote 1 down vote accepted

Hint: $$\frac{58!}{38!} = 3\cdot 13\cdot\frac{58!}{39!}.$$

share|cite|improve this answer
Let's see if I have got it right. The expression essentially becomes 38!*( 3n-1) where n is any integer. But 3n-1 cannot contain any power of 3 so the only power of 3 in the whole expression will be contained in 38!. 38! contains 17 powers of 3 so that is the power of 3 in the whole expression. – Suy Oct 5 '13 at 8:21
Absolutely. ${}$ – njguliyev Oct 5 '13 at 8:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.