Question
Question: If 5 divides \({{6}^{n}}+{{9}^{m}}\), where \(m,n\in \left\\{ 1,2,3,\cdots ,50 \right\\}\), then the...
If 5 divides 6n+9m, where m,n\in \left\\{ 1,2,3,\cdots ,50 \right\\}, then the number of possible ordered pairs (m,n) is
[a] 1250
[b] 2500
[c] 625
[d] 500
Solution
Use the fact that 6=5+1 and 9=10−1 and hence prove that 6n+9m=(5+1)n+(10−1)m
Use the fact that (a+b)n=nC0an+nC1an−1b+⋯+nCn−1abn−1+nCnbn. Hence prove that 6n+9m is divisible by 5 if and only if (1)n+(−1)m is divisible by 5. Use the fact that whenever m is odd 1n+(−1)m is divisible by 5. Hence prove that the number of ordered pairs (m,n) is equal to the number of ways in which we can select m and n such that m is odd. Hence determine which of the options is correct.
Complete step-by-step solution:
We know that 6=5+1 and 9=10−1
Hence, we have
6n+9m=(5+1)n+(10−1)m
We know that (a+b)n=nC0an+nC1an−1b+⋯+nCn−1abn−1+nCnbn.(This is known as binomial theorem).
Hence, we have
6n+9m=nC0+nC15+nC252+⋯+nCn−15n−1+nCn5n+mC0(−1)m+mC1(−1)m−110+⋯+mCm−1(−1)10m−1+,mCm10m
All the terms containing powers of 5 and 10 are divisible 5.
Hence the remainder obtained on dividing 6n+9m by 5 is equal to nC0+mC0(−1)m
We know that nC0=1. Hence, we have
nC0+mC0(−1)m=1+(−1)m
The set \left\\{ 1+{{\left( -1 \right)}^{m}},m\in \mathbb{Z} \right\\} is equal to \left\\{ 2,0 \right\\} since there are only two possible 2( when m is even) and 0 (when m is odd).
Of these two numbers, only 0 is divisible by 5.
Hence, we have
6n+9m is divisible by 5 if and only if 1+(−1)m=0 i.e. m is odd.
Hence the number of pairs (m,n) such that 6n+9m is divisible by 5 is equal to the number of ways in which we can select m and n such that m is odd.
Here m,n\in \left\\{ 1,2,3,\cdots ,50 \right\\}
Of these 50 numbers 25 are odd.
Hence the number of ways in which m can be selected is 25 and the number of ways in which n can be selected is 50
Hence the number of ordered pairs (m,n) is 50×25=1250
Hence option [a] is correct.
Note: Alternative Solution: Using Congruences
We know that if a≡b(m), then m divides a−b
Since 5 divides 6-1, we have 6≡1(5)
Since 5 divides 9−(−1), we have 9≡−1(m)
We know that if a≡b(m), then ax≡bx(m)
Hence, we have
6n≡(1)n(5) and 9m≡(−1)m5
We know that if a≡b(m) and c≡d(m), then a+c≡(b+d)(m)
Hence, we have
6n+9m≡1+(−1)m(5)
We know that if m divides a, then a≡0(m)
Hence, we have
5 divides6n+9n if and only 1+(−1)m(5)
Since 1+{{\left( -1 \right)}^{m}}\in \left\\{ 0,2 \right\\} and of these only 0≡0(5)
Hence, we have
1+(−1)m=0⇒m is odd, which is the same as obtained above
Hence proceeding similarly as above, we get [a] as the correct answer.