Skip to content
Procedure

Number of zeros at the end of

Algebra • Permutations and Combinations

Statement

The number of zeros at the end of is , where is the greatest integer.

How to use it

  1. 1Why it works: each end zero is a factor . There are far more s than s in , so the s decide the count.
  2. 2 counts the multiples of ; adds one more for each multiple of , which has two s.
  3. 3The count only rises when reaches a multiple of , so it stays the same for five values of in a row.

Worked example

How many zeros are at the end of ?

Step-by-step

  1. 1

    Why: Multiples of : .

  2. 2

    Why: gives one extra .

  3. 3

Answer

Watch out

Counting only the multiples of misses the extra in , , , and so on.

Builds on

Also known as

trailing zeros, zeros at the end of factorial, highest power of 10 in n!

Appears in past papers

2025 (II)

2019 (II)