1. LPU MCA Semester 1
  2. PEA515
  3. Unit 1

PEA515 · Unit 1: Number system and averages

Unit digit calculation and remainder theorem

30 practice questions · in the MTE and ETE syllabus

Key points

  • Reduce the exponent modulo the cycle length
  • Remainder 0 means the last digit of the cycle
  • Remainders of sums and products can be taken term by term
  • Look for a power that leaves remainder 1

The unit digit of a power follows a repeating cycle that depends only on the unit digit of the base.

Base ends inCycle of unit digitsLength
0, 1, 5, 6the same digit1
4, 94, 6 and 9, 12
22, 4, 8, 64
33, 9, 7, 14
77, 9, 3, 14
88, 4, 2, 64

Divide the exponent by the cycle length; a remainder of 0 means the last digit of the cycle. Example: 7^45, and 45 = 4 x 11 + 1, so the unit digit is 7.

Remainders: the remainder of a sum or product equals the sum or product of the remainders (reduced again). Example: remainder of 2^10 divided by 7: 2^3 = 8 leaves 1, and 10 = 3 x 3 + 1, so 2^10 leaves 2^1 = 2.

Exam trap: when the exponent leaves remainder 0, use the fourth term of the cycle, not the first.

Try two questions

Question 1 · Tier 2, Understand

Find the last digit of 32 x 20.

  1. 0
  2. 2
  3. 1
  4. 3
Show the answer

A. Multiply only the unit digits 2, 0 step by step, keeping the last digit: 0.

Why not B: Adds the unit digits instead of multiplying them.

Why not C: Slips by one when carrying while multiplying the units.

Why not D: Arithmetic slip in the final step.

Question 2 · Tier 3, Apply

What is the unit digit of 7^91?

  1. 7
  2. 4
  3. 3
  4. 2
Show the answer

C. Last digit 7 repeats in a cycle; power 91 sits at position 3 of that cycle: unit digit 3.

Why not A: Multiplies the last digit by the power instead of raising it.

Why not B: Arithmetic slip in the final step.

Why not D: Arithmetic slip in the final step.