UPSC CSAT 2025 Q20: Unit Digit of Product of Odd Numbers — Solved

What is the unit digit in the multiplication of 1 × 3 × 5 × 7 × 9 × . . . × 999?

  1. 1
  2. 3
  3. 5
  4. 9

Answer: (c) 5

Solution

  1. Identify the numbers being multiplied. They are 1, 3, 5, 7, 9, 11, …, 999. These are all the odd numbers from 1 to 999, so there are (999 + 1)/2 = 500 factors.
  2. Only the unit digit of each factor matters, because the unit digit of a product depends only on the unit digits of its factors.
  3. Check for a factor of 5. The number 5 itself is in the list. So are 15, 25, 35, …, 995. The product is therefore a multiple of 5.
  4. Check for a factor of 2. Every factor is odd. A product of odd numbers is always odd. So the product has no factor of 2.
  5. Combine the two facts. A multiple of 5 ends in 0 or 5. It ends in 0 only if it is also divisible by 2, that is, divisible by 10. Our product is odd, so it cannot end in 0.
  6. Check directly. Write the product as 5 × (product of all the other factors). The other factors are all odd, so their product is some odd number N, with unit digit 1, 3, 5, 7 or 9. Then 5 × 1 = 5, 5 × 3 = 15, 5 × 5 = 25, 5 × 7 = 35, 5 × 9 = 45. Every case ends in 5.
  7. Answer: the unit digit is 5.

Option-wise explanation

  • a: incorrect — You get 1 if you leave out the multiples of 5 and track only the digits 1, 3, 7, 9. Each block of ten gives 1 × 3 × 7 × 9 = 189, ending in 9, and 9 multiplied an even number of times ends in 1. That is the trap: the factor 5 is ignored.
  • b: incorrect — No valid working gives 3. A product that contains 5 must end in 0 or 5. Getting 3 usually means stopping after the first two factors, 1 × 3, or guessing.
  • c: correct — The product contains the factor 5 and has no factor of 2, because every factor is odd. An odd multiple of 5 always ends in 5.
  • d: incorrect — You get 9 if you work out only the first block, 1 × 3 × 7 × 9 = 189, skip 5, and assume the pattern stays the same. It ignores the factor 5 and the repetition of the block.

How to eliminate

Look at the options before you calculate. Since 5 is one of the factors, the product is a multiple of 5 and can only end in 0 or 5. Only one option is 0 or 5, so you can mark it immediately. To confirm, there is no even factor, so 0 is impossible. Do not compute any blocks of 1 × 3 × 7 × 9: that path takes time and leads to the distractors 9 and 1. About 10–20 seconds once you spot the 5. Attempt it in the first pass.

Know more

Unit digit of a product: check for 5 and 2 first

Before working through any cycle, check two things:

Factors present Unit digit of the product
a factor of 5 and an even factor 0
a factor of 5, all factors odd 5
no factor of 5, at least one even factor 2, 4, 6 or 8 (compute it)
no factor of 5, all factors odd 1, 3, 7 or 9 (compute it)

In the last two rows, multiply unit digits only and drop the tens after each step.

Useful block: 1 × 3 × 7 × 9 = 189, which ends in 9. Since 9 × 9 = 81 ends in 1, an even number of such blocks ends in 1 and an odd number ends in 9.

Worked variant: Find the unit digit of the product of all odd numbers from 1 to 99 that are not multiples of 5.

  • There is no 5 and no even factor, so the answer is 1, 3, 7 or 9.
  • Each ten (1–9, 11–19, …, 91–99) gives unit digits 1, 3, 7, 9, so each block ends in 9.
  • There are 10 blocks, and 9 to the power 10 ends in 1 (even power).
  • Answer: 1.

This variant is exactly the working behind one distractor in the original question. Removing the 5 changes the answer from 5 to 1.