Cyclicity and Remainders: The Faster Way to Solve JEE Main Problems
A Complete Guide with Shortcuts, Euler's Theorem & Previous Year Questions
Introduction
Finding remainders is a frequently tested topic in JEE Main, appearing in 1-2 questions every year. While the Binomial Theorem approach (splitting an into (k±1)n) is the standard method, Cyclicity offers a much faster "pattern-recognition" trick.
This technique is particularly powerful when:
- Finding the last digit (remainder when divided by 10)
- The binomial split is not obvious
- Dealing with tower powers like 323232
Part 1: What is Cyclicity?
Definition
Cyclicity is the property where the powers of a number follow a repeating pattern of remainders when divided by a specific divisor.
For any expression an÷k, the remainders will eventually repeat. The number of terms in one such repeating set is called the cycle length.
Visual Example: Powers of 2 mod 7
| Power | 2n | Remainder (mod 7) |
|---|
| 1 | 2 | 2 |
| 2 | 4 | 4 |
| 3 | 8 | 1 |
| 4 | 16 | 2 ← Pattern repeats |
| 5 | 32 | 4 |
| 6 | 64 | 1 |
Cycle: {2, 4, 1} with Cycle Length = 3
Part 2: The Unit Digit (Remainder mod 10)
When the divisor is 10, the cyclicity depends entirely on the last digit of the base.
Master Table: Last Digit Cyclicity
| Last Digit | Pattern (Powers 1, 2, 3, 4) | Cycle Length |
|---|
| 0 | 0, 0, 0, 0 | 1 |
| 1 | 1, 1, 1, 1 | 1 |
| 5 | 5, 5, 5, 5 | 1 |
| 6 | 6, 6, 6, 6 | 1 |
| 4 | 4, 6, 4, 6 | 2 |
| 9 | 9, 1, 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 |
Quick Memory Tricks
- Cycle of 1: Digits 0, 1, 5, 6 (always end in themselves)
- Cycle of 2: Digits 4 and 9
- 4: Odd power → 4, Even power → 6
- 9: Odd power → 9, Even power → 1
- Cycle of 4: Digits 2, 3, 7, 8 (REMEMBER: "2, 3, 7, 8 → Cycle 4, Wait!")
Part 3: Step-by-Step Cyclicity Technique
Algorithm to Find Anmodk
Step 1: Simplify the Base
Divide A by k and keep only the remainder.
Example: 37100÷5 becomes 2100÷5 (since 37mod5=2)
Step 2: Find the Pattern
Calculate a1,a2,a3,… divided by k until the remainder repeats.
Step 3: Identify Cycle Length (C)
Count how many steps it took to repeat.
Step 4: Reduce the Power
Find nmodC (let's call this r).
Step 5: Find the Answer
The remainder is the r-th term in your pattern.
Important: If r=0, take the last term of the cycle.
Part 4: Worked Examples
Example 1: Basic Cyclicity
Problem: Find the last digit of 7222
Solution:
- Last digit of base = 7 → Cycle of 4
- Pattern: 7, 9, 3, 1
- 222mod4=2
- Answer: 9 (2nd term in pattern)
Example 2: Tower Powers - 323232÷7
Step 1: Simplify base: 32mod7=4
So we need 4(3232)mod7
Step 2: Find pattern of 4nmod7:
- 41mod7=4
- 42mod7=16mod7=2
- 43mod7=64mod7=1
- 44mod7=4 ← Repeats
Step 3: Cycle = {4, 2, 1}, Length C=3
Step 4: Find 3232mod3
Using Binomial: 32=33−1
3232=(33−1)32≡(−1)32≡1(mod3)
Step 5: Position 1 in cycle {4, 2, 1} → Answer: 4
Example 3: Last Two Digits (mod 100)
Problem: Find the last two digits of 7100
Solution:
For mod 100, we use ϕ(100)=100×(1−21)×(1−51)=40
Since gcd(7,100)=1, by Euler's theorem: 740≡1(mod100)
100=40×2+20
7100=(740)2×720≡1×720(mod100)
Now calculate 720mod100:
- 72=49
- 74=2401≡1(mod100)
Wait, this means cycle is 4!
720=(74)5≡15=1(mod100)
Answer: 01 (last two digits)
Part 5: Euler's Totient Theorem (Advanced Shortcut)
The Power Move
When gcd(a,k)=1 (coprime), you can skip finding the pattern manually:
aϕ(k)≡1(modk)
where ϕ(k) is Euler's Totient Function.
Calculating ϕ(k)
If k=p1a1⋅p2a2⋅…⋅pnan, then:
ϕ(k)=k⋅(1−p11)⋅(1−p21)⋅…⋅(1−pn1)
Quick Reference Table
| Divisor (k) | Prime Factorization | ϕ(k) |
|---|
| 7 (prime) | 7 | 6 |
| 9 | 32 | 6 |
| 10 | 2×5 | 4 |
| 11 (prime) | 11 | 10 |
| 12 | 22×3 | 4 |
| 13 (prime) | 13 | 12 |
| 21 | 3×7 | 12 |
| 100 | 22×52 | 40 |
Fermat's Little Theorem (Special Case)
For prime p: ϕ(p)=p−1
ap−1≡1(modp)
Part 6: Binomial Theorem for Remainders
When an can be written as (k±1)n for some multiple k of the divisor:
Key Formulas
(km+1)n≡1(modm)
(km−1)n≡(−1)n(modm)
(km+r)n≡rn(modm)
When to Use Binomial vs Cyclicity
| Situation | Best Method |
|---|
| Base close to divisor multiple | Binomial |
| Finding last digit (mod 10) | Cyclicity |
| Tower powers (abc) | Cyclicity |
| Large power, prime divisor | Euler/Fermat |
| Base and divisor share factors | Cyclicity + careful analysis |
Part 7: JEE Main Previous Year Questions (PYQs)
PYQ 1: JEE Main 2025 (7th April)
Question: The remainder when ((64)64)64 is divided by 7 is equal to _______.
Solution:
Method 1: Cyclicity
64mod7=1
Therefore: ((64)64)64≡(164)64=164=1(mod7)
Answer: 1
PYQ 2: JEE Main 2024 (9th April)
Question: The remainder when 4282024 is divided by 21 is _______.
Solution:
Method: Binomial Theorem
428=420+8=21×20+8
4282024≡82024(mod21)
Now find 82024mod21:
Using ϕ(21)=ϕ(3×7)=2×6=12
Since gcd(8,21)=1: 812≡1(mod21)
2024=12×168+8
82024=(812)168×88≡1×88(mod21)
Calculate 88mod21:
- 82=64=63+1≡1(mod21)
Therefore: 88=(82)4≡14=1(mod21)
Answer: 1
PYQ 3: JEE Main 2024 (29th Jan)
Question: Remainder when 643232 is divided by 9 is equal to _______.
Solution:
64mod9=1 (since 64=63+1=7×9+1)
643232≡13232=1(mod9)
Answer: 1
PYQ 4: JEE Main 2023 (Feb)
Question: The remainder when 19200+23200 is divided by 49 is _______.
Solution:
Note: 19=21−2 and 23=21+2
19200+23200=(21−2)200+(21+2)200
When we expand using binomial theorem, odd powers of 2 cancel:
=2[200C0⋅21200+200C2⋅21198⋅4+…+200C200⋅2200]
All terms with 21k where k≥2 are divisible by 49=21×2+7.
Actually, let's be more careful. 49=72.
19≡−2(mod7) and 23≡2(mod7)
19200+23200≡(−2)200+2200=2⋅2200(mod7)
By Fermat: 26≡1(mod7)
200=6×33+2, so 2200≡22=4(mod7)
2⋅4=8≡1(mod7)
For mod 49, use (21±2)200:
The answer involves careful binomial expansion mod 49.
Answer: 18
PYQ 5: JEE Main 2022
Question: The remainder when (11)1011+(1011)11 is divided by 9 is:
(a) 1 (b) 4 (c) 6 (d) 8
Solution:
For 111011mod9:
11mod9=2
Find cycle of 2nmod9: 2, 4, 8, 7, 5, 1 → Cycle length = 6
1011mod6=3
111011≡23=8(mod9)
For 101111mod9:
1011mod9=1+0+1+1=3
32=9≡0(mod9)
So 311=32×39≡0(mod9)
Total: 8+0=8(mod9)
Answer: (d) 8
PYQ 6: JEE Main 2023
Question: The remainder when (2023)2023 is divided by 35 is _______.
Solution:
2023=35×57+28, so 2023≡28(mod35)
We need 282023mod35
ϕ(35)=ϕ(5×7)=4×6=24
Since gcd(28,35)=7=1, we can't directly apply Euler's theorem.
Use CRT (Chinese Remainder Theorem):
Mod 5: 28≡3(mod5)
- 34≡1(mod5) (Fermat)
- 2023=4×505+3
- 32023≡33=27≡2(mod5)
Mod 7: 28≡0(mod7)
- 282023≡0(mod7)
Find x such that x≡2(mod5) and x≡0(mod7)
x=7k where 7k≡2(mod5)
2k≡2(mod5)
k≡1(mod5)
k=1 gives x=7
Answer: 7
PYQ 7: AIEEE 2009
Question: The remainder left out when 82n−(62)2n+1 is divided by 9 is:
(a) 7 (b) 8 (c) 0 (d) 2
Solution:
8=9−1, so 82n=(9−1)2n≡(−1)2n=1(mod9)
62=63−1=9×7−1, so 622n+1≡(−1)2n+1=−1(mod9)
82n−622n+1≡1−(−1)=2(mod9)
Answer: (d) 2
PYQ 8: JEE Main 2023
Question: Let the number (22)2022+(2022)22 leave remainder α when divided by 3 and β when divided by 7. Then (α2+β2) is equal to:
Solution:
Finding α (mod 3):
22≡1(mod3) → 222022≡1(mod3)
2022≡0(mod3) → 202222≡0(mod3)
α=1+0=1
Finding β (mod 7):
22≡1(mod7) → 222022≡1(mod7)
2022≡6≡−1(mod7) → 202222≡(−1)22=1(mod7)
β=1+1=2
Answer: α2+β2=1+4=5
PYQ 9: JEE Main 2021
Question: If {p} denotes the fractional part of p, then {83200} is equal to:
Solution:
We need 3200mod8
32=9≡1(mod8)
3200=(32)100≡1100=1(mod8)
Fractional part = 81
Answer: 81
Part 8: Practice Problems
Level 1: Basic
- Find the last digit of 3999
- Find the remainder when 750 is divided by 11
- What is 2100mod5?
Level 2: Intermediate
- Find the remainder when 17256 is divided by 17
- Find the last two digits of 3100
- Find 132023mod21
Level 3: Advanced (JEE Level)
- Find the remainder when 777 is divided by 10
- Find the remainder when 22023+32023 is divided by 5
- If 5075−2575 is divided by 13, find the remainder
Part 9: Quick Revision Formulas
Box 1: Unit Digit Rules
Last digit 0,1,5,6 → Always same
Last digit 4,9 → Cycle of 2
Last digit 2,3,7,8 → Cycle of 4
Box 2: Euler's Theorem
If gcd(a,k) = 1:
a^φ(k) ≡ 1 (mod k)
For prime p:
a^(p-1) ≡ 1 (mod p)
Box 3: Binomial Shortcuts
(km + 1)^n ≡ 1 (mod m)
(km - 1)^n ≡ (-1)^n (mod m)
Box 4: Common φ Values
φ(p) = p-1 (p prime)
φ(p^k) = p^(k-1)(p-1)
φ(mn) = φ(m)φ(n) if gcd(m,n)=1
Part 10: Summary & Strategy
When to Use Each Method
| Problem Type | Best Approach |
|---|
| Last digit only | Unit digit cyclicity table |
| Small divisor (< 20) | Direct cyclicity |
| Prime divisor | Fermat's Little Theorem |
| Composite divisor, coprime base | Euler's Theorem |
| Base = divisor ± small number | Binomial Theorem |
| Tower powers | Nested cyclicity |
| Non-coprime base and divisor | CRT or case analysis |
Common Mistakes to Avoid
- Forgetting to simplify the base first
- Using Euler when gcd ≠ 1
- Taking position 0 instead of last position in cycle
- Not checking if direct calculation is faster
Time-Saving Tips
- Memorize the unit digit table thoroughly
- Know ϕ values for common numbers (7, 9, 10, 11, 13)
- Practice tower power problems
- For JEE, most problems use cyclicity or simple binomial expansion
Master these techniques and you'll solve remainder problems in JEE Main within seconds! 🎯