Question

# A number consists of 7 digits whose sum is 59. Prove that the chances of it being divisible by 11 is $\dfrac{4}{21}$.

Hint: Divisibility rule of 11 for any number can be given as â€œany number will be divisible by â€˜11â€™ if the difference of sum of digits at odd places and sum of digits at even places is multiple of 11. Find the total number of cases for numbers with sum 59 and divisible by 11 to get probability.

Complete step by step solution:

We know that any given number will be divisible by 11 if the difference of sum of digits at odd places and sum of digits at even places is multiple of 11.
Hence, there will be 4 digits at odd places and 3 digits at even places in a seven digit number.

Here â€˜Oâ€™ represents odd places and â€˜Eâ€™ represents even places.
So, the sum of digits of a given number is 59.
Let us suppose the sum of digits at odd places be â€˜xâ€™ and the sum of digits at even places be â€˜yâ€™.
Hence, we can write an equation in terms of x and y as
x + y =59 â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦ (i)
As we know maximum sum possible for any 7 digit number would be $9\times 7=63\left( 9999999 \right).$
Hence, seven digit numbers for the sum 59 can be given by using following digits:
(i) 9,9,9,9,9,9,5
(ii) 9,9,9,9,9,8,6
(iii) 9,9,9,9,9,7,7
(iv) 9,9,9,9,8,8,7
(v) 9,9,9,8,8,8,8
Now, we can get a total of possible seven digit numbers of sum 59 by permuting / arranging the above given cases.
So, we know that we can arrange â€˜nâ€™ things of which ${{r}_{1}}$ of one type, ${{r}_{2}}$of another type, ${{r}_{3}}$ of another, and similarly ${{r}_{p}}$ is of another is give as $\dfrac{n!}{{{r}_{1}}!{{r}_{2}}!{{r}_{3}}!.......{{r}_{p}}!}.$
So, total number of permutations can be given as
\begin{align} & \left( i \right)\dfrac{7!}{6!}=7 \\ & \left( ii \right)\dfrac{7!}{5!}=7\times 6=42 \\ & \left( iii \right)\dfrac{7!}{5!2!}=21 \\ & \left( iv \right)\dfrac{7!}{4!2!}=105 \\ & \left( v \right)\dfrac{7!}{3!4!}=\dfrac{7\times 6\times 5}{6}=35 \\ \end{align}
Hence, total possible numbers of sum of digits 59 is given as = 7+42+21+105+35 = 210
So, the total number of sample spaces is 210.
Now, we can form another equation in â€˜xâ€™ and â€˜yâ€™ by using the property of divisibility rule of 11 such that
x â€“ y = 11k â€¦â€¦â€¦â€¦â€¦â€¦ (ii)
Where k = 0,1,2â€¦..
Now, we can solve equation (i) and (ii) to get â€˜xâ€™ and â€˜yâ€™.
So, adding equation (i) and (ii), we get
2x = 11k + 59
$x=\dfrac{11k+59}{2}$ â€¦â€¦â€¦â€¦â€¦â€¦â€¦ (iii)
And subtracting both equations (i) and (ii), we get
2y =59 â€“ 11k
$y=\dfrac{59-11k}{2}$ â€¦â€¦â€¦â€¦â€¦â€¦â€¦ (iv)
Now, we can observe that k should be an odd number starting from â€˜1â€™. As if we put the value of â€˜kâ€™ as an even number, and the sum or difference of even and odd (i.e., 59) will always be odd and then the values of â€˜xâ€™ and â€˜yâ€™ will be in fraction. And the sum of digits of any number can not be a fraction. Hence, put k = 1 in equation (iii) and (iv), we get
x = 35, y = 24.
Now, for formation of total sum of 24(sum of digits at even place) with three numbers, following combinations are possible for it:
(i) 8,8,8
(ii) 7,8,9
(iii) 6,9,9
Now, permutations of cases can be given as
\begin{align} & \left( i \right)\dfrac{3!}{3!}=1 \\ & \left( ii \right)3!=6 \\ & \left( iii \right)\dfrac{3!}{2!}=3 \\ \end{align}
Hence, for sum 24, total ways = 10
For formation of total sum of 35 with four numbers, the following conditions are possible:
(i) 9998
Hence, total permutations of above case $=\dfrac{4!}{3!}=4.$
Therefore, total number of arrangements of seven digits with sum at even place be 24 and sum â€˜35â€™ at odd place be

Number of permutations of ${{O}_{1}}{{O}_{2}}{{O}_{3}}{{O}_{4}}=4$
Number of permutations of ${{E}_{1}}{{E}_{2}}{{E}_{3}}=10$
Hence, total numbers of 7 digits with sum 59 and divisible by 11 can be given as $=4\times 10=40$
Now, we can put k = 3 to values of â€˜xâ€™ and â€˜yâ€™ in equation (iii) and (iv), so we get
x = 46 and y = 13
But the sum of four numbers can never be 46.
Hence, k can never take value except â€˜1â€™ as the sum of four digits will become higher and higher.
So, total number of seven digits with sum 59 which will be divisible by 11 = 40
Total numbers possible of 7 digits with sum 59 = 210
Probability that number is divisible by 11 is
$=\dfrac{40}{210}=\dfrac{4}{21}$
Hence, the given statement is proved.

Note: Donâ€™t miss any cases in these kinds of questions of permutations and combinations. Answers will be wrong by missing one number also, so be careful and check twice of all possibilities of cases for sums of digits of 59, 35 and 24.
Total number of permutations of 7 digits numbers with divisibility 11 is given by = number of arrangement of even places $\times$ number of arrangement of odd places
One can take the value of â€˜kâ€™ as only â€˜1â€™ because there is no possible value of k except â€˜1â€™, we can verify it as well. So be careful with that part of the solution as well.