Michelle forms a 9-digit integer by arranging the digits 1, 2, 3, 4, 5, 6, 7, 8, 9 in random order.
What is the probability that this integer is divisible by 11?
If the probability can be expressed as b a for co-prime positive integers a and b , find the value of a + b .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
I did the same way, but missed the 2356 and 2456.
Can we find a way doing the problem of finding the 5or4 digit which add up to 17 by some other method instead of counting ........ Here it is fortunately easy but what with a bigger number say 20 ........??????
Log in to reply
I don't think there exists an easy way to do it. It's akin to partitions, which are hard to compute.
Michelle's number, N , is formed by taking a i ∈ { 1 , 2 , … , 9 } for i = 0 , 1 , … , 8 , with a i = a j if i = j . Let a 9 = 0 (for ease of notation in the line below).
Her number is then N = ∑ i = 0 9 1 0 i a i = ∑ j = 0 4 ( 1 0 2 j + 1 a 2 j + 1 + 1 0 2 j a 2 j ) = ∑ j = 0 4 1 0 0 j ( 1 0 a 2 j + 1 + a 2 j ) .
Since 1 0 0 = 1 (mod 11),
N = ∑ j = 0 4 ( 1 0 a 2 j + 1 + a 2 j ) (mod 11)
= 1 0 ∑ j = 0 3 a 2 j + 1 + ∑ j = 0 4 a 2 j .
This expression must be 0 (mod 11) if 11 divides N . The largest this value can be is 1 0 ( 9 + 8 + 7 + 6 ) + ( 5 + 4 + 3 + 2 + 1 ) = 3 1 5 . Other values can be found by decreasing the sum of the first group, { a 2 j + 1 } j = 0 3 , by 1 and increasing the sum of the second group, { a 2 j } j = 0 4 , by 1 (e.g. 1 0 ( 9 + 8 + 7 + 5 ) + ( 6 + 4 + 3 + 2 + 1 ) ), thus changing the value by − 1 0 + 1 = − 9 , down to the smallest possible value, 1 0 ( 1 + 2 + 3 + 4 ) + ( 5 + 6 + 7 + 8 + 9 ) = 1 3 5 .
So all possible values of N (mod 11) are 3 1 5 , 3 0 6 , 2 9 7 , 2 8 8 , … , 1 9 8 , 1 8 9 , … , 1 3 5 . Of these, only 297 and 198 are congruent to 0 mod 11.
In order for 1 0 ( ∑ j = 0 3 a 2 j + 1 ) + ( ∑ j = 0 4 a 2 j ) = 1 0 A + B = 2 9 7 and A + B = 1 + 2 + ⋯ + 8 + 9 = 4 5 , we must have A = 2 8 and B = 1 7 . There are only two ways ∑ j = 0 3 a 2 j + 1 can be 28: { a 2 j + 1 } j = 0 3 = { 9 , 8 , 7 , 4 } or { a 2 j + 1 } j = 0 3 = { 9 , 8 , 6 , 5 } .
In order for 1 0 ∑ j = 0 3 a 2 j + 1 + ∑ j = 0 4 a 2 j = 1 0 A + B = 1 8 9 and A + B = 1 + 2 + ⋯ + 8 + 9 = 4 5 , we must have A = 1 7 and B = 2 8 . There are nine possibilities of { a 2 j + 1 } j = 0 3 such that ∑ j = 0 3 a 2 j + 1 = 1 7 : { 1 , 2 , 5 , 9 } , { 1 , 2 , 6 , 8 } , { 1 , 3 , 4 , 9 } , { 1 , 3 , 5 , 8 } , { 1 , 3 , 6 , 7 } , { 1 , 4 , 5 , 7 } , { 2 , 3 , 4 , 8 } , { 2 , 3 , 5 , 7 } , { 2 , 4 , 5 , 6 } (I hope the order gives you some idea of how we know these are the only possibilities).
So there are 11 possible combinations of { a 2 j + 1 } j = 0 3 such that N = 0 (mod 11). There are ( 4 9 ) = 1 2 6 total combinations. Therefore the probability that 11 divides N is 1 2 6 1 1 .
This is my first time writing a solution, so feedback (on formatting, clarity of explanation, etc.) is welcome.
My method was similar to yours. I started with the divisibility rule for 11: N ≡ i = 0 ∑ n ( − 1 ) i a i ( m o d 1 1 ) , where N = i = 0 ∑ n a i ( 1 0 ) i .
Since N is a 9-digit number, there will be 5 positive numbers and 4 negative numbers when computing the sum to check for divisibility. This gives ( 5 9 ) = 1 2 6 combinations. I created an excel document that generated each of these combinations and checked them for divisibility by 11. It turned out there were 11 of them out of the 126.
Log in to reply
i also used the rule of divisibility by 11 in which is only multiple of 11 if the sum of a number in an even position less the sum of the number in a odd position must be a multiple of 11.unfornately, i got the wrong answer.I infered that,as the sum of digits among 1 to 9 is 45,the only to the of digits of even positions number less odd positions numbers be equal to a multiple of 11 it would be if the sum of even positions number be equal to 28 and the odds positions equal to 17. in that way ,there´s only 2 ways to arrange the number:5986 as the numbers in even positions and 12347 in odd positions,or 4987 in even positions and 65321 in odd positions.In the both cases,we have a 4! ways to arrange even numbers and 5! to arrange odd numbers.So for each couple of combinations we have 4!. 5!,the sum of cases as multiple of 11 would be 2.4!5! i thought the possibilities would be about the whole possibilities of ways to arrange those numbers, so i use 9! as the total number of possibilities and use it as denominator of 2.4!5! and find 1 above 63
For each quadruple of such numbers(there are 9 such),we will have 5 other numbers for filling the rest of the five places,so for each quadruple the number of numbers is, 4 ! × 5 ! hence the probability should be, 9 ! 9 × 4 ! × 5 ! = 1 4 1 ,why is this wrong?
Log in to reply
There are 11 quadruples that work. Two that add to 28 and nine that add to 17.
Generates all and filters off equals [and then check for MOD 11]. When 9! = 362880 is checked to be right, then the program must run correctly.
31680/ 362880 = [(2^6)(3^2)(5)(11)]/ [(2^7)(3^4)(5)(7)] = 11/ [(2)(3^2)(7)] = 11/ 126
11 + 126 = 137
Problem Loading...
Note Loading...
Set Loading...
A number is divisible by 11 if the result of alternatingly adding and subtracting them is divisible by 11. For instance, 182539467 is divisible by 11 because 1 − 8 + 2 − 5 + 3 − 9 + 4 − 6 + 7 = − 1 1 is.
Thus we wish to divide the digits 1 through 9 into a group of five and a group of four digits, such that ( sum of the five digits ) − ( sum of the four digits ) = multiple of 11 . The sum of the digits is 45. It is easy to see that our options are limited to 2 8 − 1 7 , 3 9 − 6 , and vice versa. There is no way to make four or five of the digits to add up to 6. Therefore we must consider the possible ways in which either f o u r or f i v e of the digits add up to 17. (The other group will automatically add up to 28.)
These are: 1 2 3 4 7 , 1 2 3 5 6 ; 1 2 5 9 , 1 2 6 8 , 1 3 4 9 , 1 3 5 8 , 1 3 6 7 , 1 4 5 7 , 2 3 4 8 , 2 3 5 7 , 2 4 5 6 . Thus there are 11 ways to distribute the digits over groups of four and five with the desired properties. Within each group, the digits can be placed in any order, so that there are 4 ! 5 ! arrangements for each group.
The probability is therefore 9 ! 1 1 ⋅ 4 ! 5 ! = 1 2 6 1 1 , making the answer equal to 1 3 7 .