As shown below, the last digit of \(n!\) for each of \(n=5, 6, 7\) is zero:
\[5!=12{\color{red}0},\quad 6!=72{\color{red}0},\quad 7!=504{\color{red}0}.\]
Is it true that the last digit of \(n!\) is zero for all positive integers \(n>4?\)

Excel in math and science

Master concepts by solving fun, challenging problems.

It's hard to learn from lectures and videos

Learn more effectively through short, interactive explorations.

Used and loved by over 6 million people

Learn from a vibrant community of students and enthusiasts,
including olympiad champions, researchers, and professionals.

Your answer seems reasonable.
Find out if you're right!