Skip to content
Get started

Last nonzero digit of 30!

MediumBrainteasers6 min

30!30! ends in a run of zeros. What is its last nonzero digit? (No calculator: find a method that works mod 10.)

Show hints (2)+
  1. Trailing zeros come from 2×52\times5 pairs. How many 5s are in 30!30!? How many 2s?
  2. Strip all 2s and 5s from each factor and multiply the rest mod 10; then put back the surplus 2s.

Answer

Reveal answer →

8

Create a free account to see the full worked solution and track your progress.

Interview format: Numerical Reasoning Tests, Prop Trading

Related questions