Jitu20
VeritasKarishma
nalinnair
Integer n is a four digit number such that it is made exactly of 2 distinct digits. If n is divisible by 9, how many possible values does n have?
A. 59
B. 60
C. 61
D. 68
E. 69
Self-made. Suggestions welcome.
Regards,
Nalin
A 4 digit number made of exactly 2 distinct digits can be of 2 kinds:
- MMNN and its arrangements = 4!/2!*2! = 6
- MNNN and its arrangements = 4!/3! = 4
If the number is of the form MMNN, the sum M+N should add up to 9.
So the values can be 0,9 or 1,8... till 4,5.
But 0 is special because it cannot be in the thousands place. So the first digit will be 9 and the other 9 and two 0s will be arranged in 3!/2! = 3 ways only.
Total ways in this case = 3*1 + 6*4 = 27
If the number is of the form MNNN, M+3N should be divisible by 9. This will be divisible by 3, only if M is divisible by 3 too.
So M = 0, N = 3/6/9. Since 0 cannot be in the thousands place, there are only 3 arrangements in each case
M = 3, N = 2/5/8
M = 6, N = 1/4/7
M = 9, N = 0
If N = 0, there is only one arrangement 9000 possible.
M = 9, N = 3/6
Total ways in this case = 3*3 + 4*8 + 1 = 42Total number of ways = 27 + 42 = 69
Answer (E)
VeritasKarishma could you please explain the part in Red?
Two Cases:
1. MMNN and its arrangements (MNMN, NNMM etc)
We found 27 of these total cases.
2. MNNN and its arrangements (NNMN, NNNM etc)
M = 0, N = 3/6/9. Since 0 cannot be in the thousands place, there are only 3 arrangements in each case (NMNN, NNMN, NNNM)
So 3 arrangements for M= 0, N = 3; (3033, 3303, 3330)
3 arrangements for M= 0, N = 6;
3 arrangements for M= 0, N = 9;
M = 3, N = 2/5/8
There are 4 arrangements for each case.
M = 3, N = 2 gives 3222, 2322, 2232, 2223
Similarly 4 arrangements for M = 3, N = 5
4 arrangements for M = 3, N = 8
4 arrangements for M = 6, N = 1
4 arrangements for M = 6, N = 4
4 arrangements for M = 6, N = 7
4 arrangements for M = 9, N = 3
4 arrangements for M = 9, N = 6
If M = 9, N = 0, then only 1 arrangement is possible (9000.. rest 3 are not possible 0900, 0090 etc)
So total 42 arrangements here.
Total = 27 + 42