DistantNews
Support us
Math Puzzle: What Is the Last Digit of the Sum of Factorials from 1 to 2026?
๐Ÿ‡ฉ๐Ÿ‡ช Germany /Culture & Society

Math Puzzle: What Is the Last Digit of the Sum of Factorials from 1 to 2026?

From Der Spiegel · () German

Translated from German, summarized and contextualized by DistantNews.

At a glance

Analysis Sources not specified Context piece
  • The article presents a mathematical puzzle: finding the last digit of the sum of factorials from 1! to 2026!.
  • It explains that factorials from 5! onwards always end in zero because they include factors of 2 and 5, resulting in a multiple of 10.
  • Therefore, only the sum of the first four factorials (1! + 2! + 3! + 4! = 33) determines the last digit, which is 3.

This week's mathematical puzzle challenges readers to determine the final digit of a sum involving factorials: 1! + 2! + 3! + ... + 2026!.

The problem, presented without the aid of calculators or AI, requires understanding the properties of factorials. A factorial (denoted by an exclamation mark) is the product of all positive integers up to a given number. For instance, 3! equals 1 * 2 * 3, which is 6.

The key to solving this puzzle lies in observing the pattern of the last digits of factorials. While 1! = 1, 2! = 2, 3! = 6, and 4! = 24, all subsequent factorials (5! and higher) will always end in zero. This is because each of these factorials includes the numbers 2 and 5 in their product, which multiply to 10. Any number multiplied by 10 ends in zero.

Consequently, when calculating the last digit of the sum 1! + 2! + 3! + ... + 2026!, all terms from 5! onwards can be disregarded as they contribute only a zero to the final digit. The sum of the last digits is therefore determined solely by the first four terms: 1! + 2! + 3! + 4! = 1 + 2 + 6 + 24 = 33. The final digit of this sum is 3.

DistantNews Editorial

Originally published by Der Spiegel in German. Translated, summarized, and contextualized by our editorial team with added local perspective. Read our editorial standards.