Find the trailing zeros of the number when it is written in base 3.
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.
In base 3, as with all prime bases, a zero is added to n! only when there is a zero at the end of the number.
100! = 1 * 2 * 10 * 11 * 12 * 20 * 21 * 22 * 100: there are 4 zeros ( 1 from 10, one from 20 and 2 from 100.)