UPSC CSAT 2023 Q8: Unit Digit of a Large Power — Solved

What is the unit digit in the expansion of (57242)^(9×7×5×3×1)?

  1. 2
  2. 4
  3. 6
  4. 8

Answer: (a) 2

Solution

  1. Only the unit digit of the base affects the unit digit of a power. The base 57242 ends in 2, so the question becomes: what is the unit digit of 2^(9×7×5×3×1)?
  2. Work out the exponent: 9 × 7 = 63, 63 × 5 = 315, 315 × 3 = 945, 945 × 1 = 945. So we need the unit digit of 2^945.
  3. Write out the unit digits of the powers of 2: - 2^1 = 2, unit digit 2 - 2^2 = 4, unit digit 4 - 2^3 = 8, unit digit 8 - 2^4 = 16, unit digit 6 - 2^5 = 32, unit digit 2 (the pattern starts again) The unit digits repeat in the cycle 2, 4, 8, 6. The cycle length is 4.

  4. Divide the exponent by the cycle length: 945 ÷ 4 = 236 with remainder 1, because 4 × 236 = 944 and 945 − 944 = 1.

  5. A remainder of 1 means the first position in the cycle. Remainder 1 gives 2, remainder 2 gives 4, remainder 3 gives 8, and remainder 0 gives 6.
  6. So the unit digit of 2^945, and therefore of (57242)^945, is 2.

Answer: 2

Option-wise explanation

  • a: correct — The exponent 945 leaves remainder 1 when divided by 4. This picks the first term of the cycle 2, 4, 8, 6, which is 2.
  • b: incorrect — A unit digit of 4 would need the exponent to leave remainder 2 when divided by 4, as in 2^2 or 2^6. 945 is odd, so it cannot leave remainder 2.
  • c: incorrect — A unit digit of 6 would need an exponent that is a multiple of 4. 945 is odd. The trap is assuming that a big product of many numbers must be divisible by 4, without noticing that every factor here is odd.
  • d: incorrect — A unit digit of 8 would need remainder 3 when the exponent is divided by 4. 945 leaves remainder 1. You get 8 by slipping on the remainder, for example by testing only 45 ÷ 4 and miscounting, or by mixing up the order of the cycle.

How to eliminate

Ignore 5724 and keep only the final 2. Every factor in the exponent is odd, so the exponent is odd. For a base ending in 2, an odd exponent can only give 2 or 8, and an even exponent can only give 4 or 6. That removes 4 and 6 at once. To choose between 2 and 8, you only need the exponent mod 4, and you do not have to multiply it out. Reduce each factor mod 4: 9 → 1, 7 → 3, 5 → 1, 3 → 3, 1 → 1. Then 1 × 3 × 1 × 3 × 1 = 9, which leaves remainder 1, so the answer is 2. Another check: for divisibility by 4, look at the last two digits of 945. 45 = 44 + 1, so the remainder is 1. This takes about 20–30 seconds. Attempt it first, since it is close to a guaranteed mark.

Know more

Cyclicity of unit digits

The unit digit of a^n depends only on the unit digit of a and on n mod (cycle length). Every digit repeats with a cycle length that divides 4.

Last digit Cycle of unit digits Length
0, 1, 5, 6 the digit itself 1
4 4, 6 2
9 9, 1 2
2 2, 4, 8, 6 4
3 3, 9, 7, 1 4
7 7, 9, 3, 1 4
8 8, 4, 2, 6 4

Method

  1. Keep only the last digit of the base.
  2. Find the exponent mod 4. Use the last two digits of the exponent, or reduce each factor mod 4 and multiply.
  3. Remainder r (1, 2 or 3) gives the r-th term of the cycle. Remainder 0 gives the 4th term, not the 1st.

Worked variant: What is the unit digit of (3847)^(6×5×3)?

  • The base ends in 7. The cycle is 7, 9, 3, 1.
  • The exponent is 90. 90 ÷ 4 = 22 remainder 2.
  • The 2nd term is 9, so the unit digit is 9.

Watch out: for a product such as 7^a × 8^b, find each unit digit separately, then multiply those digits and keep the last digit. When the exponent is a product of only odd numbers, it is odd. That alone rules out half the options for bases ending in 2, 3, 7 or 8.