Trailing zeros Problem!

The number of trailing zeros in 100! is


The answer is 24.

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.

3 solutions

Given 100 ! 100! = 2 x × 5 y × 3 z . . . . . . 2^{x} \times 5^{y} \times 3^{z}... ... , there are 4 5 2 5^{2} 's and 16 5 1 5^{1} 's. (The number of 2's is not a problem.) So the number of TRAILING ZEROES, not ZEROES, is 4 × 2 + 16 4 \times 2 + 16 = 24 \boxed{24} .

A new way!

Swapnil Das - 6 years, 1 month ago

Log in to reply

And not confused, Swapnil bro, you should write " trailing zeroes", because your question could confuse everybody, leading all of us solvers to also find the number of 0's inside! :)

Bryan Lee Shi Yang - 6 years, 1 month ago

Log in to reply

oops, let me change it!

Swapnil Das - 6 years, 1 month ago

Log in to reply

@Swapnil Das Also, no floor function is needed.

Bryan Lee Shi Yang - 6 years, 1 month ago

Log in to reply

@Bryan Lee Shi Yang it is possible to calculate through it!

Swapnil Das - 6 years, 1 month ago

Log in to reply

@Swapnil Das How? Maybe You can show us all, and teach us new things!

Bryan Lee Shi Yang - 6 years, 1 month ago

Log in to reply

@Bryan Lee Shi Yang 100 5 + 100 25 = 20 + 4 = 24 \left\lfloor \frac { 100 }{ 5 } \right\rfloor \quad +\quad \left\lfloor \frac { 100 }{ 25 } \right\rfloor \quad =\quad 20\quad +\quad 4\quad =\quad 24

Abyoso Hapsoro - 6 years, 1 month ago

@Bryan Lee Shi Yang Greatest integer function with 5 as the divisors, its consecutive powers, try it out!

Swapnil Das - 6 years, 1 month ago
Sudoku Subbu
Apr 19, 2015

100 ! = 1 × 2 × 3 × . . . . . . . . . . . . . × 99 × 100 100!=1\times2\times3\times. . . . . . . . . . . . .\times99\times100 ,the no.of zeros in 100! = [ 100 5 1 ] + [ 100 5 2 ] . . . . . . . . . . . . . . . . . . [\frac{100}{5^1}]+[\frac{100}{5^2}] . . . . . . . . . . . . . . . . . . Note:[2.3]=2 = > n o . o f . z e r o s = 20 + 4 + 0 + 0 + . . . . . . . . . . . . . . = 24 =>no. of. zeros = 20 + 4 + 0 + 0 + . . . . . . . . . . . . . . =24

David Holcer
Apr 16, 2015

lol 24 solvers

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...