Answer to Question #326604 in Combinatorics | Number Theory for Allen

Question #326604

Prove:

The following methods are useful for divisibility by 11.

  1. Get the difference of the sum of the digits in the odd places and the sum

of the digits in the even places. If the result is divisible by 11, then 11|N.


1
Expert's answer
2022-04-13T14:47:46-0400

Let's use some facts ('a mod z' means remainder of division of a by z):

"1)\\space10\\space mod\\space 11=-1\\\\\n2)\\space100\\space mod\\space 11=1"

Replacing terms with their remainders of division will not affect on the resulting remainder:

"3)\\space(a+b)_\\space mod\\space z=(a\\space mod\\space z+b)\\space mod\\space z\\\\\n=(a\\space mod\\space z+b\\space mod\\space z)\\space mod\\space z\\\\\n4)\\space(ab)\\space mod\\space z=(a\\space mod\\space z\\cdot b)\\space mod\\space z=\\\\\n=(a\\space mod\\space z\\cdot b\\space mod\\space z)\\space mod\\space z\\\\\n5)\\space(x^p)\\space mod\\space z=(x\\space mod\\space z)^p\\space mod\\space z"


Let "a_i" be digits of number n

n is divisible by 11 if and only if n mod 11 = 0

"n\\space mod\\space 11=\\\\\n(a_0+10a_1+10^2a_2+...+10^ka_k)\\space mod\\space 11=\\\\\n=(a_0+10^2a_2+...+10^{2p}a_{2p}+\\\\\n+10a_1+10^3a_3+...+10^{2q+1}a_{2q+1})\\space mod\\space 11=\\\\\n(a_0+...+(100\\space mod\\space 11)^pa_{2p}+\\\\\n(10\\space mod\\space 11)a_1+...\\\\\n+(10\\space mod\\space 11)^{2q+1}a_{2q+1})\\space mod\\space 11=\\\\\n(a_0+...+a_{2p}-a_1-...-a_{2q+1})\\space mod\\space 11\\\\\nn\\space mod\\space 11=0\\Lrarr\\\\\n\\Lrarr(a_0+...+a_{2p}-(a_1+...+a_{2q+1}))\\space mod\\space 11=0"


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS