I need to find that the number of the 0's at the end of the number is odd or even in a factorial.
For example:
$0! = 1$ (Even)
$5! = 120 $ (Odd)
$18! = 6402373705728000 $ (Odd)
Dou you have any idea about this problem?
I need to find that the number of the 0's at the end of the number is odd or even in a factorial.
For example:
$0! = 1$ (Even)
$5! = 120 $ (Odd)
$18! = 6402373705728000 $ (Odd)
Dou you have any idea about this problem?