Find the trailing number of zeros in in base 21 (here 2021 is represented in base 10).
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.
21 = 7 × 3
Since 7 is the bigger prime factor, it will have to be used in the calculations of trailing zeros.
Number of trailing zeros in (2021!)_21
= floor[ 2021 / 7¹ ] + floor[ 2021 / 7² ] + floor[ 2021 / 7³ ]
= 288 + 41 + 5
= 334