Skip to main content
Back to Binomial Theorem
JEE Main 2021
Binomial Theorem
Binomial Theorem
Medium

Question

The remainder when (2021) 2023 is divided by 7 is :

Options

Solution

Key Concepts and Formulas:

This problem is a classic application of Modular Arithmetic, which deals with remainders after division. The goal is to find the remainder of a large number raised to a large power when divided by a smaller number.

The key principles we will use are:

  1. Congruence Relation: We say ab(modn)a \equiv b \pmod{n} if aa and bb have the same remainder when divided by nn. This also implies that aba-b is a multiple of nn.
  2. Properties of Congruence:
    • If ab(modn)a \equiv b \pmod{n}, then akbk(modn)a^k \equiv b^k \pmod{n} for any positive integer kk.
    • If ab(modn)a \equiv b \pmod{n} and cd(modn)c \equiv d \pmod{n}, then acbd(modn)ac \equiv bd \pmod{n}.
  3. Cyclicity of Remainders: Powers of an integer modulo nn exhibit a repeating (cyclic) pattern of remainders.
  4. Fermat's Little Theorem: If pp is a prime number, then for any integer aa not divisible by pp, we have ap11(modp)a^{p-1} \equiv 1 \pmod{p}. This theorem is very useful for finding the cycle length of powers modulo a prime number. In this problem, p=7p=7.

Step-by-Step Working with Explanations:

1. Simplify the Base of the Expression using Modular Arithmetic

The problem asks for the remainder when (2021)2023(2021)^{2023} is divided by 77. The first step is to simplify the base, 20212021, by finding its remainder when divided by 77.

  • What: Calculate 2021(mod7)2021 \pmod{7}.

  • Why: According to the congruence property, if we can reduce the base 20212021 to a smaller equivalent number (its remainder) modulo 77, then the entire expression (2021)2023(2021)^{2023} will have the same remainder as (simplified base)2023(mod7)^{2023} \pmod{7}. This drastically simplifies the calculation.

    Let's perform the division: 2021÷72021 \div 7 We find that 2021=7×288+52021 = 7 \times 288 + 5. This means that 20212021 leaves a remainder of 55 when divided by 77. In modular arithmetic notation: 20215(mod7)2021 \equiv 5 \pmod{7}

    Now, applying the property akbk(modn)a^k \equiv b^k \pmod{n} if ab(modn)a \equiv b \pmod{n}: (2021)2023(5)2023(mod7)(2021)^{2023} \equiv (5)^{2023} \pmod{7} So, our problem is now reduced to finding the remainder of 520235^{2023} when divided by 77.

2. Simplify the Exponent using Cyclicity and Fermat's Little Theorem

Our next task is to find the remainder of 520235^{2023} when divided by 77. We will use the concept of cyclic patterns of remainders and Fermat's Little Theorem.

  • What: Determine the effective exponent for 52023(mod7)5^{2023} \pmod{7}.

  • Why: When taking powers modulo a number, the remainders repeat in a cycle. Identifying this cycle allows us to reduce the large exponent to a much smaller, equivalent exponent, making the calculation manageable. Since 77 is a prime number and 55 is not divisible by 77, Fermat's Little Theorem provides an efficient way to find a key point in this cycle.

    According to Fermat's Little Theorem, for a prime p=7p=7 and an integer a=5a=5 (since 77 does not divide 55): 571561(mod7)5^{7-1} \equiv 5^6 \equiv 1 \pmod{7} This is a crucial result: it tells us that every 66 powers of 55 will produce a remainder of 11 when divided by 77. This means the cycle length for powers of 55 modulo 77 is 66.

    Now, we need to find out where 20232023 falls within this cycle of 66. We do this by finding the remainder of 20232023 when divided by 66: 2023÷62023 \div 6 We perform the division: 2023=6×337+12023 = 6 \times 337 + 1. This means that 20232023 is equivalent to 11 modulo 66: 20231(mod6)2023 \equiv 1 \pmod{6}

    We can now rewrite 520235^{2023} using this information: 52023=5(6×337)+1=(56)337×515^{2023} = 5^{(6 \times 337) + 1} = (5^6)^{337} \times 5^1 Substituting this back into our modular congruence: 52023(56)337×51(mod7)5^{2023} \equiv (5^6)^{337} \times 5^1 \pmod{7} From Fermat's Little Theorem, we know 561(mod7)5^6 \equiv 1 \pmod{7}: 52023(1)337×5(mod7)5^{2023} \equiv (1)^{337} \times 5 \pmod{7} Since any positive integer power of 11 is 11: 520231×5(mod7)5^{2023} \equiv 1 \times 5 \pmod{7} 520235(mod7)5^{2023} \equiv 5 \pmod{7}

3. Final Remainder

Combining the results from Step 1 and Step 2: From Step 1: (2021)202352023(mod7)(2021)^{2023} \equiv 5^{2023} \pmod{7} From Step 2: 520235(mod7)5^{2023} \equiv 5 \pmod{7}

Therefore, by transitivity: (2021)20235(mod7)(2021)^{2023} \equiv 5 \pmod{7} The remainder when (2021)2023(2021)^{2023} is divided by 77 is 55.

Tips and Common Mistakes to Avoid:

  • Always Simplify the Base First: The most common mistake is attempting to work with large numbers like 20212021 before reducing them modulo the divisor. Always reduce the base modulo the divisor first to simplify the problem.
  • Understanding Exponent Modulo Cycle Length: When ak(modn)a^k \pmod n is to be calculated, you need to calculate k(modcycle length)k \pmod{\text{cycle length}}. Do NOT calculate k(modn)k \pmod n. For prime moduli, Fermat's Little Theorem provides the cycle length (p1p-1).
  • Using Negative Remainders: Sometimes it's more convenient to use negative remainders. For example, 52(mod7)5 \equiv -2 \pmod{7}. Then 53(2)381(mod7)5^3 \equiv (-2)^3 \equiv -8 \equiv -1 \pmod{7}. This can sometimes make calculations quicker, as (1)even=1(-1)^{\text{even}} = 1 and (1)odd=1(-1)^{\text{odd}} = -1.
  • Binomial Theorem vs. Modular Arithmetic: While the binomial theorem can be applied (as in the original solution), using direct modular arithmetic properties and theorems like Fermat's Little Theorem is often more streamlined and less error-prone for these types of remainder problems, especially when the base is not very close to a multiple of the divisor.

Summary and Key Takeaway:

To find the remainder of a large power ABA^B when divided by NN:

  1. Reduce the base: Find RA=A(modN)R_A = A \pmod{N}. The problem becomes finding RAB(modN)R_A^B \pmod{N}.
  2. Find the cycle length: Determine the cycle length (LL) of the powers of RAR_A modulo NN. If NN is prime and RAR_A is not 0(modN)0 \pmod N, Fermat's Little Theorem states RAN11(modN)R_A^{N-1} \equiv 1 \pmod N, so the cycle length is a divisor of N1N-1.
  3. Reduce the exponent: Find RB=B(modL)R_B = B \pmod{L} (if RB=0R_B = 0, use LL). The problem becomes finding RARB(modN)R_A^{R_B} \pmod{N}.
  4. Calculate the final remainder: Compute the simplified power.

This systematic approach makes complex remainder problems accessible by breaking them down into manageable modular operations. The final remainder obtained through this method is 55.

Practice More Binomial Theorem Questions

View All Questions