Friday, April 21, 2017

sequences and series - Is there a mathematical proof that shows all multiples of 5 either end with a 0 or 5?



I know that all multiples of 5 end up with a 0 or 5 as the last digit. But there are an infinite amount of numbers. Is there a way to formally prove that this is true for all numbers using variables?


Answer



Let n be a multiple of 5, say n=5m for some integer m. If m is even, there is an integer k such that m=2k, and then n=10k. If, on the other hand, m is odd, there is an integer k such that m=2k+1, and in that case n=10k+5. To complete the argument, we need only show that every multiple of 10 ends in 0.


Suppose that n is a multiple of 10, and suppose that when written in ordinary decimal notation, it is drdr1d0, where the dk are the digits. Then


n=10rdr+10r1dr1++10d1+d0=10(10r1dr+10r2dr1++10d2+d1)+d0,


where the quantity in parentheses is an integer. Thus,


d0=n10(10r1dr+10r2dr1++10d2+d1),


and if n is a multiple of 10, the righthand side of (1) is a multiple of 10. Thus, d0 is a multiple of 10. But 0d09, so d0=0. This proves that every multiple of 10 ends in 0 and hence that every multiple of 5 ends in 0 or 5.


No comments:

Post a Comment

analysis - Injection, making bijection

I have injection f:AB and I want to get bijection. Can I just resting codomain to f(A)? I know that every function i...