Skip to main content

Permutations MCQ: n is selected from the set 1,2,3,..., 100 and the…

JEE · Mathematics · Permutations

1 Medium +4 | -1 Analyzing
nn is selected from the set {1,2,3,…,100}\{1,2,3, \ldots, 100\} and the number 2n+3n+5n2^n+3^n+5^n is formed. Total number of ways of selecting nn, so that the formed number is divisible by 4, is equal to
View answer and explanation
Correct option: B
49
Option B (49) is correct because only even values of n make 2n+3n+5n2^n + 3^n + 5^n divisible by 4, and there are 49 even numbers between 2 and 100 inclusive.
Solution approach
  1. Correct Answer + Core Reason: 49. The number of ways is determined by finding the values of n for which the expression is divisible by 4.

    Step-by-Step Solution:

    Step 1: Analyze the expression for divisibility by 4: We want to find the number of nn in the set {1,2,3,…,100}\{1, 2, 3, \ldots, 100\} such that 2n+3n+5n2^n + 3^n + 5^n is divisible by 4.

    Step 2: Consider the case when n = 1: If n=1n=1, then 21+31+51=2+3+5=102^1 + 3^1 + 5^1 = 2 + 3 + 5 = 10, which is not divisible by 4.

    Step 3: Consider the case when n = 2: If n=2n=2, then 22+32+52=4+9+25=382^2 + 3^2 + 5^2 = 4 + 9 + 25 = 38, which is not divisible by 4.

    Step 4: Consider n > 1: If n>1n > 1, then 2n2^n is divisible by 4 if n≥2n \geq 2. So, we need to analyze 3n+5n3^n + 5^n modulo 4.

    Step 5: Analyze 3n3^n modulo 4: 3≡−1(mod4)3 \equiv -1 \pmod{4}, so 3n≡(−1)n(mod4)3^n \equiv (-1)^n \pmod{4}.\nIf nn is even, 3n≡1(mod4)3^n \equiv 1 \pmod{4}.\nIf nn is odd, 3n≡−1≡3(mod4)3^n \equiv -1 \equiv 3 \pmod{4}.

    Step 6: Analyze 5n5^n modulo 4: 5≡1(mod4)5 \equiv 1 \pmod{4}, so 5n≡1n≡1(mod4)5^n \equiv 1^n \equiv 1 \pmod{4} for all nn.

    Step 7: Analyze 2n+3n+5n2^n + 3^n + 5^n modulo 4: If n≥2n \geq 2, then 2n≡0(mod4)2^n \equiv 0 \pmod{4}.\nIf nn is even, 2n+3n+5n≡0+1+1≡2(mod4)2^n + 3^n + 5^n \equiv 0 + 1 + 1 \equiv 2 \pmod{4}.\nIf nn is odd, 2n+3n+5n≡0+3+1≡0(mod4)2^n + 3^n + 5^n \equiv 0 + 3 + 1 \equiv 0 \pmod{4}.

    Step 8: Determine the values of n for which the expression is divisible by 4: From the above analysis, 2n+3n+5n2^n + 3^n + 5^n is divisible by 4 only when nn is odd and n>1n > 1.

    Step 9: Count the number of odd integers in the set {1,2,3,…,100}\{1, 2, 3, \ldots, 100\}: There are 50 odd integers in this set: {1,3,5,…,99}\{1, 3, 5, \ldots, 99\}.

    Step 10: Exclude n = 1: Since 21+31+512^1 + 3^1 + 5^1 is not divisible by 4, we exclude n=1n=1. Therefore, the number of values of nn is 50−1=4950 - 1 = 49.

    Why other options are wrong:
    - Option A: 50 is incorrect because it includes n=1, for which the expression is not divisible by 4.
    - Option C: 48 is incorrect. It might be a result of miscounting the number of odd integers or making an error in the modular arithmetic.
    - Option D: None of these is incorrect because 49 is the correct answer.

    Key Concepts:
    - Divisibility Rules
    - Modular Arithmetic

    Memory Aids:
    - Remember the properties of modular arithmetic: (a+b)(modm)≡a(modm)+b(modm)(a + b) \pmod{m} \equiv a \pmod{m} + b \pmod{m} and (a⋅b)(modm)≡a(modm)⋅b(modm)(a \cdot b) \pmod{m} \equiv a \pmod{m} \cdot b \pmod{m}.

    Quick Tips:
    - Use modular arithmetic to simplify the analysis of divisibility.
    - Consider different cases (even and odd) when dealing with exponents.

More Questions from Permutations

Practice all chapter MCQs →
Type at least 2 characters or jump directly:

Save your learning progress

Sign in with a free account to save your practice answers and quiz results, then return to them when you revise.

Scan to install TopAll Pro

Point your Android or iPhone camera at this code to open TopAll Pro. Try 2 chapters and 25 AI credits free first.

Question image

Use + and − to zoom, arrow keys or drag to pan, Escape to close.