Modular Arithmetic

Modular Arithmetic problems involve finding the remainder when a number is divided by another number. These problems test your understanding of divisibility, cyclic patterns, and modular properties.

10Worksheets
200+Practice Questions
IntermediateDifficulty
2-3 hoursHours to Master

Introduction to Modular Arithmetic

Modular Arithmetic problems involve finding the remainder when a number is divided by another number. These problems test your understanding of divisibility, cyclic patterns, and modular properties.

Prerequisites

Division concept Remainder concept Number patterns Basic arithmetic
Why This Matters: Modular Arithmetic problems appear in 1-2 questions in SSC CGL and Banking PO exams. They test number theory concepts.

How to Solve Modular Arithmetic Problems

1

Step 1: Identify the dividend (N) and divisor (m)

2

Step 2: The remainder is N mod m, where 0 ≤ remainder < m

3

Step 3: For large numbers, find patterns in remainders

4

Step 4: Use property: (a × b) mod m = [(a mod m) × (b mod m)] mod m

5

Step 5: Use property: (a + b) mod m = [(a mod m) + (b mod m)] mod m

6

Step 6: For powers, find the cycle length of remainders

7

Step 7: Use Euler's theorem or Fermat's theorem for large exponents

Pro Strategy: Find the cycle of remainders for smaller exponents. Use the cycle length to reduce large exponents. Use modular arithmetic properties to simplify calculations.

Example Problem

Example: Find the remainder when 2⁵⁰ is divided by 7. Solution: Step 1: Observe pattern of 2ⁿ mod 7: 2¹ mod 7 = 2 2² mod 7 = 4 2³ mod 7 = 1 2⁴ mod 7 = 2 Pattern repeats every 3 Step 2: 50 mod 3 = 2 Step 3: 2² mod 7 = 4 Answer: 4

Pro Tips & Tricks

  • For a mod m, subtract multiples of m from a
  • Negative numbers: a mod m = m - ((-a) mod m)
  • If a ≡ b (mod m), then a and b leave same remainder when divided by m
  • Cyclic pattern: remainders repeat after a certain period
  • For aⁿ mod m, find the order of a modulo m
  • For large exponents, use binary exponentiation

Shortcut Methods to Solve Faster

If a ≡ b (mod m), then a ± c ≡ b ± c (mod m)
If a ≡ b (mod m), then a × c ≡ b × c (mod m)
If a ≡ b (mod m), then aⁿ ≡ bⁿ (mod m)
For divisibility: a number is divisible by m if remainder = 0

Common Mistakes to Avoid

Getting remainder equal to divisor (remainder must be less than divisor)
Not handling negative remainders correctly
Assuming all remainders cycle with period m
Forgetting that remainder can be zero

Exam Importance

Modular Arithmetic is an important topic for various competitive exams. Here's how frequently it appears:

SSC CGL
1-2 questions
BANKING PO
1-2 questions
RAILWAYS RRB
1-2 questions
CAT
1-2 questions
INSURANCE
1-2 questions

Ready to Master Modular Arithmetic?

Start with Worksheet 1 and work your way up to expert level! Each worksheet includes:

20 practice questions
Detailed solutions
Step-by-step explanations
Start Practicing Now