Counting trailing zeros in a factorial in any base Published by One Step! Code on November 14, 2020 The number of trailing zeros in the factorial in any base can be calculated as the number of times the base can be factored from the factorial. Continue readingCounting trailing zeros in a factorial in any base