SOLUTION: How many 9s are there at the end of the number (60!-50!-1)? (n!=n*(n-1)*(n-2)*...3*2*1)

Algebra.Com
Question 1188402: How many 9s are there at the end of the number (60!-50!-1)?
(n!=n*(n-1)*(n-2)*...3*2*1)

Answer by greenestamps(13200)   (Show Source): You can put this solution on YOUR website!

# of 0's at the end of 60!
  60/5 = 12
  12/5 =  2
 -----------
         14

# of 0's at the end of 50!
  50/5 = 10
  10/5 =  2
 -----------
         12

There are 14 trailing 0's in 60! and only 12 in 50!, so 60!-50! has 12 trailing 0's.

That means 60!-50!-1 has 12 trailing 9's.

Using the pari calculator, available online: 60!-50!-1 = 8320987112741390113862247981509986337141564440296477108071636127449087 999 999 999 999

which indeed has 12 trailing 9's


RELATED QUESTIONS

The notation n! = n•(n-1)•(n–2)• • • • • •3•2•1. For example, 5! = 5•4•3•2•1 = 120. How... (answered by MathLover1)
The notation n! = n•(n-1)•(n–2)• • • • • •3•2•1. For example, 5! = 5•4•3•2•1 = 120. How... (answered by ikleyn,MathLover1)
find the sum of following series:... (answered by Edwin McCravy)
List all elements of the set A ∩ B, where A = {n ∈ N | n = 2^n − 1} and (answered by richard1234)
If m,n are integers, how many solutions are there to... (answered by ankor@dixie-net.com)
(n+1)! /... (answered by swincher4391)
n!(n+2)=n!+(n+1)! (answered by LinnW)
Given n!= n(n-1)(n-2)...(1) where n is a natural number greater than one. Find the... (answered by Edwin McCravy)
Which of the following expressions must be positive for all values of n? n^2 + n... (answered by josgarithmetic)