Solution
Related Formula
Modular arithmetic reductions for power cycles:
a ≡ b m ⇒ a^k ≡ b^k mCore Logic
Analyze condition p: (6^m + 9ⁿ) is divisible by 5. 6 ≡ 1 5 ⇒ 6^m ≡ 1^m ≡ 1 5. 9 ≡ -1 5 ⇒ 9ⁿ ≡ (-1)ⁿ 5. For the sum to be divisible by 5: 1 + (-1)ⁿ ≡ 0 5 ⇒ (-1)ⁿ = -1. This implies n must be an ODD integer.
Since m in 1, 2, , 50, m can be anything (50 choices). Since n must be odd in 1, , 50, n has 25 choices. p = 50 × 25 = 1250.
Step 1: Compute q
Analyze condition q: (m + n) is the square of a prime number. Max value of m+n = 50+50 = 100. Primes whose squares are ≤ 100: 2, 3, 5, 7. Their squares are 4, 9, 25, 49. So m+n can be 4, 9, 25, 49.
Match List-I with List-II:
| m+n=4 | m+n=9 | m+n=25 | m+n=49 | |
|---|---|---|---|---|
| No. of ways | 3 | 8 | 24 | 48 |
Explanation for counts: If m+n = S, and m, n ≥ 1, the number of ways is S-1 (since S ≤ 50). For S=4: 3 ways. For S=9: 8 ways. For S=25: 24 ways. For S=49: 48 ways. q = 3 + 8 + 24 + 48 = 83.
Step 2: Final Sum
p + q = 1250 + 83 = 1333Pattern Recognition
Modular exponentiation immediately shrinks large powers to ± 1. The sum m+n=S where 1 ≤ m,n ≤ N has exactly S-1 solutions if S ≤ N, allowing instant combinatorics tallying without manual counting.
Chapter Mix
Class 11 Maths: Permutations and Combinations