There are 6 permutations of the digits 1, 2, and 3:
1
2
3
,
1
3
2
,
2
1
3
,
2
3
1
,
3
1
2
,
3
2
1
.
The sum of all these 6 numbers is divisible by 111.
Do all 3-digit numbers have this property in which the sum of all the permutations of its digits is divisible by 111?
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.
Your answer is not complete yet. There is also the case that we have less than 6 permutations.
Consider the question `is the sum divisible by 222?' The answer would be no. Look for example at 221. The permutations are 221, 212 and 122. The sum (555) is not divisible by 222.
Log in to reply
Then they would sum up to (if a=b, as in 221) 222a+111c. But then also, its divisible by 111. So, there's no clarification to be given. The reader should also do some work.
P.S- The question would have been interesting if it had asked for divisible by 222.
Log in to reply
It would be 222a+111c and not 222a+222c. That is the reason why it isn't always divisible by 222.
It would still have 6 permutations, each digit is it's own distinct number and you can't eliminate them just because they are equal to another of the permutations.
nicely explained!!
Yes, love the clear mathematical reasoning. I hope to get better at solving problems this way through daily participation on this site.
In regards to the question about dividing by 222: Doesn’t the proof tell us that the sum of the permutations is always divisible by 222 as well?
Log in to reply
This only works if all 3 digits are different. For instance, 122 has only three permutations, which add up to 555.
While messing round on my calculator it seemed that only consecutive number sets worked. I tried 8, 4, and 2 and it was not divisible by 11. I also tried 6, 4, and 2, it didn't work either. 4, 5, 6 did though. Am I messing up somewhere?
Log in to reply
yes.suppose, for 8,4 &2.
it will be= 8 4 2 + 8 2 4 + 4 8 2 + 4 2 8 + 2 8 4 + 2 4 8 = 3 1 0 8
now, 1 1 1 3 1 0 8 = 2 8
do this same for 6,4 &2.if any problem happens then let me know.
it's to divide by 111, not 11
It seems like the right answer
If it is a continuous 3 digits, what will the conclusion become?
The question is not well formed. All three digit numbers of the form 100a+10b+c is a subset of all three digit numbers. The question asked about all three digit numbers.
Log in to reply
Can you give an example of a 3-digit set that cannot be expressed in this form?
How bout 000?
Log in to reply
If you divide that by 111 then you get 0, by my calculation.
This is the right idea, but you have missed the cases when some of the digits are the same. In this case, there aren't six permutations.
Let A, B and C be the three numbers. Out of the six possible permutations ABC, ACB, BAC, BCA, CAB, CBA, the sum of the hundreds, tens and one are all 2A+2B+2C. Let 2A+2B+2C be k. The sum of the permutations is then 100k+10k+1k = 111k which always is divisible by 111.
Beautifully concise solution.
If anyone would like a brute force proof, run this C#:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
|
pick any a , b , c because of both symmetry and each of the 3 numbers appear twice at each digit the sum of the permutations would be 2 0 0 ( a + b + c ) + 2 0 ( a + b + c ) + 2 ( a + b + c ) = 2 2 2 ( a + b + c )
For 3 digit numbers where digits are not repeated we have total 6 permutations and the sum of all such permutations will be divisible by 222 therefore also divisible by 111. For 3 digit numbers where 1 digits is repeated like abb. The sum of permutations (abb ,bab ,bba ) will be 111(a+2b) which is divisible by 111. For 3 digit numbers aaa =a*111,it is obviously divisible by 111 . So this follows for all types of 3 digit numbers .
Let l, m, n be the 3 digits of the number. Then sum of permutations is
l | m | n |
l | n | m |
m | l | n |
m | n | l |
n | m | l |
n | l | m |
each column summation will result into 2 x ( l + m + n) .
Let 2 x ( l + m + n ) = k
then the summation is,
= 100 k +10 k + k
= (100 + 10 + 1) k
= 111 k
And 111 k is divisible by 111. :)
No matter how many digits the number has: 1 2 3 4 5 Inverse it: 5 4 3 2 1 And add them one by one : 6 6 6 6 6 You will always get a long one made of a specific number, which is obviously divisible by 11111, Another example: 4213 +1342 =5555
We are making a permutation, so on every decimal position we will have the same set of numbers occurring every time.
Let's say the sum over each position is n.
We have then 100n+10n+1n = 111n, which is always divisible by 111 :-)
Yes, 111 is factor of sum of all permutations of any 3-digit numbers because 111 is the factor of the sum derived from units.
Let's assume sum of three numbers A,B and C is X => X = A+B+C Now sum of all permutations should contain Summation of X twice at each digit place ex.
100s | 10s | 1s |
A | B | C |
A | C | B |
B | A | C |
B | C | A |
C | A | B |
C | B | A |
100*(A+A+B+B+C+C) | 10*(A+A+B+B+C+C) | 1*(A+A+B+B+C+C) |
100*(2A+2B+2C) | 10*(2A+2B+2C) | 1*(2A+2B+2C) |
100 (2 (A+B+C) | 10 (2 (A+B+C) | 1 (2 (A+B+C) |
100 (2 X) | 10*(2X) | 1*(2X) |
SUM of all Permutations = 100 (2X)+10 (2X)+1*(2X) = 2X(100+10+1) = 111 (2X) =>
Resultant sum always going to have 111 as a factor so it is TRUE that all 3-digit numbers have this property in which the sum of all the permutations of its digits is divisible by 111
Any number which has sum of its digits as 3 will always be divisible by 3 and when we add 3 different numbers they are divisible by 3 so in this case 111 can divide a number which is falling in this category
Can't understand? how does this work for 567 for example - the sum of permutations I'd not divisible by 112
Problem Loading...
Note Loading...
Set Loading...
All 3 digit numbers are of the form 1 0 0 a + 1 0 b + c . The permutations can be:
1 0 0 a + 1 0 b + c , 1 0 0 a + 1 0 c + b , 1 0 0 b + 1 0 a + c , 1 0 0 b + 1 0 c + a , 1 0 0 c + 1 0 a + b , a n d 1 0 0 c + 1 0 b + a
Adding all these, we get: 2 2 2 a + 2 2 2 b + 2 2 2 c = 1 1 1 ( 2 a + 2 b + 2 c ) , which is obviously divisible by 111. ∴ All three digit numbers satisfy this property.