Factorial n, written n!, is defined by: n! = 1 × 2 × 3 × · · · × n.
What is the remainder when 1!+2!+3!+4!+5!+6!+7!+8!+9!+10! is divided by 5?
A. 0 B. 1 C. 2 D. 3 E. 4
D. 3
We have
1! = 1,
2! = 1 × 2 = 2,
3! = 1 × 2 × 3 = 6,
4! = 1 × 2 × 3 × 4 = 24,
5! = 1 × 2 × 3 × 4 × 5 = 120.
We see that 5! has 0 as its units digit.
Similarly, for n > 5, n! = 1 × 2 × 3 × 4 × 5 × · · · × n and is therefore a multiple of 10.
Hence n! also has units digit 0 for n > 5. It follows that the units digit of 1! + 2! + 3! + 4! + 5! + 6! + 7! + 8! + 9! + 10! is the same as the units digit of 1! + 2! + 3! + 4!.
Now 1! + 2! + 3! + 4! = 1 + 2 + 6 + 24 = 33.
Hence its units digit is 3.
Therefore the units digit of 1! + 2! + 3! + 4! + 5! + 6! + 7! + 8! + 9! + 10! is also 3. Hence theremainder when this number is divided by 5 is 3
Preparing for the Junior Maths Challenge?
Join a free weekly live lesson where I solve real JMC-style problems, explain key methods, and share what to focus on in your weekly practice.
You can join live or watch the replay - everyone is welcome.
📅 Every Tuesday
⏰ 18:30–19:30 (UK time)
💻 Live session (link sent by email)

This course guides you through the fundamentals of Python programming using an interactive Python library known as Turtle.

This course encompasses a range of Geometry topics such as coordinate and spatial geometry, introductory trigonometry, angles, parallel lines, congruent and similar triangles, polygons, circles, the Pythagorean Theorem, and more. Emphasis will be placed on reinforcing Algebra skills and enhancing critical thinking through problem-solving in both mathematical and real-world contexts.

Ask about our courses and offerings, and we will help you choose what works best for you.