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 drdr−1…d0, where the dk are the digits. Then
n=10rdr+10r−1dr−1+…+10d1+d0=10(10r−1dr+10r−2dr−1+…+10d2+d1)+d0,
where the quantity in parentheses is an integer. Thus,
d0=n−10(10r−1dr+10r−2dr−1+…+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 0≤d0≤9, 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