All Exams Test series for 1 year @ ₹349 only
Question

If n is a natural number, then what is the number of distinct remainders of (1n + 2n) when divided by 4?

The correct answer is

2

Analyzing Remainders of $1^n + 2^n$ Divided by 4

We are asked to find the number of distinct remainders when the expression $\left(1^n + 2^n\right)$ is divided by 4, where $n$ is a natural number. A natural number $n$ can take values 1, 2, 3, 4, and so on.

Let's evaluate the expression $\left(1^n + 2^n\right)$ for the first few natural numbers and find the remainder when each result is divided by 4.

  • For $n = 1$: The expression is $1^1 + 2^1 = 1 + 2 = 3$. When 3 is divided by 4, the remainder is 3.
  • For $n = 2$: The expression is $1^2 + 2^2 = 1 + 4 = 5$. When 5 is divided by 4, the remainder is 1 ($5 = 4 \times 1 + 1$).
  • For $n = 3$: The expression is $1^3 + 2^3 = 1 + 8 = 9$. When 9 is divided by 4, the remainder is 1 ($9 = 4 \times 2 + 1$).
  • For $n = 4$: The expression is $1^4 + 2^4 = 1 + 16 = 17$. When 17 is divided by 4, the remainder is 1 ($17 = 4 \times 4 + 1$).

Let's observe the terms $1^n$ and $2^n$ separately when divided by 4.

  • The term $1^n$ is always 1 for any natural number $n$. So, $1^n \pmod{4}$ is always 1.
  • The term $2^n$:
    • For $n = 1$, $2^1 = 2$. $2 \pmod{4} = 2$.
    • For $n = 2$, $2^2 = 4$. $4 \pmod{4} = 0$.
    • For $n = 3$, $2^3 = 8$. $8 \pmod{4} = 0$.
    • For $n = 4$, $2^4 = 16$. $16 \pmod{4} = 0$.

For $n \ge 2$, $2^n$ contains a factor of $2^2 = 4$. Thus, for $n \ge 2$, $2^n$ is divisible by 4, which means $2^n \pmod{4} = 0$.

Now let's consider the sum $\left(1^n + 2^n\right) \pmod{4}$ based on the value of $n$:

  • When $n = 1$: $\left(1^1 + 2^1\right) \pmod{4} = (1 + 2) \pmod{4} = 3 \pmod{4} = 3$.
  • When $n \ge 2$: $\left(1^n + 2^n\right) \pmod{4} = (1^n \pmod{4} + 2^n \pmod{4}) \pmod{4}$. Since $1^n \pmod{4} = 1$ and for $n \ge 2$, $2^n \pmod{4} = 0$, the expression becomes $(1 + 0) \pmod{4} = 1 \pmod{4} = 1$.

So, the possible remainders of $\left(1^n + 2^n\right)$ when divided by 4 are 3 (when $n=1$) and 1 (when $n \ge 2$).

Let's summarize the results in a table:

Value of $n$ $1^n + 2^n$ Remainder when divided by 4
$n = 1$ $1^1 + 2^1 = 3$ 3
$n = 2$ $1^2 + 2^2 = 5$ 1
$n = 3$ $1^3 + 2^3 = 9$ 1
$n \ge 2$ $1 + 2^n$ 1

The distinct remainders we found are 3 and 1. There are exactly two distinct remainders.

Revision Table: Analyzing Number Remainders

Concept Description Key Point
Natural Numbers ($n$) Set of positive integers starting from 1 ($1, 2, 3, \dots$) The behavior of the expression changes based on $n$'s value.
Remainder (Modulo Operation) The value left over when one number is divided by another. $a \pmod{m}$ is the remainder when $a$ is divided by $m$. We need to find the distinct values of $(1^n + 2^n) \pmod{4}$.
Properties of Modulo $(a+b) \pmod{m} = (a \pmod{m} + b \pmod{m}) \pmod{m}$ Used to analyze $(1^n + 2^n) \pmod{4}$ by looking at $1^n \pmod{4}$ and $2^n \pmod{4}$ separately.

Additional Information: Understanding Modular Arithmetic for Remainders

Modular arithmetic is a system of arithmetic for integers, where numbers "wrap around" after reaching a certain value, called the modulus. The remainder is the result of the modulo operation.

  • For example, $7 \pmod{3} = 1$, because $7 = 2 \times 3 + 1$.
  • In this problem, the modulus is 4. We are interested in the possible values of $(1^n + 2^n) \pmod{4}$. The possible remainders when dividing by 4 are 0, 1, 2, or 3.
  • The behavior of $2^n \pmod{4}$ changes significantly between $n=1$ and $n \ge 2$. This is because $2^1 = 2$, which is not divisible by 4, but $2^n$ for $n \ge 2$ has $2^2=4$ as a factor, making it divisible by 4.
  • $1^n$ is always 1, so $1^n \pmod{4}$ is always 1, regardless of the natural number $n$.

By analyzing the expression for different ranges of $n$ (specifically $n=1$ and $n \ge 2$), we could determine all the possible remainder values.

Was this answer helpful?

Similar Questions

  1. P and Q walk along a circular track. They start at 5:00 a.m. from the same point in opposite directions. P walks at an average speed of 5 rounds per hour and Q walks at an average speed of 3 rounds per hour.
    How many times will they cross each other between 5:20 a.m. and 7:00 a.m.?

  2. A set (X) of 20 pipes can fill 70% of a tank in 14 minutes. Another set (Y) of 10 pipes fills 3/8 of the tank in 6 minutes. A third set (Z) of 16 pipes can empty half of the tank in 20 minutes. If half of the pipes of set X are closed and only half of the pipes of set Y are open, then how long will it take to fill 50% of the tank, if all pipes of set Z are open?

  3. The 5-digit number PQRST (all distinct digits) is such that T ≠ 0, P is thrice T. S is greater than Q by 4, while Q is greater than R by 3. How many such 5-digit numbers are possible?

  4. X can complete one-third of a certain work in 6 days, Y can complete one-third of the same work in 8 days and Z can complete three-fourth of the same work in 12 days. All of them work together for n days and then X and Z quit and Y alone finishes the remaining work in 82⁄3 days. What is n equal to?

  5. Consider a set of 11 numbers:

    Value-I = Minimum value of the average of the numbers of the set when they are consecutive integers ≥ -5.
    Value-II = Minimum value of the product of the numbers of the set when they are consecutive non-negative integers.

    Which one of the following is correct?

  6. The average of three numbers p, q and r is k. p is as much more than the average as q is less than the average. What is the value of r?

  7. What is X in the sequence:
    24, X, 12, 18, 36, 90 ?

  8. If P = +, Q = −, R = ×, S = ÷, then insert the proper notations between the successive numbers in the equation:
    60_15_3_20_4 = 20

  9. What is the remainder when 93 + 94 + 95 + 96 + ⋯ + 9100 is divided by 6?

  10. Let x be a real number between 0 and 1.
    Which of the following statements is/are correct?

    I. x² > x³
    II. x > √x

    select the correct answer using the code given below:


Important Questions from Miscellaneous Topics

  1. The cost of gold varies directly as the cube of its weight. A gold piece weighing 20 decigram costs ₹1,000. If it is broken into two pieces whose weights are in the ratio 2: 3, then what is the profit or loss incurred?
  2. The average age of the boys in a class is 12 years. The average age of the girls in the class is 11 years. There are 50% more girls than boys in the class. Which one of the following is the average age of the class (in years)?
  3. Consider the following figures : 

    Which of the following group(s) of figures fit/fits into the same class?
    1. (1,7,8)
    2. (4, 5, 6)
    3. (2, 3, 9)
    Select the correct answer using the code given below :

  4. What is clickjacking ?
  5. The National Council of Science Museums (NCSM), which is developing Science Centres/Museums/Innovation Hubs in India, works under
Need Expert Advice?
Upcoming Exams
UPSC IFoS
November 22, 2026
UPSC SO Steno
December 12, 2026
Test Series
IAS img
UPSC
UPSC CSE (IAS) 2027 Prelims Mock Test Series
666 Tests 3 Tests Free
2344 Attempts
4.8(221)
English, Hindi

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App