How many trailing zeroes are in the decimal representation of n = 1 + k = 1 ∑ 2 0 1 3 k ! ( k 3 + 2 k 2 + 3 k + 1 ) ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Calculating the sum ∑ k = 1 2 0 1 3 k ! ( k 3 + 2 k 2 + 3 k + 1 ) in a direct manner would not be an easy task. So, would like to telescope the series, so we can easily find the sum
Now, observe that k 3 + 2 k 2 + 3 k + 1 = ( k + 1 ) 3 − k 2
Hence, k = 1 ∑ 2 0 1 3 k ! ( k 3 + 2 k 2 + 3 k + 1 ) = k = 1 ∑ 2 0 1 3 k ! ( ( k + 1 ) 3 − k 2 )
= k = 1 ∑ 2 0 1 3 ( k + 1 ) 3 k ! − k 2 k ! = k = 1 ∑ 2 0 1 3 ( k + 1 ) 2 ( k + 1 ) ! − k 2 k !
Now it's easy to calculate the sum, = ( 2 2 2 ! − 1 2 1 ! ) + ( 3 2 3 ! − 2 2 2 ! ) + … ( 2 0 1 4 2 − 2 0 1 4 ! − 2 0 1 3 2 2 0 1 3 ! ) = 2 0 1 4 2 2 0 1 4 ! − 1 2 1 !
Thus, n = 1 + 2 0 1 4 2 2 0 1 4 ! − 1 = 2 0 1 4 2 2 0 1 4 !
We know, that there will be no trailing zeroes in the decimal representation of 2 0 1 4 2 . And so we now need to know the trailing zeroes in 2 0 1 4 ! , which is similar to calculating exponent of 1 0 (or 5 × 2 ) in 2 0 1 4 !
Since, exponent of 5 will be less than that of 2 , so it's enough to calculate the exponent of 5 , which is
= [ 5 2 0 1 4 ] + [ 5 2 2 0 1 4 ] + [ 5 3 2 0 1 4 ] + [ 5 4 2 0 1 4 ] + … = 5 0 1
Thus there will be 5 0 1 trailing zeroes in decimal representation of n = 1 + ∑ k = 1 2 0 1 3 k ! ( k 3 + 2 k 2 + 3 k + 1 )
You said there is no trailing zero in decimal representation of 2014^2 and that is fine. However, 2014^2 ends in 4 and this WILL add a zero to the product of 2014^2.(2014!) if 2014! ended in 5. You need to show also that 2014! DOES not end in 5 as the first non-zero trailing digit.
Log in to reply
Ah.....Sorry , I missed that point. (But unfortunately I cannot edit my solution) Thanks, for pointing out my mistake
And typo: 2014^2 ends in 6 :P
Not really. We are already calculating all exponents of 5 that is sufficient. Also, obviously last non-zero digit of 2014! will be even and not odd.
k = 1 ∑ 2 0 1 3 k ! ( k 3 + 2 k 2 + 3 k + 1 ) = k = 1 ∑ 2 0 1 3 k ! ( k 3 + 3 k 2 + 3 k + 1 ) − k ! ( k 2 )
k = 1 ∑ 2 0 1 3 k ! ( ( k + 1 ) 3 ) − k ! ( k 2 ) = k = 1 ∑ 2 0 1 3 ( k + 1 ) ! ( ( k + 1 ) 2 ) − k ! ( k 2 )
= ( 2 ! 2 2 − 1 ! 1 2 ) + ( 3 ! 3 2 − 2 ! 2 2 ) + ( 4 ! 4 2 − 3 ! 3 2 ) + . . . + ( 2 0 1 4 ! 2 0 1 4 2 − 2 0 1 3 ! 2 0 1 3 2 )
= 2 0 1 4 ! 2 0 1 4 2 − 1 ! 1 2
⟹ n = 2 0 1 4 ! 2 0 1 4 2
Now exponent of 5 in n will be 4 0 2 + 8 0 + 1 6 + 3 = 5 0 1
(formula used with proof: http://2000clicks.com/mathhelp/NumberTh10FactorialDivisors.aspx)
Now exponent of 2 in n will be greater than 1 0 0 0 .
So exponent of 1 0 in n = 5 0 1 ⟹ no. of trailing zeros = 5 0 1
Really nice....I factorised it inan awkward way.... :(
1 2 3 4 5 6 7 8 9 |
|
Ans: 501
Problem Loading...
Note Loading...
Set Loading...
n = 1 + k = 1 ∑ 2 0 1 3 k ! ( ( k + 1 ) 3 − k 2 )
= 1 + k = 1 ∑ 2 0 1 3 ( ( k + 1 ) ! ( k + 1 ) 2 − k ! k 2 )
= 1 + ( 2 0 1 4 ) 2 ( 2 0 1 4 ) ! − 1 = ( 2 0 1 4 ) 2 2 0 1 4 !
Now, no. of trailing zeroes = exponent of 5 = r = 1 ∑ 4 ⌊ 5 r 2 0 1 4 ⌋ = 5 0 1