1. Basic Remainder of Powers
- Formula: If
then
an≡rn(modm)Reduce the base first whenever possible.
- Example: Find the remainder when (17^5) is divided by 4. Solution:
Therefore:
175≡15≡1(mod4)2. Cyclicity of Powers
- Formula: Powers of a number modulo (m) often repeat in a cycle. If the cycle length is (k), reduce the exponent modulo (k).
If the remainder is 0, use the (k)-th term.
- Example: Find the remainder when (7^{103}) is divided by 10. Solution: Units digits of powers of 7:
Cycle length (=4).
103÷4=25 remainder 3So use the 3rd term:
33. Special Cyclicity — Powers Ending in 0, 1, 5, 6
- Formula:
for positive integers (n).
- Example: Find the unit digit of (6^{2026}). Solution: Every positive power of 6 ends in 6:
4. Euler’s Totient Theorem
- Formula: If
then:
aϕ(n)≡1(modn)where
ϕ(n)=np∣n∏(1−p1)- Example: Find the remainder when (3^{100}) is divided by 7. Solution: Since 7 is prime:
Now:
100=6(16)+4Therefore:
3100≡34=81≡4(mod7)5. Fermat’s Little Theorem
- Formula: If (p) is prime and (p\nmid a):
Equivalently:
ap≡a(modp)- Example: Find the remainder when (2^{100}) is divided by 7. Solution:
Since:
100=6(16)+4 2100≡24=16≡2(mod7)6. Binomial Theorem — Divisor ± 1 Method
- Formula: Write the base as:
Then:
(km±1)n≡(±1)n(modm)because all other binomial terms contain (m).
- Example: Find the remainder when (2^{10}) is divided by 3. Solution:
Hence:
210=(3−1)10All terms except the final ((-1)^{10}) are divisible by 3.
210≡1(mod3) 17. Binomial Expansion — General Remainder
- Formula:
Choose (a) as a multiple of the divisor so that most terms vanish modulo the divisor.
- Example: Find the remainder when (10^{5}+3^{5}) is divided by 7. Solution:
Therefore:
105+35≡35+35 =2(243)=486 486≡3(mod7)8. Remainder of Negative Powers/Base
- Formula: If
then:
an≡(−r)n(modm)Thus the sign depends on whether (n) is even or odd.
- Example: Find the remainder when (8^{15}) is divided by 9. Solution:
Therefore:
815≡(−1)15=−1≡8(mod9)9. Finding (\phi(n)) for Composite Modulus
- Formula: If
then:
ϕ(n)=n(1−p11)(1−p21)⋯(1−pk1)- Example: Find (\phi(20)). Solution:
10. Remainder of a Large Power with Composite Modulus
- Formula: If (\gcd(a,n)=1):
Reduce the exponent modulo (\phi(n)).
- Example: Find the remainder when (3^{100}) is divided by 20. Solution:
Since (\gcd(3,20)=1):
38≡1(mod20) 100=8(12)+4Thus:
3100≡34=81≡1(mod20)11. Modular Inverse
- Formula: The modular inverse of (a) modulo (m) is (a^{-1}) such that:
It exists when:
gcd(a,m)=1- Example: Find the inverse of 3 modulo 7. Solution: We need:
Since:
3×5=15≡1(mod7)Therefore:
3−1≡5(mod7)12. Chinese Remainder Theorem — Two Congruences
- Formula: For
where (\gcd(m,n)=1), there is a unique solution modulo (mn).
- Example: Find the smallest positive (x) such that
Solution: Numbers congruent to 2 modulo 3:
2,5,8,11,…Among these:
8≡3(mod5)Therefore:
x=813. Chinese Remainder Theorem — Three Congruences
- Formula: For pairwise coprime (m_1,m_2,m_3):
Solve two congruences first, then combine the result with the third.
- Example: Find the smallest positive (x) satisfying
Solution: Numbers satisfying (x\equiv3\pmod5):
3,8,13,18,23,…Check modulo 3:
8≡2(mod3)Also:
8≡0(mod2)not suitable. Next:
23≡2(mod3),23≡1(mod2)Therefore:
x=2314. Wilson’s Theorem
- Formula: For a prime (p):
- Example: Find the remainder when (6!) is divided by 7. Solution: Since 7 is prime:
15. Factorial Remainders Using Wilson’s Theorem
- Formula: For prime (p):
and:
(p−k)! can often be related to (p−1)!by cancelling factors modulo (p).
- Example: Find the remainder when (8!) is divided by 11. Solution:
By Wilson:
10!≡−1(mod11)Since:
10×9=90≡2(mod11)Thus:
2(8!)≡−1≡10(mod11)The inverse of 2 modulo 11 is 6:
8!≡10×6=60≡5(mod11)Advanced Variants
16. Chinese Remainder Theorem — General Construction
- Formula: For
let
M=m1m2⋯mk,Mi=miMand let (y_i) satisfy:
Miyi≡1(modmi).Then:
x≡∑aiMiyi(modM).- Example: Find the smallest (x) satisfying
Solution:
M=15,M1=5,M2=3Inverses:
5(2)≡1(mod3) 3(2)≡1(mod5)Therefore:
x=2(5)(2)+3(3)(2)=38 38≡8(mod15)Smallest positive solution:
\boxed8}17. Non-Coprime Modular Equations
- Formula: The system
has a solution only if:
a≡b(modgcd(m,n)).- Example: Find the smallest positive (x) satisfying
Solution:
gcd(4,6)=2and:
1≡5(mod2)so a solution exists.
Numbers (1\pmod4):
1,5,9,13,… 5≡5(mod6)Therefore:
x=518. Large Exponents with Multiple Modular Reductions
- Formula: Reduce the exponent using the smallest convenient cycle/order, or use:
when (\gcd(a,n)=1).
- Example: Find the remainder when (2^{1000}) is divided by 13. Solution:
Since:
1000=12(83)+4 21000≡24=16≡3(mod13)19. Remainder of a Sum/Difference of Large Powers
- Formula: If
then:
an±bn≡rn±sn(modm).- Example: Find the remainder when (5^{20}+7^{20}) is divided by 6. Solution:
Therefore:
520+720≡(−1)20+120 =1+1=2(mod6)20. Remainder of Polynomial Expressions
- Formula: If
replace (a) by (r) throughout any polynomial in (a).
- Example: Find the remainder when
is divided by 5. Solution:
34≡1(mod5)Thus:
310≡32=9≡4and:
35≡3Therefore:
4+2(3)+7=17 17≡2(mod5)Premium Content
Unlock Remainders Concepts and all premium lessons with a subscription.
From ₹199.99/year — See plans