Rule: Subtract 5 times the last digit from the rest of the number, if the result is divisible by 17 then the number is also divisible by 17.
How does this rule work? Please give the proof.
How does this rule work? Please give the proof. |
|||||||||||||||||||
|
|
Write your number $10a+b$. Then because 10 and 17 are relatively prime, $$17\mid a-5b \iff 17\mid 10a-50b \iff 17\mid 10a+b$$ The last equivalence is because $10a+b-(10a-50b) = 51b$ is always a multiple of 17. |
|||
|
|
|
Let $$n=\sum_{k=0}^N 10^k a_k$$ be the number we want to test for divisibility, where the $a_k$s are the digits in the decimal expansion of $n$. We form the second number $m$ by the process you describe, $$m = \sum_{k=1}^N 10^{k-1} a_k - 5 a_0 = \frac{n-a_0}{10}- 5 a_0 $$ Now suppose $17|m$. Then there exists a natural number $b$ such that $17b = m$. We then have $$ 17 b = \frac{n-a_0}{10}- 5 a_0 $$ $$ 10 * 17 b = n-a_0- 50 a_0 \implies n= 17(10b + 3a_0) $$ and so $n$ is divisible by 17. |
|||
|
|
|
10x+y will be divisible by an odd prime p iff a.p.x ~ b(10x+y) is divisible by p. Now by Euclid's GCD algorithm, we can find integers a,b such that a.p ~ b.10=1 where (p,10)=1. If p=17, by observation 3.17 - 5.10=1. So, 3.17.x-5(10x+y)=x-5y. If this is divisible by 17, so will be 10x+y. |
|||
|
|
|
$17 = 2^3 + 3^2$ the sum of the exponents of $2$ and $3$ is $(3 + 2)$ i.e. the sum of the exponents is $5$ Now a number can be expressed as $abcde$ i.e. $abcde = (10^4)a + (10^3)b + (10^2)c + (10^1)d + e$ remove the units digit from $abcde$ to get $$abcd = (10^3)a + (10^2)b + (10^1)c + d$$ Now, let $A = abcd - (3 + 2)(e)$ Assume $A$ is divisible by $17$ i.e. $A = abcd - (5)e = (17)k$ i.e. $abcde = (10)(abcd) + e$ i.e. $abcde = (10)((17)k + (5)e) + e$ i.e. $abcde = (170)k + (50)e + e$ i.e. $abcde = (17)(10)k + (51)e$ i.e. $abcde = (17)(10)k + (17)(3)e$ i.e. $abcde = (17)((10)k + (3)e)$ i.e. $abcde$ is indeed divisible by $17$ |
|||||||||||||
|
|
Write the original number as Assume |
|||
|
|