|
Question 945824: How many zeros are there at the end of 2005!
Answer by KMST(5328) (Show Source):
You can put this solution on YOUR website! 
If there are zeros at the end, it means that
where is an integer that is not divisible by 10
(it does not have any zeros at the end).
It all comes down to prime factorizations.
Since every even number
(from to ),
has as a factor, I am sure that
the prime factorization of includes ,
repeated as a factor at least times.
I am sure that must also appear as a factor many times
in the prime factorization of ,
although not as many times as does.
The 's and 's can be paired together
to make factors that together make the part of .
Any leftover 's will be part of .
I am sure has repeated as a factor many times,
but it does not also have as a factor,
so it is not a multiple of .
All the 's that were factors of 
are in , and conversely,
all the 's that are factors of the 
were already in .
So, all we have to do is find the exponent that has in the prime factorization of .
Since <---> , we know that
appears at least times in the prime factorization of .
It appears in that factorial as the factor ,
as the number , as the number ,
and so on, all the way to the the factors
and .
There are also some factors that contribute more than one to the prime factorization.
For example, and all its multiples
(such as , , , , and so on),
contribute at least one extra to the prime factorization of .
In all, and its multiples contribute at least
extra 's to the prime factorization of ,
because  <---> .
Some of those multiples of and are also
multiples of , so they contribute to the prime factorization of 
one more as a factor than the other multiples of and .
There are exactly of those,
from to because  .
Finally, among the numbers that are multiples of , and , there are some
(like and its multiples)
that contribute to the prime factorization of 
one more as factor than all the others.
There are just of those:
, , and .
Taking into account
the 's contributed by every multiple of ,
the extra 's contributed by every multiple of ,
the extra 's contributed by every multiple of , and
the extra 's contributed by the multiples of ,
there are exactly 's in the prime factorization of .
|
|
|
| |