Find the number of zeroes at the end of 9 9 9 9 ! .
Clarification
For example, for 1 2 ! = 4 7 9 , 0 0 1 , 6 0 0 the answer would be 2 because if we look at the end there is a chain of 2 zeroes
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.
For the first addend in the second equation, did you mean to write 1 9 9 9 , not 2 3 9 9 ?
Log in to reply
Yeah I'm sorry typing mistake. I've fixed that now
1 2 3 4 5 6 7 8 9 10 11 12 13 |
|
The number of trailing zeros in 9 9 9 9 ! is computed per:
⌊ 5 9 9 9 9 ⌋ = 1 9 9 9 ⇒ ⌊ 5 1 9 9 9 ⌋ = 3 9 9 ⇒ ⌊ 5 3 9 9 ⌋ = 7 9 ⇒ ⌊ 5 7 9 ⌋ = 1 5 ⇒ ⌊ 5 1 5 ⌋ = 3 < 5
Thus, we have 1 9 9 9 + 3 9 9 + 7 9 + 1 5 + 3 = 2 4 9 5 trailing zeros.
Problem Loading...
Note Loading...
Set Loading...
E 5 ( 9 9 9 9 ! ) = ⌊ 5 9 9 9 9 ⌋ + ⌊ 2 5 9 9 9 9 ⌋ + ⌊ 1 2 5 9 9 9 9 ⌋ + ⌊ 3 1 2 5 9 9 9 9 ⌋ + ⌊ 1 5 6 2 5 9 9 9 9 ⌋ + ⋯
E 5 ( 9 9 9 9 ! ) = 1 9 9 9 + 3 9 9 + 7 9 + 1 5 + 3 + 0 = 2 4 9 5