Exercise · ZW-FACTORIAL-010 · ★★★ Advanced

How many trailing zeros does \(20!\) have? (Each trailing zero comes from a factor 10 = 2 · 5.)

Choose one option.

Show answer
  • B. \(4\)

Explanation

The factors of 5 in \(20!\) come from 5, 10, 15 and 20: that is 4, and there are plenty of 2s. So there are 4 zeros (\(20!=2432902008176640000\)).

Study Discrete mathematics in ZWMath →

Review the concept: Factorial

The factorial of an integer \(n\ge 0\), written \(n!\), is the product of the positive integers less than or equal to \(n\); that of zero is one by convention.

\[n!=n(n-1)\cdots 2\cdot 1,\quad 0!=1\]

More practice problems: factorial

← ZW-FACTORIAL-009