Ernesto G. answered 04/29/19
Knowledgeable and Effective Math Tutor
You can rewrite any number in our numerical system this way:
anan-1an-2....a0= 10nan+10n-1an-1+10n-2an-2 + ...+ 10a1 + a0=
=(9999....9*an+ 999....9*an-1+99....9*an-2 + ...+9a1 ) + (an+an-1+an-2 + ...+ a1 + a0)
So, basically we can separate any number in two sums, the first one is a multiple of nine and the second one is the sum of the digits of the numbers. Then it doesn't matter the order of the digits in the number, you'll obtain the same answer for the second sum, therefore when you divide by 9 you'll have the same remainder.
To show this with a numerical example:
571344= (99999*5+9999*7+999*1+99*3+9*4) + (5+7+1+3+4+4)
dividing both sides by 9 you get:
571344 / 9 = (11111*5 + 1111*7 +111*1 + 11*3+ 1*4) + (5+7+1+3+4+4) / 9
Conclusion: The remainder of the division by 9 depends only on the sum of the digits of the numbers, and the order doesn't matter.