Find the sum of all positive integers
such that
ends with exactly
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.
We can use legendre's formula i.e.,
e p ( n ) = n − 1 n − S p ( n )
Which implies that n ≥ 4 0 0 0 . Jumping 5 times and introspecting we get,
4 0 0 5 ≤ n ≤ 4 0 0 9 giving the sum to be 2 0 0 3 5 .